gpg: Disable an MD5 workaround for pgp2 by default.
authorWerner Koch <wk@gnupg.org>
Tue, 12 Aug 2014 08:36:30 +0000 (10:36 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 14 Aug 2014 09:28:11 +0000 (11:28 +0200)
commitae29b52119aa419989b773b2d6abb6e287dfc81b
treeb651d2b63dfd0fd2d5b85d5be4ac2ad2b94fe0c4
parent2b8d8369d59249b89526c18c5ac276e6445dc35e
gpg: Disable an MD5 workaround for pgp2 by default.

* g10/sig-check.c (do_check): Move some code to ...
* g10/misc.c (print_md5_rejected_note): new function.
* g10/mainproc.c (proc_tree, proc_plaintext): Enable MD5 workaround
only if option --allow-weak-digest-algos is used.
g10/main.h
g10/mainproc.c
g10/misc.c
g10/sig-check.c