Home GnuPG
Diffusion GnuPG d2653b1a6db9

g10,scd: Fix ECC keygen.
d2653b1a6db9Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

g10,scd: Fix ECC keygen.

* g10/keygen.c (generate_keypair): For card key generation, fill
parameters by KEY-ATTR.
* scd/app-openpgp.c (ecc_read_pubkey): OID should be freed at last,
after its reference by OIDBUF is finished.
(ecc_writekey): Likewise.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 21 2016, 2:37 PM
Parents
rG693e657ff047: scd: Fix segfault changing key attr.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGd2653b1a6db9: g10,scd: Fix ECC keygen. (authored by NIIBE Yutaka <gniibe@fsij.org>).Oct 21 2016, 2:37 PM