Home GnuPG
Diffusion GnuPG 96350c5d5afc

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.

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

Details

Provenance
wernerAuthored on May 15 2018, 12:19 PM
Parents
rG61b1508281cd: po: Fix Swedish and Turkish translations.
Branches
Unknown
Tags
Unknown