mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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>
(cherry picked from commit 96350c5d5a
)
This commit is contained in:
parent
64597e1bd9
commit
26c0d3a3fc
5 changed files with 3 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue