Merge branch 'vendor/MDOCML'
[dragonfly.git] / secure / lib / libcrypto / man / X509_STORE_CTX_get_error.3
1 .\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14)
2 .\"
3 .\" Standard preamble:
4 .\" ========================================================================
5 .de Sp \" Vertical space (when we can't use .PP)
6 .if t .sp .5v
7 .if n .sp
8 ..
9 .de Vb \" Begin verbatim text
10 .ft CW
11 .nf
12 .ne \\$1
13 ..
14 .de Ve \" End verbatim text
15 .ft R
16 .fi
17 ..
18 .\" Set up some character translations and predefined strings.  \*(-- will
19 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
20 .\" double quote, and \*(R" will give a right double quote.  \*(C+ will
21 .\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
22 .\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
23 .\" nothing in troff, for use with C<>.
24 .tr \(*W-
25 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
26 .ie n \{\
27 .    ds -- \(*W-
28 .    ds PI pi
29 .    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 .    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
31 .    ds L" ""
32 .    ds R" ""
33 .    ds C` ""
34 .    ds C' ""
35 'br\}
36 .el\{\
37 .    ds -- \|\(em\|
38 .    ds PI \(*p
39 .    ds L" ``
40 .    ds R" ''
41 'br\}
42 .\"
43 .\" Escape single quotes in literal strings from groff's Unicode transform.
44 .ie \n(.g .ds Aq \(aq
45 .el       .ds Aq '
46 .\"
47 .\" If the F register is turned on, we'll generate index entries on stderr for
48 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
49 .\" entries marked with X<> in POD.  Of course, you'll have to process the
50 .\" output yourself in some meaningful fashion.
51 .ie \nF \{\
52 .    de IX
53 .    tm Index:\\$1\t\\n%\t"\\$2"
54 ..
55 .    nr % 0
56 .    rr F
57 .\}
58 .el \{\
59 .    de IX
60 ..
61 .\}
62 .\"
63 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
64 .\" Fear.  Run.  Save yourself.  No user-serviceable parts.
65 .    \" fudge factors for nroff and troff
66 .if n \{\
67 .    ds #H 0
68 .    ds #V .8m
69 .    ds #F .3m
70 .    ds #[ \f1
71 .    ds #] \fP
72 .\}
73 .if t \{\
74 .    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
75 .    ds #V .6m
76 .    ds #F 0
77 .    ds #[ \&
78 .    ds #] \&
79 .\}
80 .    \" simple accents for nroff and troff
81 .if n \{\
82 .    ds ' \&
83 .    ds ` \&
84 .    ds ^ \&
85 .    ds , \&
86 .    ds ~ ~
87 .    ds /
88 .\}
89 .if t \{\
90 .    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
91 .    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
92 .    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
93 .    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
94 .    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
95 .    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
96 .\}
97 .    \" troff and (daisy-wheel) nroff accents
98 .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
99 .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
100 .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
101 .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
102 .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
103 .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
104 .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
105 .ds ae a\h'-(\w'a'u*4/10)'e
106 .ds Ae A\h'-(\w'A'u*4/10)'E
107 .    \" corrections for vroff
108 .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
109 .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
110 .    \" for low resolution devices (crt and lpr)
111 .if \n(.H>23 .if \n(.V>19 \
112 \{\
113 .    ds : e
114 .    ds 8 ss
115 .    ds o a
116 .    ds d- d\h'-1'\(ga
117 .    ds D- D\h'-1'\(hy
118 .    ds th \o'bp'
119 .    ds Th \o'LP'
120 .    ds ae ae
121 .    ds Ae AE
122 .\}
123 .rm #[ #] #H #V #F C
124 .\" ========================================================================
125 .\"
126 .IX Title "X509_STORE_CTX_get_error 3"
127 .TH X509_STORE_CTX_get_error 3 "2011-02-08" "1.0.0d" "OpenSSL"
128 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
129 .\" way too many mistakes in technical documents.
130 .if n .ad l
131 .nh
132 .SH "NAME"
133 X509_STORE_CTX_get_error, X509_STORE_CTX_set_error, X509_STORE_CTX_get_error_depth, X509_STORE_CTX_get_current_cert, X509_STORE_CTX_get1_chain, X509_verify_cert_error_string \- get or set certificate verification status information
134 .SH "SYNOPSIS"
135 .IX Header "SYNOPSIS"
136 .Vb 2
137 \& #include <openssl/x509.h>
138 \& #include <openssl/x509_vfy.h>
139 \&
140 \& int    X509_STORE_CTX_get_error(X509_STORE_CTX *ctx);
141 \& void   X509_STORE_CTX_set_error(X509_STORE_CTX *ctx,int s);
142 \& int    X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx);
143 \& X509 * X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx);
144 \&
145 \& STACK_OF(X509) *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx);
146 \&
147 \& const char *X509_verify_cert_error_string(long n);
148 .Ve
149 .SH "DESCRIPTION"
150 .IX Header "DESCRIPTION"
151 These functions are typically called after \fIX509_verify_cert()\fR has indicated
152 an error or in a verification callback to determine the nature of an error.
153 .PP
154 \&\fIX509_STORE_CTX_get_error()\fR returns the error code of \fBctx\fR, see
155 the \fB\s-1ERROR\s0 \s-1CODES\s0\fR section for a full description of all error codes.
156 .PP
157 \&\fIX509_STORE_CTX_set_error()\fR sets the error code of \fBctx\fR to \fBs\fR. For example
158 it might be used in a verification callback to set an error based on additional
159 checks.
160 .PP
161 \&\fIX509_STORE_CTX_get_error_depth()\fR returns the \fBdepth\fR of the error. This is a
162 non-negative integer representing where in the certificate chain the error
163 occurred. If it is zero it occured in the end entity certificate, one if
164 it is the certificate which signed the end entity certificate and so on.
165 .PP
166 \&\fIX509_STORE_CTX_get_current_cert()\fR returns the certificate in \fBctx\fR which
167 caused the error or \fB\s-1NULL\s0\fR if no certificate is relevant.
168 .PP
169 \&\fIX509_STORE_CTX_get1_chain()\fR returns a complete validate chain if a previous
170 call to \fIX509_verify_cert()\fR is successful. If the call to \fIX509_verify_cert()\fR
171 is \fBnot\fR successful the returned chain may be incomplete or invalid. The
172 returned chain persists after the \fBctx\fR structure is freed, when it is
173 no longer needed it should be free up using:
174 .PP
175 .Vb 1
176 \&  sk_X509_pop_free(chain, X509_free);
177 .Ve
178 .PP
179 \&\fIX509_verify_cert_error_string()\fR returns a human readable error string for
180 verification error \fBn\fR.
181 .SH "RETURN VALUES"
182 .IX Header "RETURN VALUES"
183 \&\fIX509_STORE_CTX_get_error()\fR returns \fBX509_V_OK\fR or an error code.
184 .PP
185 \&\fIX509_STORE_CTX_get_error_depth()\fR returns a non-negative error depth.
186 .PP
187 \&\fIX509_STORE_CTX_get_current_cert()\fR returns the cerificate which caused the
188 error or \fB\s-1NULL\s0\fR if no certificate is relevant to the error.
189 .PP
190 \&\fIX509_verify_cert_error_string()\fR returns a human readable error string for
191 verification error \fBn\fR.
192 .SH "ERROR CODES"
193 .IX Header "ERROR CODES"
194 A list of error codes and messages is shown below.  Some of the
195 error codes are defined but currently never returned: these are described as
196 \&\*(L"unused\*(R".
197 .IP "\fBX509_V_OK: ok\fR" 4
198 .IX Item "X509_V_OK: ok"
199 the operation was successful.
200 .IP "\fBX509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: unable to get issuer certificate\fR" 4
201 .IX Item "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: unable to get issuer certificate"
202 the issuer certificate could not be found: this occurs if the issuer certificate
203 of an untrusted certificate cannot be found.
204 .IP "\fBX509_V_ERR_UNABLE_TO_GET_CRL: unable to get certificate \s-1CRL\s0\fR" 4
205 .IX Item "X509_V_ERR_UNABLE_TO_GET_CRL: unable to get certificate CRL"
206 the \s-1CRL\s0 of a certificate could not be found.
207 .IP "\fBX509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE: unable to decrypt certificate's signature\fR" 4
208 .IX Item "X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE: unable to decrypt certificate's signature"
209 the certificate signature could not be decrypted. This means that the actual
210 signature value could not be determined rather than it not matching the
211 expected value, this is only meaningful for \s-1RSA\s0 keys.
212 .IP "\fBX509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE: unable to decrypt \s-1CRL\s0's signature\fR" 4
213 .IX Item "X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE: unable to decrypt CRL's signature"
214 the \s-1CRL\s0 signature could not be decrypted: this means that the actual signature
215 value could not be determined rather than it not matching the expected value.
216 Unused.
217 .IP "\fBX509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY: unable to decode issuer public key\fR" 4
218 .IX Item "X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY: unable to decode issuer public key"
219 the public key in the certificate SubjectPublicKeyInfo could not be read.
220 .IP "\fBX509_V_ERR_CERT_SIGNATURE_FAILURE: certificate signature failure\fR" 4
221 .IX Item "X509_V_ERR_CERT_SIGNATURE_FAILURE: certificate signature failure"
222 the signature of the certificate is invalid.
223 .IP "\fBX509_V_ERR_CRL_SIGNATURE_FAILURE: \s-1CRL\s0 signature failure\fR" 4
224 .IX Item "X509_V_ERR_CRL_SIGNATURE_FAILURE: CRL signature failure"
225 the signature of the certificate is invalid.
226 .IP "\fBX509_V_ERR_CERT_NOT_YET_VALID: certificate is not yet valid\fR" 4
227 .IX Item "X509_V_ERR_CERT_NOT_YET_VALID: certificate is not yet valid"
228 the certificate is not yet valid: the notBefore date is after the current time.
229 .IP "\fBX509_V_ERR_CERT_HAS_EXPIRED: certificate has expired\fR" 4
230 .IX Item "X509_V_ERR_CERT_HAS_EXPIRED: certificate has expired"
231 the certificate has expired: that is the notAfter date is before the current time.
232 .IP "\fBX509_V_ERR_CRL_NOT_YET_VALID: \s-1CRL\s0 is not yet valid\fR" 4
233 .IX Item "X509_V_ERR_CRL_NOT_YET_VALID: CRL is not yet valid"
234 the \s-1CRL\s0 is not yet valid.
235 .IP "\fBX509_V_ERR_CRL_HAS_EXPIRED: \s-1CRL\s0 has expired\fR" 4
236 .IX Item "X509_V_ERR_CRL_HAS_EXPIRED: CRL has expired"
237 the \s-1CRL\s0 has expired.
238 .IP "\fBX509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD: format error in certificate's notBefore field\fR" 4
239 .IX Item "X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD: format error in certificate's notBefore field"
240 the certificate notBefore field contains an invalid time.
241 .IP "\fBX509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD: format error in certificate's notAfter field\fR" 4
242 .IX Item "X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD: format error in certificate's notAfter field"
243 the certificate notAfter field contains an invalid time.
244 .IP "\fBX509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD: format error in \s-1CRL\s0's lastUpdate field\fR" 4
245 .IX Item "X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD: format error in CRL's lastUpdate field"
246 the \s-1CRL\s0 lastUpdate field contains an invalid time.
247 .IP "\fBX509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD: format error in \s-1CRL\s0's nextUpdate field\fR" 4
248 .IX Item "X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD: format error in CRL's nextUpdate field"
249 the \s-1CRL\s0 nextUpdate field contains an invalid time.
250 .IP "\fBX509_V_ERR_OUT_OF_MEM: out of memory\fR" 4
251 .IX Item "X509_V_ERR_OUT_OF_MEM: out of memory"
252 an error occurred trying to allocate memory. This should never happen.
253 .IP "\fBX509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT: self signed certificate\fR" 4
254 .IX Item "X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT: self signed certificate"
255 the passed certificate is self signed and the same certificate cannot be found
256 in the list of trusted certificates.
257 .IP "\fBX509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN: self signed certificate in certificate chain\fR" 4
258 .IX Item "X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN: self signed certificate in certificate chain"
259 the certificate chain could be built up using the untrusted certificates but
260 the root could not be found locally.
261 .IP "\fBX509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY: unable to get local issuer certificate\fR" 4
262 .IX Item "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY: unable to get local issuer certificate"
263 the issuer certificate of a locally looked up certificate could not be found.
264 This normally means the list of trusted certificates is not complete.
265 .IP "\fBX509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE: unable to verify the first certificate\fR" 4
266 .IX Item "X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE: unable to verify the first certificate"
267 no signatures could be verified because the chain contains only one certificate
268 and it is not self signed.
269 .IP "\fBX509_V_ERR_CERT_CHAIN_TOO_LONG: certificate chain too long\fR" 4
270 .IX Item "X509_V_ERR_CERT_CHAIN_TOO_LONG: certificate chain too long"
271 the certificate chain length is greater than the supplied maximum depth. Unused.
272 .IP "\fBX509_V_ERR_CERT_REVOKED: certificate revoked\fR" 4
273 .IX Item "X509_V_ERR_CERT_REVOKED: certificate revoked"
274 the certificate has been revoked.
275 .IP "\fBX509_V_ERR_INVALID_CA: invalid \s-1CA\s0 certificate\fR" 4
276 .IX Item "X509_V_ERR_INVALID_CA: invalid CA certificate"
277 a \s-1CA\s0 certificate is invalid. Either it is not a \s-1CA\s0 or its extensions are not
278 consistent with the supplied purpose.
279 .IP "\fBX509_V_ERR_PATH_LENGTH_EXCEEDED: path length constraint exceeded\fR" 4
280 .IX Item "X509_V_ERR_PATH_LENGTH_EXCEEDED: path length constraint exceeded"
281 the basicConstraints pathlength parameter has been exceeded.
282 .IP "\fBX509_V_ERR_INVALID_PURPOSE: unsupported certificate purpose\fR" 4
283 .IX Item "X509_V_ERR_INVALID_PURPOSE: unsupported certificate purpose"
284 the supplied certificate cannot be used for the specified purpose.
285 .IP "\fBX509_V_ERR_CERT_UNTRUSTED: certificate not trusted\fR" 4
286 .IX Item "X509_V_ERR_CERT_UNTRUSTED: certificate not trusted"
287 the root \s-1CA\s0 is not marked as trusted for the specified purpose.
288 .IP "\fBX509_V_ERR_CERT_REJECTED: certificate rejected\fR" 4
289 .IX Item "X509_V_ERR_CERT_REJECTED: certificate rejected"
290 the root \s-1CA\s0 is marked to reject the specified purpose.
291 .IP "\fBX509_V_ERR_SUBJECT_ISSUER_MISMATCH: subject issuer mismatch\fR" 4
292 .IX Item "X509_V_ERR_SUBJECT_ISSUER_MISMATCH: subject issuer mismatch"
293 the current candidate issuer certificate was rejected because its subject name
294 did not match the issuer name of the current certificate. This is only set
295 if issuer check debugging is enabled it is used for status notification and
296 is \fBnot\fR in itself an error.
297 .IP "\fBX509_V_ERR_AKID_SKID_MISMATCH: authority and subject key identifier mismatch\fR" 4
298 .IX Item "X509_V_ERR_AKID_SKID_MISMATCH: authority and subject key identifier mismatch"
299 the current candidate issuer certificate was rejected because its subject key
300 identifier was present and did not match the authority key identifier current
301 certificate. This is only set if issuer check debugging is enabled it is used
302 for status notification and is \fBnot\fR in itself an error.
303 .IP "\fBX509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH: authority and issuer serial number mismatch\fR" 4
304 .IX Item "X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH: authority and issuer serial number mismatch"
305 the current candidate issuer certificate was rejected because its issuer name
306 and serial number was present and did not match the authority key identifier of
307 the current certificate. This is only set if issuer check debugging is enabled
308 it is used for status notification and is \fBnot\fR in itself an error.
309 .IP "\fBX509_V_ERR_KEYUSAGE_NO_CERTSIGN:key usage does not include certificate signing\fR" 4
310 .IX Item "X509_V_ERR_KEYUSAGE_NO_CERTSIGN:key usage does not include certificate signing"
311 the current candidate issuer certificate was rejected because its keyUsage
312 extension does not permit certificate signing. This is only set if issuer check
313 debugging is enabled it is used for status notification and is \fBnot\fR in itself
314 an error.
315 .IP "\fBX509_V_ERR_INVALID_EXTENSION: invalid or inconsistent certificate extension\fR" 4
316 .IX Item "X509_V_ERR_INVALID_EXTENSION: invalid or inconsistent certificate extension"
317 A certificate extension had an invalid value (for example an incorrect
318 encoding) or some value inconsistent with other extensions.
319 .IP "\fBX509_V_ERR_INVALID_POLICY_EXTENSION: invalid or inconsistent certificate policy extension\fR" 4
320 .IX Item "X509_V_ERR_INVALID_POLICY_EXTENSION: invalid or inconsistent certificate policy extension"
321 A certificate policies extension had an invalid value (for example an incorrect
322 encoding) or some value inconsistent with other extensions. This error only
323 occurs if policy processing is enabled.
324 .IP "\fBX509_V_ERR_NO_EXPLICIT_POLICY: no explicit policy\fR" 4
325 .IX Item "X509_V_ERR_NO_EXPLICIT_POLICY: no explicit policy"
326 The verification flags were set to require and explicit policy but none was
327 present.
328 .IP "\fBX509_V_ERR_DIFFERENT_CRL_SCOPE: Different \s-1CRL\s0 scope\fR" 4
329 .IX Item "X509_V_ERR_DIFFERENT_CRL_SCOPE: Different CRL scope"
330 The only CRLs that could be found did not match the scope of the certificate.
331 .IP "\fBX509_V_ERR_UNSUPPORTED_EXTENSION_FEATURE: Unsupported extension feature\fR" 4
332 .IX Item "X509_V_ERR_UNSUPPORTED_EXTENSION_FEATURE: Unsupported extension feature"
333 Some feature of a certificate extension is not supported. Unused.
334 .IP "\fBX509_V_ERR_PERMITTED_VIOLATION: permitted subtree violation\fR" 4
335 .IX Item "X509_V_ERR_PERMITTED_VIOLATION: permitted subtree violation"
336 A name constraint violation occured in the permitted subtrees.
337 .IP "\fBX509_V_ERR_EXCLUDED_VIOLATION: excluded subtree violation\fR" 4
338 .IX Item "X509_V_ERR_EXCLUDED_VIOLATION: excluded subtree violation"
339 A name constraint violation occured in the excluded subtrees.
340 .IP "\fBX509_V_ERR_SUBTREE_MINMAX: name constraints minimum and maximum not supported\fR" 4
341 .IX Item "X509_V_ERR_SUBTREE_MINMAX: name constraints minimum and maximum not supported"
342 A certificate name constraints extension included a minimum or maximum field:
343 this is not supported.
344 .IP "\fBX509_V_ERR_UNSUPPORTED_CONSTRAINT_TYPE: unsupported name constraint type\fR" 4
345 .IX Item "X509_V_ERR_UNSUPPORTED_CONSTRAINT_TYPE: unsupported name constraint type"
346 An unsupported name constraint type was encountered. OpenSSL currently only
347 supports directory name, \s-1DNS\s0 name, email and \s-1URI\s0 types.
348 .IP "\fBX509_V_ERR_UNSUPPORTED_CONSTRAINT_SYNTAX: unsupported or invalid name constraint syntax\fR" 4
349 .IX Item "X509_V_ERR_UNSUPPORTED_CONSTRAINT_SYNTAX: unsupported or invalid name constraint syntax"
350 The format of the name constraint is not recognised: for example an email
351 address format of a form not mentioned in \s-1RFC3280\s0. This could be caused by
352 a garbage extension or some new feature not currently supported.
353 .IP "\fBX509_V_ERR_CRL_PATH_VALIDATION_ERROR: \s-1CRL\s0 path validation error\fR" 4
354 .IX Item "X509_V_ERR_CRL_PATH_VALIDATION_ERROR: CRL path validation error"
355 An error occured when attempting to verify the \s-1CRL\s0 path. This error can only
356 happen if extended \s-1CRL\s0 checking is enabled.
357 .IP "\fBX509_V_ERR_APPLICATION_VERIFICATION: application verification failure\fR" 4
358 .IX Item "X509_V_ERR_APPLICATION_VERIFICATION: application verification failure"
359 an application specific error. This will never be returned unless explicitly
360 set by an application.
361 .SH "NOTES"
362 .IX Header "NOTES"
363 The above functions should be used instead of directly referencing the fields
364 in the \fBX509_VERIFY_CTX\fR structure.
365 .PP
366 In versions of OpenSSL before 1.0 the current certificate returned by
367 \&\fIX509_STORE_CTX_get_current_cert()\fR was never \fB\s-1NULL\s0\fR. Applications should
368 check the return value before printing out any debugging information relating
369 to the current certificate.
370 .PP
371 If an unrecognised error code is passed to \fIX509_verify_cert_error_string()\fR the
372 numerical value of the unknown code is returned in a static buffer. This is not
373 thread safe but will never happen unless an invalid code is passed.
374 .SH "SEE ALSO"
375 .IX Header "SEE ALSO"
376 \&\fIX509_verify_cert\fR\|(3)
377 .SH "HISTORY"
378 .IX Header "HISTORY"
379 \&\s-1TBA\s0
380 .SH "POD ERRORS"
381 .IX Header "POD ERRORS"
382 Hey! \fBThe above document had some coding errors, which are explained below:\fR
383 .IP "Around line 281:" 4
384 .IX Item "Around line 281:"
385 You forgot a '=back' before '=head1'