1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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>
This commit is contained in:
NIIBE Yutaka 2021-05-07 07:11:17 +09:00
parent 53bdc6288f
commit 039aed9d40

View File

@ -328,10 +328,10 @@ long (* DLSTDCALL pcsc_status) (HANDLE card,
pcsc_dword_t *r_state, pcsc_dword_t *r_state,
pcsc_dword_t *r_protocol, pcsc_dword_t *r_protocol,
unsigned char *atr, pcsc_dword_t *atrlen); 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, long (* DLSTDCALL pcsc_end_transaction) (HANDLE card,
pcsc_dword_t disposition); pcsc_dword_t disposition);
long (* DLSTDCALL pcsc_transmit) (long card, long (* DLSTDCALL pcsc_transmit) (HANDLE card,
const pcsc_io_request_t send_pci, const pcsc_io_request_t send_pci,
const unsigned char *send_buffer, const unsigned char *send_buffer,
pcsc_dword_t send_len, pcsc_dword_t send_len,