summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2020-10-11 16:14:38 +0000
committerschwarze <>2020-10-11 16:14:38 +0000
commit9bebdfb70dbdd27578ce9096784aba42674545e3 (patch)
treed03b89cf737a0da7239e2917ef120db2ec9e0c67 /src
parentaf6a663711d3d3993dad528fa53865494ffaca28 (diff)
downloadopenbsd-9bebdfb70dbdd27578ce9096784aba42674545e3.tar.gz
openbsd-9bebdfb70dbdd27578ce9096784aba42674545e3.tar.bz2
openbsd-9bebdfb70dbdd27578ce9096784aba42674545e3.zip
In ssl_methods.c rev. 1.18, jsing@ deprecated *_server_method(3)
and *_client_method(3). Adjust the documentation. While here, delete most of the verbiage regarding the deprecated functions SSLv23_*(3) and add the missing entry to RETURN VALUES. OK tb@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/man/SSL_CTX_new.329
1 files changed, 18 insertions, 11 deletions
diff --git a/src/lib/libssl/man/SSL_CTX_new.3 b/src/lib/libssl/man/SSL_CTX_new.3
index 13b3700240..21f4cf08b2 100644
--- a/src/lib/libssl/man/SSL_CTX_new.3
+++ b/src/lib/libssl/man/SSL_CTX_new.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: SSL_CTX_new.3,v 1.12 2020/06/04 18:06:43 schwarze Exp $ 1.\" $OpenBSD: SSL_CTX_new.3,v 1.13 2020/10/11 16:14:38 schwarze Exp $
2.\" full merge up to: OpenSSL 21cd6e00 Oct 21 14:40:15 2015 +0100 2.\" full merge up to: OpenSSL 21cd6e00 Oct 21 14:40:15 2015 +0100
3.\" selective merge up to: OpenSSL 1212818e Sep 11 13:22:14 2018 +0100 3.\" selective merge up to: OpenSSL 8f75443f May 24 14:04:26 2019 +0200
4.\" 4.\"
5.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. 5.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>.
6.\" Copyright (c) 2000, 2005, 2012, 2013, 2015, 2016 The OpenSSL Project. 6.\" Copyright (c) 2000, 2005, 2012, 2013, 2015, 2016 The OpenSSL Project.
@@ -50,7 +50,7 @@
50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
52.\" 52.\"
53.Dd $Mdocdate: June 4 2020 $ 53.Dd $Mdocdate: October 11 2020 $
54.Dt SSL_CTX_NEW 3 54.Dt SSL_CTX_NEW 3
55.Os 55.Os
56.Sh NAME 56.Sh NAME
@@ -178,14 +178,8 @@ methods described below.
178.Fn SSLv23_server_method , 178.Fn SSLv23_server_method ,
179.Fn SSLv23_client_method 179.Fn SSLv23_client_method
180.Xc 180.Xc
181Use of these functions is deprecated. 181These are deprecated aliases for
182They have been replaced with the above 182.Fn TLS_method .
183.Fn TLS_method ,
184.Fn TLS_server_method ,
185and
186.Fn TLS_client_method ,
187respectively.
188New code should use those functions instead.
189.It Xo 183.It Xo
190.Fn TLSv1_method , 184.Fn TLSv1_method ,
191.Fn TLSv1_server_method , 185.Fn TLSv1_server_method ,
@@ -222,6 +216,14 @@ The currently supported protocol is DTLS 1.0.
222These are the version-specific methods for DTLSv1. 216These are the version-specific methods for DTLSv1.
223.El 217.El
224.Pp 218.Pp
219The methods containing the substrings
220.Dq _server
221or
222.Dq _client
223in their names are deprecated.
224In LibreSSL, they return the same objects
225as the methods without these substrings.
226.Pp
225The list of protocols available can also be limited using the 227The list of protocols available can also be limited using the
226.Dv SSL_OP_NO_TLSv1 , 228.Dv SSL_OP_NO_TLSv1 ,
227.Dv SSL_OP_NO_TLSv1_1 , 229.Dv SSL_OP_NO_TLSv1_1 ,
@@ -247,6 +249,11 @@ Check the error stack to find out the reason for failure.
247.Pp 249.Pp
248.Fn SSL_CTX_up_ref 250.Fn SSL_CTX_up_ref
249returns 1 for success or 0 for failure. 251returns 1 for success or 0 for failure.
252.Pp
253.Fn TLS_method
254and the other
255.Fn *_method
256functions return pointers to constant static objects.
250.Sh SEE ALSO 257.Sh SEE ALSO
251.Xr ssl 3 , 258.Xr ssl 3 ,
252.Xr SSL_accept 3 , 259.Xr SSL_accept 3 ,