From e3f8efefc350ea914d511da7c319a10b7d5b7e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 11 Nov 2014 14:04:44 +0000 Subject: [PATCH] workaround Mac OS X 10.10 PCSC bug; refs #34 --- src/pcsc.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcsc.hxx b/src/pcsc.hxx index 650c946..a4a995d 100644 --- a/src/pcsc.hxx +++ b/src/pcsc.hxx @@ -320,7 +320,7 @@ namespace pcsc { reconnect, first transaction (SCardTransmit) fails with SCARD_W_RESET_CARD (0x80100068). */ - if (_status==SCARD_W_RESET_CARD) { // just resend once + if (_state==SCARD_W_RESET_CARD) { // just resend once check(SCardTransmit(_id, &rPci, (LPCBYTE)in.c_str(), in.size(),