mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Detect non operational readers.
Backport from 2.0.
This commit is contained in:
parent
05a3f56391
commit
ca2d315765
5 changed files with 52 additions and 10 deletions
|
@ -139,7 +139,7 @@ main (int argc, char **argv )
|
|||
if (argc != 1)
|
||||
usage (1);
|
||||
|
||||
slot = apdu_open_reader (reader_port);
|
||||
slot = apdu_open_reader (reader_port, NULL);
|
||||
if (slot == -1)
|
||||
exit (1);
|
||||
if (apdu_connect (slot))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue