add CRYPT_PK_ASN1_ERROR

This commit is contained in:
Steffen Jaeckel 2017-11-20 15:48:08 +01:00
parent 54dd6ce840
commit 2a78ed31bf
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ enum {
CRYPT_OVERFLOW, /* An overflow of a value was detected/prevented */
CRYPT_UNUSED1, /* UNUSED1 */
CRYPT_PK_ASN1_ERROR, /* An error occurred while en- or decoding ASN.1 data */
CRYPT_INPUT_TOO_LONG, /* The input was longer than expected. */

View File

@ -47,7 +47,7 @@ static const crypt_constant _crypt_constants[] = {
_C_STRINGIFY(CRYPT_FILE_NOTFOUND),
_C_STRINGIFY(CRYPT_PK_INVALID_TYPE),
_C_STRINGIFY(CRYPT_OVERFLOW),
_C_STRINGIFY(CRYPT_UNUSED1),
_C_STRINGIFY(CRYPT_PK_ASN1_ERROR),
_C_STRINGIFY(CRYPT_INPUT_TOO_LONG),
_C_STRINGIFY(CRYPT_PK_INVALID_SIZE),
_C_STRINGIFY(CRYPT_INVALID_PRIME_SIZE),

View File

@ -46,7 +46,7 @@ static const char * const err_2_str[] =
"An overflow of a value was detected/prevented.",
"UNUSED1.",
"An ASN.1 decoding error occurred.",
"The input was longer than expected.",