~ubuntu-branches/ubuntu/precise/gnupg2/precise-proposed

« back to all changes in this revision

Viewing changes to g10/seskey.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-03-08 22:46:47 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090308224647-gq17gatcl71lrc2k
Tags: 2.0.11-1
* New upstream release. (Closes: #496663)
* debian/control: Make the description a little more distinctive than
  gnupg v1's. Thanks Jari Aalto. (Closes: #496323)

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
      byte *asn;
266
266
      size_t asnlen;
267
267
 
268
 
      rc = gcry_md_test_algo (hash_algo);
269
 
      if (!rc)
270
 
        rc = gcry_md_algo_info (hash_algo, GCRYCTL_GET_ASNOID, NULL, &asnlen);
 
268
      rc = gcry_md_algo_info (hash_algo, GCRYCTL_GET_ASNOID, NULL, &asnlen);
271
269
      if (rc)
272
 
        log_fatal ("can't get OID of algo %d: %s\n",
 
270
        log_fatal ("can't get OID of digest algorithm %d: %s\n",
273
271
                   hash_algo, gpg_strerror (rc));
274
272
      asn = xmalloc (asnlen);
275
273
      if ( gcry_md_algo_info (hash_algo, GCRYCTL_GET_ASNOID, asn, &asnlen) )