added workaround for pcscd bug #312749

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@313 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-10-10 15:45:33 +00:00
parent e8d4026d23
commit 04f2ee8020
2 changed files with 5 additions and 2 deletions

View File

@@ -14,17 +14,20 @@ IFDHCreateChannel (DWORD Lun, DWORD Channel)
Log1(PCSC_LOG_ERROR, "Could not initialize connection to virtual ICC");
return IFD_COMMUNICATION_ERROR;
}
Log2(PCSC_LOG_INFO, "Waiting for virtual ICC on port %hu", (unsigned short) Channel);
return IFD_SUCCESS;
}
/* XXX see bug #312749 on https://alioth.debian.org/projects/pcsclite/ */
#if 0
RESPONSECODE
IFDHCreateChannelByName (DWORD Lun, LPSTR DeviceName)
{
/* XXX see bug #312749 on https://alioth.debian.org/projects/pcsclite/ */
Log3(PCSC_LOG_INFO, "Not opening %s. Using default port %hu", DeviceName, VPCDPORT);
return IFDHCreateChannel (Lun, VPCDPORT);
}
#endif
RESPONSECODE
IFDHCloseChannel (DWORD Lun)

View File

@@ -1,4 +1,4 @@
FRIENDLYNAME "Virtual PCD"
DEVICENAME /dev/null
LIBPATH TARGET
CHANNELID 35963
CHANNELID 0x8C7B