[Pcsclite-cvs-commit] r2168 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at costa.debian.org
Wed Sep 20 16:01:14 CEST 2006


Author: rousseau
Date: 2006-09-20 14:01:14 +0000 (Wed, 20 Sep 2006)
New Revision: 2168

Modified:
   trunk/Drivers/ccid/src/ifdhandler.c
Log:
IFDHGetCapabilities(): add support of SCARD_ATTR_VENDOR_NAME


Modified: trunk/Drivers/ccid/src/ifdhandler.c
===================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c	2006-09-20 13:41:25 UTC (rev 2167)
+++ trunk/Drivers/ccid/src/ifdhandler.c	2006-09-20 14:01:14 UTC (rev 2168)
@@ -331,6 +331,13 @@
 				*(DWORD *)Value = CCID_VERSION;
 			break;
 
+		case SCARD_ATTR_VENDOR_NAME:
+#define VENDOR_NAME "Ludovic Rousseau"
+			*Length = sizeof(VENDOR_NAME);
+			if (Value)
+				memcpy(Value, VENDOR_NAME, sizeof(VENDOR_NAME));
+			break;
+
 		default:
 			return IFD_ERROR_TAG;
 	}




More information about the Pcsclite-cvs-commit mailing list