mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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.
This commit is contained in:
parent
63e7891f0f
commit
8720125f5a
2 changed files with 13 additions and 7 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue