summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2020-10-12 09:18:33 +0000
committerschwarze <>2020-10-12 09:18:33 +0000
commit1e55aa5c34ebdd78294273a400cf59611c4372e7 (patch)
treeb63a8d316761a0e70afd2281a05e86ac15f6bdc4 /src
parent9bebdfb70dbdd27578ce9096784aba42674545e3 (diff)
downloadopenbsd-1e55aa5c34ebdd78294273a400cf59611c4372e7.tar.gz
openbsd-1e55aa5c34ebdd78294273a400cf59611c4372e7.tar.bz2
openbsd-1e55aa5c34ebdd78294273a400cf59611c4372e7.zip
List and describe the recommended methods first and relegate the
deprecated methods to a separate table. Simplify and shorten the surrounding verbiage. Joint work with tb@.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/man/SSL_CTX_new.353
1 files changed, 26 insertions, 27 deletions
diff --git a/src/lib/libssl/man/SSL_CTX_new.3 b/src/lib/libssl/man/SSL_CTX_new.3
index 21f4cf08b2..cb7ff67d60 100644
--- a/src/lib/libssl/man/SSL_CTX_new.3
+++ b/src/lib/libssl/man/SSL_CTX_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: SSL_CTX_new.3,v 1.13 2020/10/11 16:14:38 schwarze Exp $ 1.\" $OpenBSD: SSL_CTX_new.3,v 1.14 2020/10/12 09:18:33 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 8f75443f May 24 14:04:26 2019 +0200 3.\" selective merge up to: OpenSSL 8f75443f May 24 14:04:26 2019 +0200
4.\" 4.\"
@@ -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: October 11 2020 $ 53.Dd $Mdocdate: October 12 2020 $
54.Dt SSL_CTX_NEW 3 54.Dt SSL_CTX_NEW 3
55.Os 55.Os
56.Sh NAME 56.Sh NAME
@@ -156,31 +156,38 @@ The
156.Vt SSL_CTX 156.Vt SSL_CTX
157object uses 157object uses
158.Fa method 158.Fa method
159as its connection method. 159as its connection method, which can be:
160The methods exist in a generic type (for client and server use),
161a server only type, and a client only type.
162.Fa method
163can be of the following types:
164.Bl -tag -width Ds 160.Bl -tag -width Ds
165.It Xo 161.It Fn TLS_method
166.Fn TLS_method , 162The general-purpose version-flexible TLS method.
167.Fn TLS_server_method , 163The protocol version used will be negotiated to the highest
168.Fn TLS_client_method
169.Xc
170These are the general-purpose version-flexible SSL/TLS methods.
171The actual protocol version used will be negotiated to the highest
172version mutually supported by the client and the server. 164version mutually supported by the client and the server.
173The supported protocols are TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3. 165The supported protocols are TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3.
174Applications should use these methods and avoid the version-specific 166.It Fn DTLS_method
175methods described below. 167The version-flexible DTLS method.
168The currently supported protocol is DTLS 1.0.
169.El
170.Pp
171The following
172.Fa method
173arguments are deprecated:
174.Bl -tag -width Ds
176.It Xo 175.It Xo
176.Fn TLS_server_method ,
177.Fn TLS_client_method ,
177.Fn SSLv23_method , 178.Fn SSLv23_method ,
178.Fn SSLv23_server_method , 179.Fn SSLv23_server_method ,
179.Fn SSLv23_client_method 180.Fn SSLv23_client_method
180.Xc 181.Xc
181These are deprecated aliases for 182Deprecated aliases for
182.Fn TLS_method . 183.Fn TLS_method .
183.It Xo 184.It Xo
185.Fn DTLS_server_method ,
186.Fn DTLS_client_method
187.Xc
188Deprecated aliases for
189.Fn DTLS_method .
190.It Xo
184.Fn TLSv1_method , 191.Fn TLSv1_method ,
185.Fn TLSv1_server_method , 192.Fn TLSv1_server_method ,
186.Fn TLSv1_client_method 193.Fn TLSv1_client_method
@@ -202,13 +209,6 @@ understand the TLSv1.1 protocol.
202A TLS/SSL connection established with these methods will only 209A TLS/SSL connection established with these methods will only
203understand the TLSv1.2 protocol. 210understand the TLSv1.2 protocol.
204.It Xo 211.It Xo
205.Fn DTLS_method ,
206.Fn DTLS_server_method ,
207.Fn DTLS_client_method
208.Xc
209These are the version-flexible DTLS methods.
210The currently supported protocol is DTLS 1.0.
211.It Xo
212.Fn DTLSv1_method , 212.Fn DTLSv1_method ,
213.Fn DTLSv1_server_method , 213.Fn DTLSv1_server_method ,
214.Fn DTLSv1_client_method 214.Fn DTLSv1_client_method
@@ -216,12 +216,11 @@ The currently supported protocol is DTLS 1.0.
216These are the version-specific methods for DTLSv1. 216These are the version-specific methods for DTLSv1.
217.El 217.El
218.Pp 218.Pp
219The methods containing the substrings 219In LibreSSL, the methods containing the substrings
220.Dq _server 220.Dq _server
221or 221or
222.Dq _client 222.Dq _client
223in their names are deprecated. 223in their names return the same objects
224In LibreSSL, they return the same objects
225as the methods without these substrings. 224as the methods without these substrings.
226.Pp 225.Pp
227The list of protocols available can also be limited using the 226The list of protocols available can also be limited using the