diff options
Diffstat (limited to 'g10/keygen.c')
-rw-r--r-- | g10/keygen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/g10/keygen.c b/g10/keygen.c index f0cbda3d0..96a867c1e 100644 --- a/g10/keygen.c +++ b/g10/keygen.c @@ -154,7 +154,6 @@ gen_elg(unsigned nbits, KBNODE pub_root, KBNODE sec_root, DEK *dek, skc->timestamp = pkc->timestamp = make_timestamp(); skc->valid_days = pkc->valid_days = 0; /* fixme: make it configurable*/ skc->pubkey_algo = pkc->pubkey_algo = PUBKEY_ALGO_ELGAMAL; - memset(&pkc->mfx, 0, sizeof pkc->mfx); pkc->d.elg.p = pk.p; pkc->d.elg.g = pk.g; pkc->d.elg.y = pk.y; |