aboutsummaryrefslogtreecommitdiffstats
path: root/g10/ccid-driver.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-10-20 09:39:56 +0000
committerWerner Koch <[email protected]>2004-10-20 09:39:56 +0000
commit27d06166d3972b15749d8233459bde88764dae35 (patch)
tree504b346e56d7d3a7fc156e8432b1aafd7c1fa820 /g10/ccid-driver.c
parent* gpg.sgml: Minor language tweaks. (diff)
downloadgnupg-27d06166d3972b15749d8233459bde88764dae35.tar.gz
gnupg-27d06166d3972b15749d8233459bde88764dae35.zip
* apdu.c (apdu_open_reader): Load pcsc_get_status_change fucntion.
(pcsc_get_status): Implemented. (reset_pcsc_reader): Implemented. (open_pcsc_reader): Succeed even with no card inserted. (open_ccid_reader): Set LAST_STATUS. * iso7816.c (iso7816_select_application): Always use 0 for P1.
Diffstat (limited to 'g10/ccid-driver.c')
-rw-r--r--g10/ccid-driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/ccid-driver.c b/g10/ccid-driver.c
index 0a876f0bc..01c8a9980 100644
--- a/g10/ccid-driver.c
+++ b/g10/ccid-driver.c
@@ -1307,6 +1307,8 @@ ccid_get_atr (ccid_driver_t handle,
/* Note that we ignore the error code on purpose. */
bulk_in (handle, msg, sizeof msg, &msglen, RDR_to_PC_Parameters, seqno);
+ handle->t1_ns = 0;
+ handle->t1_nr = 0;
/* Send an S-Block with our maximun IFSD to the CCID. */
if (!handle->auto_ifsd)