Branch: refs/heads/master
Home: https://github.com/OpenSC/OpenSC
Commit: 8fc679bf4062bc1d74092ed51eab663620dabaef
https://github.com/OpenSC/OpenSC/commit/8fc679bf4062bc1d74092ed51eab663620dabaef
Author: Viktor Tarasov <vik...@gm...>
Date: 2013-03-02 (Sat, 02 Mar 2013)
Changed paths:
M src/libopensc/card.c
M src/libopensc/errors.c
M src/libopensc/errors.h
M src/libopensc/iasecc-sdo.c
M src/libopensc/iso7816.c
M src/libopensc/pkcs15-oberthur.c
M src/pkcs15init/pkcs15-iasecc.c
M src/smm/sm-global-platform.c
Log Message:
-----------
libopensc: invalid usage of SC_ERROR_MEMORY_FAILURE
Initiated by discussion in https://github.com/OpenSC/OpenSC/pull/134 .
SC_ERROR_MEMORY_FAILURE has to be used as a resulting code of the card related operations,
and not as result of the memory allocation problems.
New 'warning' category of SC_ERRORs introduced -- SC_WARNING_xx .
Error text and SC_ERROR associated with return codes 6300 and 6200 has been changed.
|