[Pkg-gnupg-commit] [gnupg2] 34/185: gpg: Improve compliance with CO_DE_VS.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Mon Aug 7 11:55:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit 027ce4ba37be1d052bca2f6109fe810ef57f4038
Author: Justus Winter <justus at g10code.com>
Date: Thu Jun 1 15:14:19 2017 +0200
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 <justus at g10code.com>
---
g10/gpg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/g10/gpg.c b/g10/gpg.c
index 80e5197..cddaf77 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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list