aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-06-01 13:14:19 +0000
committerJustus Winter <[email protected]>2017-06-07 14:53:29 +0000
commit027ce4ba37be1d052bca2f6109fe810ef57f4038 (patch)
tree384923623740ddf205ed5d688de797c84e1a8ef3
parentspeedo: Fix a minor memleak in the installer (diff)
downloadgnupg-027ce4ba37be1d052bca2f6109fe810ef57f4038.tar.gz
gnupg-027ce4ba37be1d052bca2f6109fe810ef57f4038.zip
gpg: Improve compliance with CO_DE_VS.
* g10/gpg.c (set_compliance_option): The specification, section 4.1.1, forbids the use of encryption without integrity protection. GnuPG-bug-id: 3191 Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r--g10/gpg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 80e51974a..cddaf7716 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2166,6 +2166,7 @@ set_compliance_option (enum cmd_and_opt_values option)
case oDE_VS:
set_compliance_option (oOpenPGP);
opt.compliance = CO_DE_VS;
+ opt.force_mdc = 1;
/* Fixme: Change other options. */
break;