~ubuntu-branches/ubuntu/hardy/gnupg2/hardy-security

« back to all changes in this revision

Viewing changes to g10/misc.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia, Michael Bienia, Kees Cook
  • Date: 2006-12-07 00:28:23 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20061207002823-0i7ittrpmsm1nv0i
Tags: 2.0.1-0ubuntu1
[ Michael Bienia ]
* New upstream version.
* Remaining changes:
  - Remove libpcsclite-dev, libopensc2-dev build dependencies (they are in
    universe).
* g10/encr-data.c: remotely controllable function pointer (CVE-2006-6235)
* debian/control: add libcurl3-gnutls-dev to build-depends 
  (Closes Ubuntu: #62864)

[ Kees Cook ]
* debian/rules: include doc/ files as done with gnupg

Show diffs side-by-side

added added

removed removed

Lines of Context:
297
297
{
298
298
  u16 csum;
299
299
  byte *buffer;
300
 
  unsigned int nbytes;
 
300
  size_t nbytes;
301
301
 
302
302
  if ( gcry_mpi_print (GCRYMPI_FMT_PGP, NULL, 0, &nbytes, a) )
303
303
    BUG ();
426
426
int
427
427
openpgp_pk_test_algo2( int algo, unsigned int use )
428
428
{
429
 
  int use_buf = use;
 
429
  size_t use_buf = use;
430
430
 
431
431
  if (algo == GCRY_PK_ELG_E)
432
432
    algo = GCRY_PK_ELG;