diff --git a/src/libopensc/errors.c b/src/libopensc/errors.c index be4d967d..fd304e73 100644 --- a/src/libopensc/errors.c +++ b/src/libopensc/errors.c @@ -38,6 +38,7 @@ const char *sc_strerror(int error) "Input operation canelled (keypad)", "The two PINs did not match (keypad)", "Message too long (keypad)", + "Timeout while waiting for event (card reader)", }; const int rdr_base = -SC_ERROR_READER; const char *card_errors[] = { diff --git a/src/libopensc/errors.h b/src/libopensc/errors.h index d2e3a0fc..59c01803 100644 --- a/src/libopensc/errors.h +++ b/src/libopensc/errors.h @@ -41,6 +41,7 @@ extern "C" { #define SC_ERROR_KEYPAD_CANCELLED -1109 #define SC_ERROR_KEYPAD_PIN_MISMATCH -1110 #define SC_ERROR_KEYPAD_MSG_TOO_LONG -1111 +#define SC_ERROR_EVENT_TIMEOUT -1112 /* Resulting from a card command or related to the card*/ #define SC_ERROR_CARD_CMD_FAILED -1200