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
11160814Ssimon int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
12160814Ssimon int SSL_get_verify_mode(const SSL *ssl);
13160814Ssimon int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
14160814Ssimon int SSL_get_verify_depth(const SSL *ssl);
15160814Ssimon int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int, X509_STORE_CTX *);
16160814Ssimon int (*SSL_get_verify_callback(const 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