SSL_CTX_get_verify_mode.pod revision 72613
172613Skris=pod 272613Skris 372613Skris=head1 NAME 472613Skris 572613SkrisSSL_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 672613Skris 772613Skris=head1 SYNOPSIS 872613Skris 972613Skris #include <openssl/ssl.h> 1072613Skris 1172613Skris int SSL_CTX_get_verify_mode(SSL_CTX *ctx); 1272613Skris int SSL_get_verify_mode(SSL *ssl); 1372613Skris int SSL_CTX_get_verify_depth(SSL_CTX *ctx); 1472613Skris int SSL_get_verify_depth(SSL *ssl); 1572613Skris int (*SSL_CTX_get_verify_callback(SSL_CTX *ctx))(int, X509_STORE_CTX *); 1672613Skris int (*SSL_get_verify_callback(SSL *ssl))(int, X509_STORE_CTX *); 1772613Skris 1872613Skris=head1 DESCRIPTION 1972613Skris 2072613SkrisSSL_CTX_get_verify_mode() returns the verification mode currently set in 2172613SkrisB<ctx>. 2272613Skris 2372613SkrisSSL_get_verify_mode() returns the verification mode currently set in 2472613SkrisB<ssl>. 2572613Skris 2672613SkrisSSL_CTX_get_verify_depth() returns the verification depth limit currently set 2772613Skrisin B<ctx>. If no limit has been explicitly set, -1 is returned and the 2872613Skrisdefault value will be used. 2972613Skris 3072613SkrisSSL_get_verify_depth() returns the verification depth limit currently set 3172613Skrisin B<ssl>. If no limit has been explicitly set, -1 is returned and the 3272613Skrisdefault value will be used. 3372613Skris 3472613SkrisSSL_CTX_get_verify_callback() returns a function pointer to the verification 3572613Skriscallback currently set in B<ctx>. If no callback was explicitly set, the 3672613SkrisNULL pointer is returned and the default callback will be used. 3772613Skris 3872613SkrisSSL_get_verify_callback() returns a function pointer to the verification 3972613Skriscallback currently set in B<ssl>. If no callback was explicitly set, the 4072613SkrisNULL pointer is returned and the default callback will be used. 4172613Skris 4272613Skris=head1 RETURN VALUES 4372613Skris 4472613SkrisSee DESCRIPTION 4572613Skris 4672613Skris=head1 SEE ALSO 4772613Skris 4872613SkrisL<ssl(3)|ssl(3)>, L<SSL_CTX_set_verify(3)|SSL_CTX_set_verify(3)> 4972613Skris 5072613Skris=cut 51