1=pod
2
3=head1 NAME
4
5SSL_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
6
7=head1 SYNOPSIS
8
9 #include <openssl/ssl.h>
10
11 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
12 int SSL_get_verify_mode(const SSL *ssl);
13 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
14 int SSL_get_verify_depth(const SSL *ssl);
15 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int, X509_STORE_CTX *);
16 int (*SSL_get_verify_callback(const SSL *ssl))(int, X509_STORE_CTX *);
17
18=head1 DESCRIPTION
19
20SSL_CTX_get_verify_mode() returns the verification mode currently set in
21B<ctx>.
22
23SSL_get_verify_mode() returns the verification mode currently set in
24B<ssl>.
25
26SSL_CTX_get_verify_depth() returns the verification depth limit currently set
27in B<ctx>. If no limit has been explicitly set, -1 is returned and the
28default value will be used.
29
30SSL_get_verify_depth() returns the verification depth limit currently set
31in B<ssl>. If no limit has been explicitly set, -1 is returned and the
32default value will be used.
33
34SSL_CTX_get_verify_callback() returns a function pointer to the verification
35callback currently set in B<ctx>. If no callback was explicitly set, the
36NULL pointer is returned and the default callback will be used.
37
38SSL_get_verify_callback() returns a function pointer to the verification
39callback currently set in B<ssl>. If no callback was explicitly set, the
40NULL pointer is returned and the default callback will be used.
41
42=head1 RETURN VALUES
43
44See DESCRIPTION
45
46=head1 SEE ALSO
47
48L<ssl(3)|ssl(3)>, L<SSL_CTX_set_verify(3)|SSL_CTX_set_verify(3)>
49
50=cut
51