diff options
author | bentley <> | 2014-10-12 09:33:04 +0000 |
---|---|---|
committer | bentley <> | 2014-10-12 09:33:04 +0000 |
commit | 78332233d01faa45e0bb0b1583d47cb5ad1ddc19 (patch) | |
tree | a5087bf8d016a6041c2b6822fbecfd8f6c5e70b1 /src/lib/libssl/doc/SSL_CTX_get_verify_mode.3 | |
parent | 4e737c824fafe5f105e5f4849a9db2569b5d53d8 (diff) | |
download | openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.tar.gz openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.tar.bz2 openbsd-78332233d01faa45e0bb0b1583d47cb5ad1ddc19.zip |
Convert libssl manpages from pod to mdoc(7).
libcrypto has not been started yet.
ok schwarze@ miod@
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.3 | 70 |
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 | ||
32 | returns the verification mode currently set in | ||
33 | .Fa ctx . | ||
34 | .Pp | ||
35 | .Fn SSL_get_verify_mode | ||
36 | returns the verification mode currently set in | ||
37 | .Fa ssl . | ||
38 | .Pp | ||
39 | .Fn SSL_CTX_get_verify_depth | ||
40 | returns the verification depth limit currently set | ||
41 | in | ||
42 | .Fa ctx . | ||
43 | If 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 | ||
47 | returns the verification depth limit currently set in | ||
48 | .Fa ssl . | ||
49 | If 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 | ||
53 | returns a function pointer to the verification callback currently set in | ||
54 | .Fa ctx . | ||
55 | If no callback was explicitly set, the | ||
56 | .Dv NULL | ||
57 | pointer is returned and the default callback will be used. | ||
58 | .Pp | ||
59 | .Fn SSL_get_verify_callback | ||
60 | returns a function pointer to the verification callback currently set in | ||
61 | .Fa ssl . | ||
62 | If no callback was explicitly set, the | ||
63 | .Dv NULL | ||
64 | pointer is returned and the default callback will be used. | ||
65 | .Sh RETURN VALUES | ||
66 | See | ||
67 | .Sx DESCRIPTION | ||
68 | .Sh SEE ALSO | ||
69 | .Xr ssl 3 , | ||
70 | .Xr SSL_CTX_set_verify 3 | ||