sm_stop is now part of OpenSC as sc_sm_stop
This commit is contained in:
@@ -89,7 +89,7 @@ perform_pseudo_apdu_GetReaderPACECapabilities(sc_apdu_t *apdu)
|
|||||||
sc_reader_t_capabilities, &apdu->resp, &apdu->resplen);
|
sc_reader_t_capabilities, &apdu->resp, &apdu->resplen);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
int sm_stop(struct sc_card *card) { return SC_SUCCESS; }
|
int sc_sm_stop(struct sc_card *card) { return SC_SUCCESS; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
@@ -459,7 +459,7 @@ perform_PC_to_RDR_IccPowerOn(const __u8 *in, size_t inlen, __u8 **out, size_t *o
|
|||||||
sc_debug(ctx, SC_LOG_DEBUG_NORMAL, "Card is already powered on.");
|
sc_debug(ctx, SC_LOG_DEBUG_NORMAL, "Card is already powered on.");
|
||||||
sc_result = SC_SUCCESS;
|
sc_result = SC_SUCCESS;
|
||||||
} else {
|
} else {
|
||||||
sm_stop(card);
|
sc_sm_stop(card);
|
||||||
sc_result = sc_connect_card(reader, &card);
|
sc_result = sc_connect_card(reader, &card);
|
||||||
card->caps |= SC_CARD_CAP_APDU_EXT;
|
card->caps |= SC_CARD_CAP_APDU_EXT;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ nPA Smart Card Library
|
|||||||
GPL version 3
|
GPL version 3
|
||||||
:Tested Platforms:
|
:Tested Platforms:
|
||||||
- Windows
|
- Windows
|
||||||
|
- Mac OS X
|
||||||
- Linux (Debian, Ubuntu, OpenMoko)
|
- Linux (Debian, Ubuntu, OpenMoko)
|
||||||
|
|
||||||
The nPA Smart Card Library offers an easy to use API for the new German identity card
|
The nPA Smart Card Library offers an easy to use API for the new German identity card
|
||||||
|
|||||||
@@ -85,4 +85,3 @@ Functions
|
|||||||
.. doxygenfunction:: iso_sm_ctx_create
|
.. doxygenfunction:: iso_sm_ctx_create
|
||||||
.. doxygenfunction:: iso_sm_ctx_clear_free
|
.. doxygenfunction:: iso_sm_ctx_clear_free
|
||||||
.. doxygenfunction:: iso_sm_start
|
.. doxygenfunction:: iso_sm_start
|
||||||
.. doxygenfunction:: sm_stop
|
|
||||||
|
|||||||
Reference in New Issue
Block a user