diff options
author | NIIBE Yutaka <[email protected]> | 2014-12-05 05:20:50 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2014-12-05 05:20:50 +0000 |
commit | 8720125f5a283ede34e52c2493b8a9b0226ae62c (patch) | |
tree | 5dc06d8f83e3235113341fc1e338b6c821ac6848 /g10/card-util.c | |
parent | gpg: Allow import of large keys. (diff) | |
download | gnupg-8720125f5a283ede34e52c2493b8a9b0226ae62c.tar.gz gnupg-8720125f5a283ede34e52c2493b8a9b0226ae62c.zip |
scd: Fix for NIST P-256.
* g10/card-util.c (card_store_subkey): Error check.
* scd/app-opengpg.c (ecc_writekey): Support NIST P-256.
(do_writekey): Error check.
Diffstat (limited to 'g10/card-util.c')
-rw-r--r-- | g10/card-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/card-util.c b/g10/card-util.c index 3d5c43c3e..4f1c9d808 100644 --- a/g10/card-util.c +++ b/g10/card-util.c @@ -1619,7 +1619,7 @@ card_store_subkey (KBNODE node, int use) goto leave; epoch2isotime (timebuf, (time_t)pk->timestamp); - agent_keytocard (hexgrip, keyno, rc, info.serialno, timebuf); + rc = agent_keytocard (hexgrip, keyno, rc, info.serialno, timebuf); if (rc) log_error (_("KEYTOCARD failed: %s\n"), gpg_strerror (rc)); |