[Pcsclite-cvs-commit] r4266 - /trunk/Drivers/ccid/src/ccid_ifdhandler.h
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Sat Jun 20 14:52:32 UTC 2009
Author: rousseau
Date: Sat Jun 20 14:52:31 2009
New Revision: 4266
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4266
Log:
define IOCTL_FEATURE_IFD_PIN_PROPERTIES only if
FEATURE_IFD_PIN_PROPERTIES is defined (pcsc-lite version >= 1.5.3)
Modified:
trunk/Drivers/ccid/src/ccid_ifdhandler.h
Modified: trunk/Drivers/ccid/src/ccid_ifdhandler.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ccid_ifdhandler.h?rev=4266&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ccid_ifdhandler.h (original)
+++ trunk/Drivers/ccid/src/ccid_ifdhandler.h Sat Jun 20 14:52:31 2009
@@ -31,8 +31,11 @@
SCARD_CTL_CODE(FEATURE_VERIFY_PIN_DIRECT + CLASS2_IOCTL_MAGIC)
#define IOCTL_FEATURE_MODIFY_PIN_DIRECT \
SCARD_CTL_CODE(FEATURE_MODIFY_PIN_DIRECT + CLASS2_IOCTL_MAGIC)
+
+#ifdef FEATURE_IFD_PIN_PROPERTIES
#define IOCTL_FEATURE_IFD_PIN_PROPERTIES \
- SCARD_CTL_CODE(FEATURE_IFD_PIN_PROPERTIES + CLASS2_IOCTL_MAGIC)
+ SCARD_CTL_CODE(FEATURE_IFD_PIN_PROPERTIES + CLASS2_IOCTL_MAGIC)
+#endif
#define DRIVER_OPTION_CCID_EXCHANGE_AUTHORIZED 1
#define DRIVER_OPTION_GEMPC_TWIN_KEY_APDU 2
More information about the Pcsclite-cvs-commit
mailing list