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

« back to all changes in this revision

Viewing changes to sm/verify.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Urlichs
  • Date: 2006-01-24 04:31:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060124043142-pbg192or6qxv3yk2
Tags: 1.9.20-1
* New Upstream version. Closes:#306890,#344530
  * Closes:#320490: gpg-protect-tool fails to decrypt PKCS-12 files 
* Depend on libopensc2-dev, not -1-. Closes:#348106

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
            {
180
180
              algo = gcry_md_map_name (algoid);
181
181
              if (!algo)
182
 
                log_error ("unknown hash algorithm `%s'\n",
183
 
                           algoid? algoid:"?");
 
182
                {
 
183
                  log_error ("unknown hash algorithm `%s'\n",
 
184
                             algoid? algoid:"?");
 
185
                  if (algoid
 
186
                      && (  !strcmp (algoid, "1.2.840.113549.1.1.2")
 
187
                          ||!strcmp (algoid, "1.2.840.113549.2.2")))
 
188
                    log_info (_("(this is the MD2 algorithm)\n"));
 
189
                }
184
190
              else
185
191
                gcry_md_enable (data_md, algo);
186
192
            }