From: GitHub <no...@gi...> - 2013-03-15 10:32:10
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 99016822883f3358f74d0f05deb80259f4233634 https://github.com/OpenSC/OpenSC/commit/99016822883f3358f74d0f05deb80259f4233634 Author: Martin Paljak <ma...@ma...> Date: 2013-03-15 (Fri, 15 Mar 2013) Changed paths: M src/libopensc/errors.c M src/libopensc/errors.h M src/libopensc/iso7816.c Log Message: ----------- Normalize SC_ERROR_* API and clean up ISO7816-4 errors. * iso7816_check_sw() emits a "informational message" (from ISO7816-4 table 6) * SW-s which are not known or not meaningful for internal API get translated to SC_ERROR_CARD_CMD_FAILED by default, so use it also in the SW table * Remove undefined SW-s and move generic SW-s to their sequential location. This commit improves 8fc679bf4062bc1d74092ed51eab663620dabaef |