gnupg2/gnupg2-aead.patch

14 lines
447 B
Diff
Raw Normal View History

2022-06-07 09:07:20 +00:00
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;