mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg,gpgsm: Extend the use of allow-ecc-encr and vsd-allow-ocb
* g10/keygen.c (keygen_set_std_prefs): Set OCB only with VSD compatibility flag. * sm/certreqgen.c (proc_parameters): All ECC generation only with allow-ecc-encr. --
This commit is contained in:
parent
da04477631
commit
fc351de879
2 changed files with 6 additions and 1 deletions
|
@ -523,6 +523,10 @@ keygen_set_std_prefs (const char *string,int personal)
|
|||
xfree (prefstringbuf);
|
||||
}
|
||||
|
||||
/* For now we require a compat flag to set OCB into the preferences. */
|
||||
if (!(opt.compat_flags & COMPAT_VSD_ALLOW_OCB))
|
||||
ocb = 0;
|
||||
|
||||
if(!rc)
|
||||
{
|
||||
if(personal)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue