gpg: Remove MDC options
authorWerner Koch <wk@gnupg.org>
Tue, 29 May 2018 10:42:44 +0000 (12:42 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 29 May 2018 10:42:52 +0000 (12:42 +0200)
commit253e8bdd9014cbe6dc06adce9d9dd2f8f4b31709
treece2d7b23b0025145cfdf722d27a7501b81f9b0b7
parentaf4a5dbe575f304838db358aaeb45741f149d0a7
gpg: Remove MDC options

* g10/gpg.c: Tuen options --force-mdc, --no-force-mdc, --disable-mdc
and --no-disable-mdc into NOPs.
* g10/encrypt.c (use_mdc): Simplify.  MDC is now almost always used.
(use_aead): Ignore MDC options. Print warning for missing MDC feature
flags.
* g10/pkclist.c (warn_missing_mdc_from_pklist): Rename to ...
(warn_missing_aead_from_pklist): this and adjust.
--

The MDC is now always used except with --rfc2440 which will lead to a
a big fat warning.

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpg.texi
g10/cipher-cfb.c
g10/encrypt.c
g10/gpg.c
g10/keydb.h
g10/pkclist.c
po/POTFILES.in