summaryrefslogtreecommitdiffstats
path: root/g10/keydb.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2018-05-29 12:42:44 +0200
committerWerner Koch <wk@gnupg.org>2018-05-29 12:42:52 +0200
commit253e8bdd9014cbe6dc06adce9d9dd2f8f4b31709 (patch)
treece2d7b23b0025145cfdf722d27a7501b81f9b0b7 /g10/keydb.h
parentgpg: Fix detection of the AEAD feature flag. (diff)
downloadgnupg2-253e8bdd9014cbe6dc06adce9d9dd2f8f4b31709.tar.xz
gnupg2-253e8bdd9014cbe6dc06adce9d9dd2f8f4b31709.zip
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>
Diffstat (limited to 'g10/keydb.h')
-rw-r--r--g10/keydb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keydb.h b/g10/keydb.h
index c65af0204..bd156a6a3 100644
--- a/g10/keydb.h
+++ b/g10/keydb.h
@@ -236,7 +236,7 @@ int select_algo_from_prefs( PK_LIST pk_list, int preftype,
int request, const union pref_hint *hint);
int select_mdc_from_pklist (PK_LIST pk_list);
aead_algo_t select_aead_from_pklist (pk_list_t pk_list);
-void warn_missing_mdc_from_pklist (PK_LIST pk_list);
+void warn_missing_aead_from_pklist (PK_LIST pk_list);
void warn_missing_aes_from_pklist (PK_LIST pk_list);
/*-- skclist.c --*/