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