more log; refs #34

This commit is contained in:
Marc Wäckerlin
2014-11-12 07:54:40 +00:00
parent c5ed689480
commit 6cfc6d8f23

View File

@@ -321,6 +321,12 @@ namespace pcsc {
fails with SCARD_W_RESET_CARD fails with SCARD_W_RESET_CARD
(0x80100068). */ (0x80100068). */
if (_state==SCARD_W_RESET_CARD) { // just resend once if (_state==SCARD_W_RESET_CARD) { // just resend once
CRYPTOLOG("Mac OS X 10.10 implementation bug: "
"On Mac OSX 10.10 there is a bug in "
"PCSC: After a reconnect, first "
"transaction (SCardTransmit) fails "
"with SCARD_W_RESET_CARD (0x80100068). "
"Retry once.");
check(SCardTransmit(_id, &rPci, check(SCardTransmit(_id, &rPci,
(LPCBYTE)in.c_str(), (LPCBYTE)in.c_str(),
in.size(), in.size(),