aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-08-12 08:36:30 +0000
committerWerner Koch <[email protected]>2014-08-14 09:28:11 +0000
commitae29b52119aa419989b773b2d6abb6e287dfc81b (patch)
treeb651d2b63dfd0fd2d5b85d5be4ac2ad2b94fe0c4 /g10/main.h
parentgpg: Remove options --pgp2 and --rfc1991. (diff)
downloadgnupg-ae29b52119aa419989b773b2d6abb6e287dfc81b.tar.gz
gnupg-ae29b52119aa419989b773b2d6abb6e287dfc81b.zip
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.
Diffstat (limited to '')
-rw-r--r--g10/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h
index 4ec4bbfd0..8fe03ac43 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -74,6 +74,7 @@ extern int g10_errors_seen;
void print_pubkey_algo_note (pubkey_algo_t algo);
void print_cipher_algo_note (cipher_algo_t algo);
void print_digest_algo_note (digest_algo_t algo);
+void print_md5_rejected_note (void);
/*-- armor.c --*/
char *make_radix64_string( const byte *data, size_t len );