summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2018-05-15 12:19:40 +0200
committerWerner Koch <wk@gnupg.org>2018-05-15 12:20:04 +0200
commit96350c5d5afcbc7f66c535e38b9fcc7355622855 (patch)
tree70cc674e2b0238c9636eaac18cf9fff71cf0b24d /doc
parentpo: Fix Swedish and Turkish translations. (diff)
downloadgnupg2-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 'doc')
-rw-r--r--doc/gpg.texi4
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 00ac03308..7b142cc19 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -2041,10 +2041,6 @@ place an unsafe gpg.conf file in place, and use this file to suppress
warnings about itself. The @option{--homedir} permissions warning may only be
suppressed on the command line.
-@item --no-mdc-warning
-@opindex no-mdc-warning
-Suppress the warning about missing MDC integrity protection.
-
@item --require-secmem
@itemx --no-require-secmem
@opindex require-secmem