SSL_CTX_get_verify_depth

Return the maximum depth of certificate chain verification for an SSL context.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CTX_get_verify_depth(SSL_CTX const* ctx);

Return Value

Verify depth previously set with SSL_CTX_set_verify_depth() (0 means only the peer certificate).

Parameters

NameDescription
ctxSSL context to query.