diff options
author | Werner Koch <wk@gnupg.org> | 2018-05-15 12:19:40 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2018-05-15 12:20:04 +0200 |
commit | 96350c5d5afcbc7f66c535e38b9fcc7355622855 (patch) | |
tree | 70cc674e2b0238c9636eaac18cf9fff71cf0b24d /g10/options.h | |
parent | po: Fix Swedish and Turkish translations. (diff) | |
download | gnupg2-96350c5d5afcbc7f66c535e38b9fcc7355622855.tar.xz gnupg2-96350c5d5afcbc7f66c535e38b9fcc7355622855.zip |
gpg: Turn --no-mdc-warn into a NOP.
* g10/gpg.c (oNoMDCWarn): Remove.
(opts): Make --no-mdc-warn a NOP.
(main): Don't set var.
* g10/options.h (struct opt): Remove 'no_mdc_var'.
* g10/cipher-cfb.c (write_header): Assume opt.no_mdc_warn is false.
* g10/mainproc.c (proc_encrypted): Ditto.
--
Users should not be allowed to suppress the warning that they are
shooting into their foot.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g10/options.h')
-rw-r--r-- | g10/options.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/g10/options.h b/g10/options.h index dab6e9f8b..09d4e4435 100644 --- a/g10/options.h +++ b/g10/options.h @@ -187,7 +187,6 @@ struct prefitem_t *personal_compress_prefs; struct weakhash *weak_digests; int no_perm_warn; - int no_mdc_warn; char *temp_dir; int no_encrypt_to; int encrypt_to_default_key; |