14 lines
447 B
Diff
14 lines
447 B
Diff
diff --git a/g10/keygen.c b/g10/keygen.c
|
|
index 6106d98ba..945494a8b 100644
|
|
--- a/g10/keygen.c
|
|
+++ b/g10/keygen.c
|
|
@@ -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;
|