vpcd: add support for SCARD_ATTR_ATR_STRING
fixes https://github.com/frankmorgner/vsmartcard/issues/201
This commit is contained in:
@@ -222,6 +222,13 @@ IFDHGetCapabilities (DWORD Lun, DWORD Tag, PDWORD Length, PUCHAR Value)
|
|||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
switch (Tag) {
|
switch (Tag) {
|
||||||
|
#ifdef SCARD_ATTR_ATR_STRING
|
||||||
|
case SCARD_ATTR_ATR_STRING:
|
||||||
|
/* fall through */
|
||||||
|
#else
|
||||||
|
case 0x00090303:
|
||||||
|
/* fall through */
|
||||||
|
#endif
|
||||||
case TAG_IFD_ATR:
|
case TAG_IFD_ATR:
|
||||||
|
|
||||||
size = vicc_getatr(ctx[slot], &atr);
|
size = vicc_getatr(ctx[slot], &atr);
|
||||||
|
|||||||
Reference in New Issue
Block a user