mirror of git://git.gnupg.org/gnupg.git
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@g10code.com>
This commit is contained in:
parent
13dc75a4e7
commit
027ce4ba37
|
@ -2166,6 +2166,7 @@ set_compliance_option (enum cmd_and_opt_values option)
|
||||||
case oDE_VS:
|
case oDE_VS:
|
||||||
set_compliance_option (oOpenPGP);
|
set_compliance_option (oOpenPGP);
|
||||||
opt.compliance = CO_DE_VS;
|
opt.compliance = CO_DE_VS;
|
||||||
|
opt.force_mdc = 1;
|
||||||
/* Fixme: Change other options. */
|
/* Fixme: Change other options. */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue