aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keygen.c')
-rw-r--r--g10/keygen.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index 7a79b378f..484352583 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -564,29 +564,6 @@ keygen_set_std_prefs (const char *string,int personal)
opt.personal_cipher_prefs[i].value = 0;
}
}
- else if (personal == PREFTYPE_AEAD)
- {
- xfree(opt.personal_aead_prefs);
-
- if (!naead)
- opt.personal_aead_prefs = NULL;
- else
- {
- int i;
-
- opt.personal_aead_prefs=
- xmalloc(sizeof(prefitem_t *)*(naead+1));
-
- for (i=0; i<naead; i++)
- {
- opt.personal_aead_prefs[i].type = PREFTYPE_AEAD;
- opt.personal_aead_prefs[i].value = aead[i];
- }
-
- opt.personal_aead_prefs[i].type = PREFTYPE_NONE;
- opt.personal_aead_prefs[i].value = 0;
- }
- }
else if(personal==PREFTYPE_HASH)
{
xfree(opt.personal_digest_prefs);