Return to scard.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.9, 2001/07/31 08:41:10 | version 1.10, 2001/07/31 12:53:34 | ||
---|---|---|---|
|
|
||
if (! sectok_cardpresent(sc_fd)) { | if (! sectok_cardpresent(sc_fd)) { | ||
debug("smartcard in reader %d not present, skipping", | debug("smartcard in reader %d not present, skipping", | ||
sc_reader_num); | sc_reader_num); | ||
sc_close(); | |||
return SCARD_ERROR_NOCARD; | return SCARD_ERROR_NOCARD; | ||
} | } | ||
if (sectok_reset(sc_fd, 0, NULL, &sw) <= 0) { | if (sectok_reset(sc_fd, 0, NULL, &sw) <= 0) { |