From 3b8038398baefed36dfed0c882222030aaed2e91 Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Fri, 17 Jul 2015 23:29:21 +0200 Subject: [PATCH] sm_stop is now part of OpenSC as sc_sm_stop --- ccid/src/ccid.c | 4 ++-- npa/doc/README.txt | 1 + npa/doc/api.txt | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ccid/src/ccid.c b/ccid/src/ccid.c index 64dc6ab..c7f397b 100644 --- a/ccid/src/ccid.c +++ b/ccid/src/ccid.c @@ -89,7 +89,7 @@ perform_pseudo_apdu_GetReaderPACECapabilities(sc_apdu_t *apdu) sc_reader_t_capabilities, &apdu->resp, &apdu->resplen); } #else -int sm_stop(struct sc_card *card) { return SC_SUCCESS; } +int sc_sm_stop(struct sc_card *card) { return SC_SUCCESS; } #endif 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_result = SC_SUCCESS; } else { - sm_stop(card); + sc_sm_stop(card); sc_result = sc_connect_card(reader, &card); card->caps |= SC_CARD_CAP_APDU_EXT; } diff --git a/npa/doc/README.txt b/npa/doc/README.txt index 76d74d9..599193e 100644 --- a/npa/doc/README.txt +++ b/npa/doc/README.txt @@ -23,6 +23,7 @@ nPA Smart Card Library GPL version 3 :Tested Platforms: - Windows + - Mac OS X - Linux (Debian, Ubuntu, OpenMoko) The nPA Smart Card Library offers an easy to use API for the new German identity card diff --git a/npa/doc/api.txt b/npa/doc/api.txt index c58b4d0..e0568f6 100644 --- a/npa/doc/api.txt +++ b/npa/doc/api.txt @@ -85,4 +85,3 @@ Functions .. doxygenfunction:: iso_sm_ctx_create .. doxygenfunction:: iso_sm_ctx_clear_free .. doxygenfunction:: iso_sm_start -.. doxygenfunction:: sm_stop