add error messages
This commit is contained in:
@@ -51,6 +51,9 @@ static const err_t errors[] = {
|
|||||||
ERR (YKPIV_GENERIC_ERROR, "Something went wrong."),
|
ERR (YKPIV_GENERIC_ERROR, "Something went wrong."),
|
||||||
ERR (YKPIV_KEY_ERROR, "Error in key"),
|
ERR (YKPIV_KEY_ERROR, "Error in key"),
|
||||||
ERR (YKPIV_PARSE_ERROR, "Parse error"),
|
ERR (YKPIV_PARSE_ERROR, "Parse error"),
|
||||||
|
ERR (YKPIV_WRONG_PIN, "Wrong PIN code"),
|
||||||
|
ERR (YKPIV_INVALID_OBJECT, "Object invalid"),
|
||||||
|
ERR (YKPIV_ALGORITHM_ERROR, "Algorithm error"),
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user