aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/gpg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index ff6e59f60..c18edd0dd 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2216,7 +2216,8 @@ main (int argc, char **argv)
set_homedir (default_homedir ());
opt.passphrase_repeat = 1;
opt.emit_version = 1; /* Limit to the major number. */
- opt.additional_weak_digests = NULL;
+ opt.weak_digests = NULL;
+ additional_weak_digest("MD5");
/* Check whether we have a config file on the command line. */
orig_argc = argc;