diff options
author | tb <> | 2021-05-11 19:48:56 +0000 |
---|---|---|
committer | tb <> | 2021-05-11 19:48:56 +0000 |
commit | a448ec1796224046b27ab5a2b40487da803fe552 (patch) | |
tree | bb5799986e59dc8e71ba0c4bf04b028ca4a9a6a9 | |
parent | 1e4dd905576ae1e0c6e035e688a23ef47d6a128f (diff) | |
download | openbsd-a448ec1796224046b27ab5a2b40487da803fe552.tar.gz openbsd-a448ec1796224046b27ab5a2b40487da803fe552.tar.bz2 openbsd-a448ec1796224046b27ab5a2b40487da803fe552.zip |
Document SSL_CTX_get_ssl_method(3)
-rw-r--r-- | src/lib/libssl/man/SSL_CTX_set_ssl_version.3 | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/lib/libssl/man/SSL_CTX_set_ssl_version.3 b/src/lib/libssl/man/SSL_CTX_set_ssl_version.3 index eb29af620c..b1bdb92bb0 100644 --- a/src/lib/libssl/man/SSL_CTX_set_ssl_version.3 +++ b/src/lib/libssl/man/SSL_CTX_set_ssl_version.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: SSL_CTX_set_ssl_version.3,v 1.4 2018/03/27 17:35:50 schwarze Exp $ | 1 | .\" $OpenBSD: SSL_CTX_set_ssl_version.3,v 1.5 2021/05/11 19:48:56 tb Exp $ |
2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 | 2 | .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 |
3 | .\" | 3 | .\" |
4 | .\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. | 4 | .\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. |
@@ -48,12 +48,13 @@ | |||
48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
50 | .\" | 50 | .\" |
51 | .Dd $Mdocdate: March 27 2018 $ | 51 | .Dd $Mdocdate: May 11 2021 $ |
52 | .Dt SSL_CTX_SET_SSL_VERSION 3 | 52 | .Dt SSL_CTX_SET_SSL_VERSION 3 |
53 | .Os | 53 | .Os |
54 | .Sh NAME | 54 | .Sh NAME |
55 | .Nm SSL_CTX_set_ssl_version , | 55 | .Nm SSL_CTX_set_ssl_version , |
56 | .Nm SSL_set_ssl_method , | 56 | .Nm SSL_set_ssl_method , |
57 | .Nm SSL_CTX_get_ssl_method , | ||
57 | .Nm SSL_get_ssl_method | 58 | .Nm SSL_get_ssl_method |
58 | .Nd choose a new TLS/SSL method | 59 | .Nd choose a new TLS/SSL method |
59 | .Sh SYNOPSIS | 60 | .Sh SYNOPSIS |
@@ -63,6 +64,8 @@ | |||
63 | .Ft int | 64 | .Ft int |
64 | .Fn SSL_set_ssl_method "SSL *s" "const SSL_METHOD *method" | 65 | .Fn SSL_set_ssl_method "SSL *s" "const SSL_METHOD *method" |
65 | .Ft const SSL_METHOD * | 66 | .Ft const SSL_METHOD * |
67 | .Fn SSL_CTX_get_ssl_method "SSL_CTX *ctx" | ||
68 | .Ft const SSL_METHOD * | ||
66 | .Fn SSL_get_ssl_method "SSL *ssl" | 69 | .Fn SSL_get_ssl_method "SSL *ssl" |
67 | .Sh DESCRIPTION | 70 | .Sh DESCRIPTION |
68 | .Fn SSL_CTX_set_ssl_version | 71 | .Fn SSL_CTX_set_ssl_version |
@@ -90,9 +93,14 @@ It may be reset when | |||
90 | .Xr SSL_clear 3 | 93 | .Xr SSL_clear 3 |
91 | is called. | 94 | is called. |
92 | .Pp | 95 | .Pp |
96 | .Fn SSL_CTX_get_ssl_method | ||
97 | and | ||
93 | .Fn SSL_get_ssl_method | 98 | .Fn SSL_get_ssl_method |
94 | returns a function pointer to the TLS/SSL method set in | 99 | return a function pointer to the TLS/SSL method set in |
95 | .Fa ssl . | 100 | .Fa ctx |
101 | and | ||
102 | .Fa ssl , | ||
103 | respectively. | ||
96 | .Pp | 104 | .Pp |
97 | The available | 105 | The available |
98 | .Fa method | 106 | .Fa method |
@@ -133,3 +141,6 @@ and | |||
133 | .Fn SSL_get_ssl_method | 141 | .Fn SSL_get_ssl_method |
134 | first appeared in SSLeay 0.8.0 and have been available since | 142 | first appeared in SSLeay 0.8.0 and have been available since |
135 | .Ox 2.4 . | 143 | .Ox 2.4 . |
144 | .Fn SSL_CTX_get_ssl_method | ||
145 | first appeared in OpenSSL 1.1.0 and has been available since | ||
146 | .Ox 7.0 . | ||