dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / gss_mechs / mech_krb5 / et / asn1_err.c
blob3c927d11c78c7e2cbfd2fd7c38738c68de458130
1 /*
2 * Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
6 #pragma ident "%Z%%M% %I% %E% SMI"
8 #include <locale.h>
9 const char *
10 asn1_error_table(long errorno) {
12 switch (errorno) {
13 case 0:
14 return(dgettext(TEXT_DOMAIN,
15 "ASN.1 failed call to system time library"));
16 case 1:
17 return(dgettext(TEXT_DOMAIN,
18 "ASN.1 structure is missing a required field"));
19 case 2:
20 return(dgettext(TEXT_DOMAIN,
21 "ASN.1 unexpected field number"));
22 case 3:
23 return(dgettext(TEXT_DOMAIN,
24 "ASN.1 type numbers are inconsistent"));
25 case 4:
26 return(dgettext(TEXT_DOMAIN,
27 "ASN.1 value too large"));
28 case 5:
29 return(dgettext(TEXT_DOMAIN,
30 "ASN.1 encoding ended unexpectedly"));
31 case 6:
32 return(dgettext(TEXT_DOMAIN,
33 "ASN.1 identifier doesn't match expected value"));
34 case 7:
35 return(dgettext(TEXT_DOMAIN,
36 "ASN.1 length doesn't match expected value"));
37 case 8:
38 return(dgettext(TEXT_DOMAIN,
39 "ASN.1 badly-formatted encoding"));
40 case 9:
41 return(dgettext(TEXT_DOMAIN,
42 "ASN.1 parse error"));
43 case 10:
44 return(dgettext(TEXT_DOMAIN,
45 "ASN.1 bad return from gmtime"));
46 case 11:
47 return(dgettext(TEXT_DOMAIN,
48 "ASN.1 non-constructed indefinite encoding"));
49 case 12:
50 return(dgettext(TEXT_DOMAIN,
51 "ASN.1 missing expected EOC"));
52 default:
53 return("unknown error");