diff options
author | Daniel Kahn Gillmor <[email protected]> | 2018-05-25 16:27:15 +0000 |
---|---|---|
committer | Daniel Kahn Gillmor <[email protected]> | 2018-05-25 16:44:42 +0000 |
commit | 3308d5e3f4e25dce5168c4a7cb2f545424c6d185 (patch) | |
tree | dc785bd910d2c1312c6d851c695f897a32b3239a /g10/gpg.c | |
parent | gpg: Hard fail on a missing MDC even for legacy algorithms. (diff) | |
download | gnupg-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |