[Pcsclite-cvs-commit] CVS PCSC/src
CVS User rousseau
ludovic.rousseau@free.fr
Wed, 18 May 2005 16:36:07 +0000
Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv17531
Modified Files:
winscard_clnt.c
Log Message:
SCardControl(): a 0 byte long pbSendBuffer is no more rejected since the
command is in dwControlCode
Thanks to Martin Paljak for the patch
--- /cvsroot/pcsclite/PCSC/src/winscard_clnt.c 2005/05/03 06:56:57 1.56
+++ /cvsroot/pcsclite/PCSC/src/winscard_clnt.c 2005/05/18 16:36:06 1.57
@@ -6,7 +6,7 @@
* Damien Sauveron <damien.sauveron@labri.fr>
* Ludovic Rousseau <ludovic.rousseau@free.fr>
*
- * $Id: winscard_clnt.c,v 1.56 2005/05/03 06:56:57 rousseau Exp $
+ * $Id: winscard_clnt.c,v 1.57 2005/05/18 16:36:06 rousseau Exp $
*/
/**
@@ -2045,9 +2045,6 @@
if (NULL != lpBytesReturned)
*lpBytesReturned = 0;
- if (pbSendBuffer == 0)
- return SCARD_E_INVALID_PARAMETER;
-
if (SCardCheckDaemonAvailability() != SCARD_S_SUCCESS)
return SCARD_E_NO_SERVICE;