diff options
author | Werner Koch <[email protected]> | 2019-04-03 09:26:14 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-04-03 09:26:14 +0000 |
commit | 1f688e0d1dba4dd7a311d416d06d654ed7b4290d (patch) | |
tree | 60ebaba398154bedf54541ffc4cb5cdd5ebd4415 /scd/app-piv.c | |
parent | card: Allow card selection with LIST. (diff) | |
download | gnupg-1f688e0d1dba4dd7a311d416d06d654ed7b4290d.tar.gz gnupg-1f688e0d1dba4dd7a311d416d06d654ed7b4290d.zip |
gpg: Avoid endless loop if a card's serial number can't be read.
* g10/skclist.c (enum_secret_keys): Move list forward on error.
--
The error is not easy to reproduce but may occur if a card is removed
at the wrong time. Tested by changing the code.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'scd/app-piv.c')
0 files changed, 0 insertions, 0 deletions