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:
@@ -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)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FRIENDLYNAME "Virtual PCD"
|
||||
DEVICENAME /dev/null
|
||||
LIBPATH TARGET
|
||||
CHANNELID 35963
|
||||
CHANNELID 0x8C7B
|
||||
|
||||
Reference in New Issue
Block a user