diff options
| author | Werner Koch <[email protected]> | 2003-10-31 12:12:36 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2003-10-31 12:12:36 +0000 |
| commit | c8fb3836fb5c296d771457ed2dfb1c837a17bc08 (patch) | |
| tree | 9bb7021cd7e3d7bb5a6543cf24a1d756d6cd60a2 /scd/ccid-driver.c | |
| parent | new command (diff) | |
| download | gnupg-c8fb3836fb5c296d771457ed2dfb1c837a17bc08.tar.gz gnupg-c8fb3836fb5c296d771457ed2dfb1c837a17bc08.zip | |
* apdu.c (close_ct_reader, close_pcsc_reader): Implemented.
(get_ccid_error_string): New. Not very useful messages, though.
Diffstat (limited to 'scd/ccid-driver.c')
| -rw-r--r-- | scd/ccid-driver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c index 8868a2cfc..099dae240 100644 --- a/scd/ccid-driver.c +++ b/scd/ccid-driver.c @@ -494,6 +494,9 @@ ccid_open_reader (ccid_driver_t *handle, int readerno) shallow copy of the list created internally by usb_init ? */ usb_free_match (match); + if (!rc && !*handle) + rc = -1; /* In case we didn't enter the while lool at all. */ + return rc; } |
