Home GnuPG
Diffusion GnuPG 26c0d3a3fc90

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

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

Provenance
wernerAuthored on May 15 2018, 12:19 PM
Parents
rG64597e1bd9ff: po: Update Spanish translation.
Branches
Unknown
Tags
Unknown