diff options
author | Werner Koch <wk@gnupg.org> | 2004-10-06 15:13:51 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-10-06 15:13:51 +0200 |
commit | f0c793c5a74aec13e73e6b585f3f84b8c130fc80 (patch) | |
tree | 4718e492fa2ec0980f4798243e9a83ea16803abd /scd/ccid-driver.h | |
parent | (setup_pinentry_env): Try hard to set a default for GPG_TTY. (diff) | |
download | gnupg2-f0c793c5a74aec13e73e6b585f3f84b8c130fc80.tar.xz gnupg2-f0c793c5a74aec13e73e6b585f3f84b8c130fc80.zip |
(ccid_open_reader): Store the vendor ID.
(ccid_transceive_secure): New.
(parse_ccid_descriptor): Workaround for an SCM reader problem.
Diffstat (limited to '')
-rw-r--r-- | scd/ccid-driver.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scd/ccid-driver.h b/scd/ccid-driver.h index cbadb40c1..9cb23253b 100644 --- a/scd/ccid-driver.h +++ b/scd/ccid-driver.h @@ -86,6 +86,11 @@ int ccid_slot_status (ccid_driver_t handle, int *statusbits); int ccid_transceive (ccid_driver_t handle, const unsigned char *apdu, size_t apdulen, unsigned char *resp, size_t maxresplen, size_t *nresp); +int ccid_transceive_secure (ccid_driver_t handle, + const unsigned char *apdu, size_t apdulen, + int pin_mode, + int pinlen_min, int pinlen_max, int pin_padlen, + unsigned char *resp, size_t maxresplen, size_t *nresp); |