Lines Matching full:depth
159 \& void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth);
160 \& void SSL_set_verify_depth(SSL *ssl, int depth);
195 callback (e.g., at a lower depth, or for a separate error condition) returns 0.
197 \&\fBSSL_CTX_set_verify_depth()\fR sets the maximum \fBdepth\fR for the certificate chain
200 \&\fBSSL_set_verify_depth()\fR sets the maximum \fBdepth\fR for the certificate chain
277 application provided procedure also has access to the verify depth information
284 end-entity nor the trust-anchor certificates count against \fBdepth\fR. If the
285 certificate chain needed to reach a trusted issuer is longer than \fBdepth+2\fR,
287 The depth count is \*(L"level 0:peer certificate\*(R", \*(L"level 1: \s-1CA\s0 certificate\*(R",
289 depth to 2 allows the levels 0, 1, 2 and 3 (0 being the end-entity and 3 the
291 The default depth limit is 100,
359 failure, if wished. The callback realizes a verification depth limit with
386 \& int err, depth;
392 \& depth = X509_STORE_CTX_get_error_depth(ctx);
404 \& * Catch a too long certificate chain. The depth limit set using
406 \& * that whenever the "depth>verify_depth" condition is met, we
412 \& if (depth > mydata\->verify_depth) {
418 \& printf("verify error:num=%d:%s:depth=%d:%s\en", err,
419 \& X509_verify_cert_error_string(err), depth, buf);
421 \& printf("depth=%d:%s\en", depth, buf);