mirror of
https://github.com/pcsc-for-php/pcsc.git
synced 2026-08-18 01:11:30 +02:00
Fixed bug to also make it possible to use T=0 protocol cards
git-svn-id: https://svn.php.net/repository/pecl/pcsc/trunk@335785 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6db752f61c
commit
287b21c653
2 changed files with 2 additions and 2 deletions
2
CREDITS
2
CREDITS
|
|
@ -1,2 +1,2 @@
|
||||||
pcsc
|
pcsc
|
||||||
Johann Dantant, Johannes Findeisen
|
Johann Dantant, Johannes Findeisen, Marco Schuster
|
||||||
|
|
|
||||||
2
pcsc.c
2
pcsc.c
|
|
@ -590,7 +590,7 @@ PHP_FUNCTION(scard_list_readers)
|
||||||
Return a handle to the card */
|
Return a handle to the card */
|
||||||
PHP_FUNCTION(scard_connect)
|
PHP_FUNCTION(scard_connect)
|
||||||
{
|
{
|
||||||
DWORD dwPreferredProtocol = SCARD_PROTOCOL_T1;
|
DWORD dwPreferredProtocol = SCARD_PROTOCOL_T1|SCARD_PROTOCOL_T0;
|
||||||
DWORD dwCurrentProtocol;
|
DWORD dwCurrentProtocol;
|
||||||
SCARDHANDLE hCard = 0;
|
SCARDHANDLE hCard = 0;
|
||||||
LONG rc = 0;
|
LONG rc = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue