summaryrefslogtreecommitdiff
path: root/src/lib/libssl/doc/SSL_CTX_get_verify_mode.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/doc/SSL_CTX_get_verify_mode.3')
-rw-r--r--src/lib/libssl/doc/SSL_CTX_get_verify_mode.370
1 files changed, 70 insertions, 0 deletions
diff --git a/src/lib/libssl/doc/SSL_CTX_get_verify_mode.3 b/src/lib/libssl/doc/SSL_CTX_get_verify_mode.3
new file mode 100644
index 0000000000..4139229d7b
--- /dev/null
+++ b/src/lib/libssl/doc/SSL_CTX_get_verify_mode.3
@@ -0,0 +1,70 @@
1.Dd $Mdocdate: October 12 2014 $
2.Dt SSL_CTX_GET_VERIFY_MODE 3
3.Os
4.Sh NAME
5.Nm SSL_CTX_get_verify_mode ,
6.Nm SSL_get_verify_mode ,
7.Nm SSL_CTX_get_verify_depth ,
8.Nm SSL_get_verify_depth ,
9.Nm SSL_get_verify_callback ,
10.Nm SSL_CTX_get_verify_callback
11.Nd get currently set verification parameters
12.Sh SYNOPSIS
13.In openssl/ssl.h
14.Ft int
15.Fn SSL_CTX_get_verify_mode "const SSL_CTX *ctx"
16.Ft int
17.Fn SSL_get_verify_mode "const SSL *ssl"
18.Ft int
19.Fn SSL_CTX_get_verify_depth "const SSL_CTX *ctx"
20.Ft int
21.Fn SSL_get_verify_depth "const SSL *ssl"
22.Ft int
23.Fo "(*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))"
24.Fa int "X509_STORE_CTX *"
25.Fc
26.Ft int
27.Fo "(*SSL_get_verify_callback(const SSL *ssl))"
28.Fa int "X509_STORE_CTX *"
29.Fc
30.Sh DESCRIPTION
31.Fn SSL_CTX_get_verify_mode
32returns the verification mode currently set in
33.Fa ctx .
34.Pp
35.Fn SSL_get_verify_mode
36returns the verification mode currently set in
37.Fa ssl .
38.Pp
39.Fn SSL_CTX_get_verify_depth
40returns the verification depth limit currently set
41in
42.Fa ctx .
43If no limit has been explicitly set,
44\(mi1 is returned and the default value will be used.
45.Pp
46.Fn SSL_get_verify_depth
47returns the verification depth limit currently set in
48.Fa ssl .
49If no limit has been explicitly set,
50\(mi1 is returned and the default value will be used.
51.Pp
52.Fn SSL_CTX_get_verify_callback
53returns a function pointer to the verification callback currently set in
54.Fa ctx .
55If no callback was explicitly set, the
56.Dv NULL
57pointer is returned and the default callback will be used.
58.Pp
59.Fn SSL_get_verify_callback
60returns a function pointer to the verification callback currently set in
61.Fa ssl .
62If no callback was explicitly set, the
63.Dv NULL
64pointer is returned and the default callback will be used.
65.Sh RETURN VALUES
66See
67.Sx DESCRIPTION
68.Sh SEE ALSO
69.Xr ssl 3 ,
70.Xr SSL_CTX_set_verify 3