FreeCalypso > hg > fc-sim-tools
diff pcsc/atrmain.c @ 2:11f4f8a8fa33
pcsc: ATR code refactoring
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 14 Mar 2021 01:22:37 +0000 |
parents | f7a03e53bb2c |
children |
line wrap: on
line diff
--- a/pcsc/atrmain.c Sun Mar 14 01:09:23 2021 +0000 +++ b/pcsc/atrmain.c Sun Mar 14 01:22:37 2021 +0000 @@ -16,7 +16,7 @@ select_reader_by_num(); printf("Card reader name: %s\n", selected_reader); connect_to_card(); - retrieve_atr(1); + retrieve_atr("ATR:"); SCardDisconnect(hCard, SCARD_UNPOWER_CARD); SCardReleaseContext(hContext); exit(0);