mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
scd: Fix for SCARD_IO_REQUEST structure.
* scd/apdu.c (struct pcsc_io_request_s): Use pcsc_dword_t for Windows. -- This fix is for correctness and for the future when we will support 64-bit Windows. GnuPG-bug-id: 4454 Suggested-by: Juris Ozols Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
479f7bf31c
commit
1eb93d9229
@ -256,8 +256,13 @@ static npth_mutex_t reader_table_lock;
|
|||||||
|
|
||||||
struct pcsc_io_request_s
|
struct pcsc_io_request_s
|
||||||
{
|
{
|
||||||
|
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||||
|
pcsc_dword_t protocol;
|
||||||
|
pcsc_dword_t pci_len;
|
||||||
|
#else
|
||||||
unsigned long protocol;
|
unsigned long protocol;
|
||||||
unsigned long pci_len;
|
unsigned long pci_len;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct pcsc_io_request_s *pcsc_io_request_t;
|
typedef struct pcsc_io_request_s *pcsc_io_request_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user