1 /* libasn1 error codes. The mapping to a TLS alert is also shown in
6 #define ASN1_FILE_NOT_FOUND 1
7 #define ASN1_ELEMENT_NOT_FOUND 2
8 #define ASN1_IDENTIFIER_NOT_FOUND 3
9 #define ASN1_DER_ERROR 4
10 #define ASN1_VALUE_NOT_FOUND 5
11 #define ASN1_GENERIC_ERROR 6
12 #define ASN1_VALUE_NOT_VALID 7
13 #define ASN1_TAG_ERROR 8
14 #define ASN1_TAG_IMPLICIT 9
15 #define ASN1_ERROR_TYPE_ANY 10
16 #define ASN1_SYNTAX_ERROR 11
17 #define ASN1_MEM_ERROR 12
18 #define ASN1_MEM_ALLOC_ERROR 13
19 #define ASN1_DER_OVERFLOW 14
20 #define ASN1_NAME_TOO_LONG 15
21 #define ASN1_ARRAY_ERROR 16
22 #define ASN1_ELEMENT_NOT_EMPTY 17