aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2018-05-25 16:27:15 +0000
committerDaniel Kahn Gillmor <[email protected]>2018-05-25 16:44:42 +0000
commit3308d5e3f4e25dce5168c4a7cb2f545424c6d185 (patch)
treedc785bd910d2c1312c6d851c695f897a32b3239a /g10/gpg.c
parentgpg: Hard fail on a missing MDC even for legacy algorithms. (diff)
downloadgnupg-fix-T3995.tar.gz
gnupg-fix-T3995.zip
g10: Make force-mdc the default.fix-T3995dkg/fix-T3995
* g10/gpg.c: (main) initialize opt.force_mdc to 1. * doc/gpg.texi: update documentation about --force-mdc -- GnuPG-bug-id: 3995 Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index e718fe45e..4fc087451 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2443,6 +2443,7 @@ main (int argc, char **argv)
opt.passphrase_repeat = 1;
opt.emit_version = 0;
opt.weak_digests = NULL;
+ opt.force_mdc = 1;
/* Check whether we have a config file on the command line. */
orig_argc = argc;