Diffusion GnuPG 26c0d3a3fc90

gpg: Turn --no-mdc-warn into a NOP.

Authored by werner on May 15 2018, 12:19 PM.

Description

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.

(cherry picked from commit 96350c5d5afcbc7f66c535e38b9fcc7355622855)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerMay 31 2018, 11:47 AM
Parents
rG64597e1bd9ff: po: Update Spanish translation.
Branches
Unknown
Tags
Unknown