SSL_CTX_get_verify_mode, SSL_get_verify_mode, SSL_CTX_get_verify_depth, SSL_get_verify_depth, SSL_get_verify_callback, SSL_CTX_get_verify_callback \- get currently set verification parameters
.SH"SYNOPSIS"
.IXHeader"SYNOPSIS"
.Vb1
\& #include <openssl/ssl.h>
.Ve
.Vb6
\& int SSL_CTX_get_verify_mode(SSL_CTX *ctx);
\& int SSL_get_verify_mode(SSL *ssl);
\& int SSL_CTX_get_verify_depth(SSL_CTX *ctx);
\& int SSL_get_verify_depth(SSL *ssl);
\& int (*SSL_CTX_get_verify_callback(SSL_CTX *ctx))(int, X509_STORE_CTX *);
\& int (*SSL_get_verify_callback(SSL *ssl))(int, X509_STORE_CTX *);
.Ve
.SH"DESCRIPTION"
.IXHeader"DESCRIPTION"
\&\fISSL_CTX_get_verify_mode()\fR returns the verification mode currently set in
\&\fBctx\fR.
.PP
\&\fISSL_get_verify_mode()\fR returns the verification mode currently set in
\&\fBssl\fR.
.PP
\&\fISSL_CTX_get_verify_depth()\fR returns the verification depth limit currently set
in \fBctx\fR. If no limit has been explicitly set, \-1 is returned and the
default value will be used.
.PP
\&\fISSL_get_verify_depth()\fR returns the verification depth limit currently set
in \fBssl\fR. If no limit has been explicitly set, \-1 is returned and the
default value will be used.
.PP
\&\fISSL_CTX_get_verify_callback()\fR returns a function pointer to the verification
callback currently set in \fBctx\fR. If no callback was explicitly set, the
\&\s-1NULL\s0 pointer is returned and the default callback will be used.
.PP
\&\fISSL_get_verify_callback()\fR returns a function pointer to the verification
callback currently set in \fBssl\fR. If no callback was explicitly set, the
\&\s-1NULL\s0 pointer is returned and the default callback will be used.