mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
keygen: Fix reading AEAD preference
* g10/keygen.c (keygen_set_std_prefs): Use the right variable when reading AEAD preference string -- GnuPG-bug-id: 6019 Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
parent
fb3fd553df
commit
4dbef2addc
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ keygen_set_std_prefs (const char *string,int personal)
|
|||
for (i=0; i<naead; i++)
|
||||
{
|
||||
opt.personal_aead_prefs[i].type = PREFTYPE_AEAD;
|
||||
opt.personal_aead_prefs[i].value = sym[i];
|
||||
opt.personal_aead_prefs[i].value = aead[i];
|
||||
}
|
||||
|
||||
opt.personal_aead_prefs[i].type = PREFTYPE_NONE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue