diff options
author | Werner Koch <[email protected]> | 2020-10-26 11:49:21 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-10-26 11:50:30 +0000 |
commit | 0f780b1aebb1b1bde219401735a1c24c1f0a7978 (patch) | |
tree | 1a135a0114f49daee6d2c5c3cc6234173a781372 /scd/command.c | |
parent | g10,sm: Use gnupg_access at two more places (diff) | |
download | gnupg-0f780b1aebb1b1bde219401735a1c24c1f0a7978.tar.gz gnupg-0f780b1aebb1b1bde219401735a1c24c1f0a7978.zip |
g10: Make call to agent_scd_serialno more robust.
* g10/call-agent.c (agent_scd_serialno): Make sure that NULL is stored
on error at r_serialno.
* g10/card-util.c (card_status): Simplify freeing of seriaono.
(factory_reset): Ditto.
--
This pattern is what we use with other functions returning an
allocated string and thus less surprising.
Diffstat (limited to 'scd/command.c')
0 files changed, 0 insertions, 0 deletions