Author: qboosh                       Date: Mon Mar  6 09:34:34 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- merged from DEVEL

---- Files affected:
SOURCES:
   pcsc-lite-any.patch (1.1 -> 1.2)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pcsc-lite-any.patch
diff -u /dev/null SOURCES/pcsc-lite-any.patch:1.2
--- /dev/null   Mon Mar  6 10:34:34 2006
+++ SOURCES/pcsc-lite-any.patch Mon Mar  6 10:34:29 2006
@@ -0,0 +1,28 @@
+--- pcsc-lite-1.2.9-beta7/src/winscard.c.orig  2005-03-01 21:16:13.000000000 
+0100
++++ pcsc-lite-1.2.9-beta7/src/winscard.c       2005-03-03 12:29:40.000000000 
+0100
+@@ -214,6 +214,12 @@
+                       }
+                       else
+                       {
++                              /*
++                               * If it is set to ANY let it do any of the 
protocols
++                               */
++                              if (dwPreferredProtocols & 
SCARD_PROTOCOL_ANY_OLD)
++                                      dwPreferredProtocols = 
SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1;
++
+                               if (! (dwPreferredProtocols & 
rContext->readerState->cardProtocol))
+                                       return SCARD_E_PROTO_MISMATCH;
+                       }
+@@ -518,6 +524,12 @@
+                       }
+                       else
+                       {
++                              /*
++                               * If it is set to ANY let it do any of the 
protocols
++                               */
++                              if (dwPreferredProtocols & 
SCARD_PROTOCOL_ANY_OLD)
++                                      dwPreferredProtocols = 
SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1;
++
+                               if (! (dwPreferredProtocols & 
rContext->readerState->cardProtocol))
+                                       return SCARD_E_PROTO_MISMATCH;
+                       }
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to