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
Name |
Description |
ctx |
SSL context to query. |
Created with MrDocs