adapted to changes of https://github.com/frankmorgner/OpenSC
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@719 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -1055,7 +1055,7 @@ int EstablishPACEChannel(struct sm_ctx *oldnpactx, sc_card_t *card,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (card->reader->capabilities & SC_READER_CAP_PACE) {
|
if (card->reader->capabilities & SC_READER_CAP_PACE_GENERIC) {
|
||||||
r = sc_perform_pace(card, &pace_input, pace_output);
|
r = sc_perform_pace(card, &pace_input, pace_output);
|
||||||
} else {
|
} else {
|
||||||
if (!pace_output->ef_cardaccess_length || !pace_output->ef_cardaccess) {
|
if (!pace_output->ef_cardaccess_length || !pace_output->ef_cardaccess) {
|
||||||
|
|||||||
Reference in New Issue
Block a user