[Pcsclite-cvs-commit] r5562 - /trunk/Drivers/ccid/contrib/RSA_SecurID/RSA_SecurID_getpasswd.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Jan 28 20:10:15 UTC 2011
Author: rousseau
Date: Fri Jan 28 20:10:13 2011
New Revision: 5562
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5562
Log:
Correctly identify the command numbers in the error messages
Modified:
trunk/Drivers/ccid/contrib/RSA_SecurID/RSA_SecurID_getpasswd.c
Modified: trunk/Drivers/ccid/contrib/RSA_SecurID/RSA_SecurID_getpasswd.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/contrib/RSA_SecurID/RSA_SecurID_getpasswd.c?rev=5562&op=diff
==============================================================================
--- trunk/Drivers/ccid/contrib/RSA_SecurID/RSA_SecurID_getpasswd.c (original)
+++ trunk/Drivers/ccid/contrib/RSA_SecurID/RSA_SecurID_getpasswd.c Fri Jan 28 20:10:13 2011
@@ -127,7 +127,7 @@
PCSC_ERROR_EXIT(rv, "SCardTransmit")
if ((length != 2) || (bRecvBuffer[0] != 0x90) || (bRecvBuffer[1] != 0x00))
{
- printf("cmd2 failed (%ld) : %02X%02X\n", length, bRecvBuffer[0],
+ printf("cmd3 failed (%ld) : %02X%02X\n", length, bRecvBuffer[0],
bRecvBuffer[1]);
goto end;
}
@@ -139,7 +139,7 @@
PCSC_ERROR_EXIT(rv, "SCardTransmit")
if ((length != 7) || (bRecvBuffer[5] != 0x90) || (bRecvBuffer[6] != 0x00))
{
- printf("cmd3 failed (%ld): %02X%02X\n", length, bRecvBuffer[5],
+ printf("cmd4 failed (%ld): %02X%02X\n", length, bRecvBuffer[5],
bRecvBuffer[6]);
goto end;
}
More information about the Pcsclite-cvs-commit
mailing list