[#SSL_CTX_set_verify_depth] = SSL_CTX_set_verify_depth :mrdocs: Set the maximum depth of CA certificates allowed above the peer for context‐wide verification. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SSL_CTX_set_verify_depth( xref:SSL_CTX.adoc[SSL_CTX]* ctx, int depth); ---- == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context whose default verify depth is set (inherited by SSL_new). | *depth* | Maximum number of intermediate CA certificates permitted in the chain. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#