summaryrefslogtreecommitdiffstats
path: root/tests/openpgp/defs.scm
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2018-05-15 12:33:03 +0200
committerWerner Koch <wk@gnupg.org>2018-05-15 12:38:17 +0200
commitd1431901f0143cdc7af8d1a23387e0c6b5bb613f (patch)
tree795e679a9bbb1d823b9cf9613f0309356c4cd874 /tests/openpgp/defs.scm
parentgpg: Turn --no-mdc-warn into a NOP. (diff)
downloadgnupg2-d1431901f0143cdc7af8d1a23387e0c6b5bb613f.tar.xz
gnupg2-d1431901f0143cdc7af8d1a23387e0c6b5bb613f.zip
gpg: Hard fail on a missing MDC even for legacy algorithms.
* g10/mainproc.c (proc_encrypted): Require an MDC or AEAD * tests/openpgp/defs.scm (create-gpghome): Use --ignore-mdc-error to allow testing with the current files. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r--tests/openpgp/defs.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/openpgp/defs.scm b/tests/openpgp/defs.scm
index afd69a0f3..186efe0ca 100644
--- a/tests/openpgp/defs.scm
+++ b/tests/openpgp/defs.scm
@@ -341,6 +341,7 @@
"no-auto-key-retrieve"
"no-auto-key-locate"
"allow-weak-digest-algos"
+ "ignore-mdc-error"
(if have-opt-always-trust
"no-auto-check-trustdb" "#no-auto-check-trustdb")
(string-append "agent-program "