1 --- pcsc-lite-1.5.2/src/winscard.c.orig 2009-02-06 09:46:20.000000000 +0100
2 +++ pcsc-lite-1.5.2/src/winscard.c 2009-04-02 22:54:43.137718835 +0200
5 (void)SYS_MutexUnLock(rContext->mMutex);
8 + * If it is set to ANY let it do any of the protocols
10 + if (dwPreferredProtocols & SCARD_PROTOCOL_ANY_OLD)
11 + dwPreferredProtocols = SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1;
13 if (! (dwPreferredProtocols & rContext->readerState->cardProtocol))
14 return SCARD_E_PROTO_MISMATCH;
18 (void)SYS_MutexUnLock(rContext->mMutex);
21 + * If it is set to ANY let it do any of the protocols
23 + if (dwPreferredProtocols & SCARD_PROTOCOL_ANY_OLD)
24 + dwPreferredProtocols = SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1;
26 if (! (dwPreferredProtocols & rContext->readerState->cardProtocol))
27 return SCARD_E_PROTO_MISMATCH;