Hello,

 

I am working on some tests for my product.

 

On of the test says :

 

Insert a card who does not support RAW PROTOCOL (A french health card :
Vitale) : OK

 

First, call :

rv = SCardEstablishContext(SCARD_SCOPE_USER, NULL, NULL, &hContext);

OK

 

Second, the return should be SCARD_E_NOT_READY

rv = SCardConnect(hContext,mszReaders,SCARD_SHARE_DIRECT,

                                                               -1, &hCard,
&dwActiveProtocol);

 

The result is every time SUCCESS, even with no card, with RAW_PROTOCOL
instead of -1, .

 

I don't think i can have an error with this test ?

 

Any idea, how can i have the return SCARD_E_NOT_READY, which is present in
the documentation of SCARD_CONNECT.

 

Sincerly,

 

Christophe FERRANDO

 

 

 

_______________________________________________
Pcsclite-muscle mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle

Reply via email to