File: errors_int.h

package info (click to toggle)
libtasn1 0.1.2-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,208 kB
  • ctags: 581
  • sloc: sh: 8,583; ansic: 7,813; yacc: 511; perl: 465; makefile: 134
file content (23 lines) | stat: -rw-r--r-- 716 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* libasn1 error codes. The mapping to a TLS alert is also shown in
 * comments.
 */

#define ASN1_SUCCESS               0
#define ASN1_FILE_NOT_FOUND        1
#define ASN1_ELEMENT_NOT_FOUND     2
#define ASN1_IDENTIFIER_NOT_FOUND  3
#define ASN1_DER_ERROR             4
#define ASN1_VALUE_NOT_FOUND       5
#define ASN1_GENERIC_ERROR         6
#define ASN1_VALUE_NOT_VALID       7
#define ASN1_TAG_ERROR             8
#define ASN1_TAG_IMPLICIT          9
#define ASN1_ERROR_TYPE_ANY        10
#define ASN1_SYNTAX_ERROR          11
#define ASN1_MEM_ERROR		   12
#define ASN1_DER_OVERFLOW          13
#define ASN1_NAME_TOO_LONG         14
#define ASN1_ARRAY_ERROR           15
#define ASN1_ELEMENT_NOT_EMPTY     16