diff options
author | Werner Koch <[email protected]> | 2018-05-29 10:42:44 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-05-31 10:08:22 +0000 |
commit | 866667765f38bf65b612191209d0f0a87fb16393 (patch) | |
tree | 2b625b39556ed6af0f16d913cfe07b5f6f4bbb6e /common/signal.c | |
parent | gpg: Hard fail on a missing MDC even for legacy algorithms. (diff) | |
download | gnupg-866667765f38bf65b612191209d0f0a87fb16393.tar.gz gnupg-866667765f38bf65b612191209d0f0a87fb16393.zip |
gpg: Remove MDC options
* g10/gpg.c: Turn 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.
* g10/cipher.c (write_header): Include extra hint and make
translatable.
* g10/options.h (struct opt): Remove fields force_mdc and disable_mdc.
--
The MDC is now always used except with --rfc2440 which will lead to a
a big fat warning.
This is a stripped down version of commit
253e8bdd9014cbe6dc06adce9d9dd2f8f4b31709 which could not directly be
applied due to the AEAD mechanisms there.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/signal.c')
0 files changed, 0 insertions, 0 deletions