OLD | NEW |
1 /* crypto/x509/x509_txt.c */ | 1 /* crypto/x509/x509_txt.c */ |
2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * This package is an SSL implementation written | 5 * This package is an SSL implementation written |
6 * by Eric Young (eay@cryptsoft.com). | 6 * by Eric Young (eay@cryptsoft.com). |
7 * The implementation was written so as to conform with Netscapes SSL. | 7 * The implementation was written so as to conform with Netscapes SSL. |
8 * | 8 * |
9 * This library is free for commercial and non-commercial use as long as | 9 * This library is free for commercial and non-commercial use as long as |
10 * the following conditions are aheared to. The following conditions | 10 * the following conditions are aheared to. The following conditions |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 case X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE: | 155 case X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE: |
156 return("key usage does not include digital signature"); | 156 return("key usage does not include digital signature"); |
157 case X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION: | 157 case X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION: |
158 return("unhandled critical CRL extension"); | 158 return("unhandled critical CRL extension"); |
159 case X509_V_ERR_INVALID_EXTENSION: | 159 case X509_V_ERR_INVALID_EXTENSION: |
160 return("invalid or inconsistent certificate extension"); | 160 return("invalid or inconsistent certificate extension"); |
161 case X509_V_ERR_INVALID_POLICY_EXTENSION: | 161 case X509_V_ERR_INVALID_POLICY_EXTENSION: |
162 return("invalid or inconsistent certificate policy extension"); | 162 return("invalid or inconsistent certificate policy extension"); |
163 case X509_V_ERR_NO_EXPLICIT_POLICY: | 163 case X509_V_ERR_NO_EXPLICIT_POLICY: |
164 return("no explicit policy"); | 164 return("no explicit policy"); |
165 » case X509_V_ERR_UNNESTED_RESOURCE: | 165 » case X509_V_ERR_DIFFERENT_CRL_SCOPE: |
166 » » return("RFC 3779 resource not subset of parent's resources"); | 166 » return("Different CRL scope"); |
| 167 » case X509_V_ERR_UNSUPPORTED_EXTENSION_FEATURE: |
| 168 » return("Unsupported extension feature"); |
| 169 » case X509_V_ERR_UNNESTED_RESOURCE: |
| 170 » » return("RFC 3779 resource not subset of parent's resources"); |
| 171 |
| 172 » case X509_V_ERR_PERMITTED_VIOLATION: |
| 173 » » return("permitted subtree violation"); |
| 174 » case X509_V_ERR_EXCLUDED_VIOLATION: |
| 175 » » return("excluded subtree violation"); |
| 176 » case X509_V_ERR_SUBTREE_MINMAX: |
| 177 » » return("name constraints minimum and maximum not supported"); |
| 178 » case X509_V_ERR_UNSUPPORTED_CONSTRAINT_TYPE: |
| 179 » » return("unsupported name constraint type"); |
| 180 » case X509_V_ERR_UNSUPPORTED_CONSTRAINT_SYNTAX: |
| 181 » » return("unsupported or invalid name constraint syntax"); |
| 182 » case X509_V_ERR_UNSUPPORTED_NAME_SYNTAX: |
| 183 » » return("unsupported or invalid name syntax"); |
| 184 » case X509_V_ERR_CRL_PATH_VALIDATION_ERROR: |
| 185 » » return("CRL path validation error"); |
| 186 |
167 default: | 187 default: |
168 BIO_snprintf(buf,sizeof buf,"error number %ld",n); | 188 BIO_snprintf(buf,sizeof buf,"error number %ld",n); |
169 return(buf); | 189 return(buf); |
170 } | 190 } |
171 } | 191 } |
172 | 192 |
173 | 193 |
OLD | NEW |