diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2021-05-07 00:11:17 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-05-07 00:11:17 +0200 |
commit | 039aed9d401f3875eee0251d34be74de7a1daf84 (patch) | |
tree | aa365270c3683ef03f79ecacc7e29c8f8542455e /scd | |
parent | scd: Recover the partial match for PORTSTR for PC/SC. (diff) | |
download | gnupg2-039aed9d401f3875eee0251d34be74de7a1daf84.tar.xz gnupg2-039aed9d401f3875eee0251d34be74de7a1daf84.zip |
scd: Fix declarations for PC/SC access.
* scd/apdu.c (pcsc_begin_transaction, pcsc_transmit): Use HANDLE.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'scd')
-rw-r--r-- | scd/apdu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scd/apdu.c b/scd/apdu.c index 8a48d6769..e601e1a38 100644 --- a/scd/apdu.c +++ b/scd/apdu.c @@ -328,10 +328,10 @@ long (* DLSTDCALL pcsc_status) (HANDLE card, pcsc_dword_t *r_state, pcsc_dword_t *r_protocol, unsigned char *atr, pcsc_dword_t *atrlen); -long (* DLSTDCALL pcsc_begin_transaction) (long card); +long (* DLSTDCALL pcsc_begin_transaction) (HANDLE card); long (* DLSTDCALL pcsc_end_transaction) (HANDLE card, pcsc_dword_t disposition); -long (* DLSTDCALL pcsc_transmit) (long card, +long (* DLSTDCALL pcsc_transmit) (HANDLE card, const pcsc_io_request_t send_pci, const unsigned char *send_buffer, pcsc_dword_t send_len, |