vpcd: add support for SCARD_ATTR_ATR_STRING

fixes https://github.com/frankmorgner/vsmartcard/issues/201
This commit is contained in:
Frank Morgner
2022-06-01 10:27:56 +02:00
parent 2e5fac5e18
commit 68ca1fb49d

View File

@@ -222,6 +222,13 @@ IFDHGetCapabilities (DWORD Lun, DWORD Tag, PDWORD Length, PUCHAR Value)
goto err;
switch (Tag) {
#ifdef SCARD_ATTR_ATR_STRING
case SCARD_ATTR_ATR_STRING:
/* fall through */
#else
case 0x00090303:
/* fall through */
#endif
case TAG_IFD_ATR:
size = vicc_getatr(ctx[slot], &atr);