diff options
author | schwarze <> | 2020-10-12 09:18:33 +0000 |
---|---|---|
committer | schwarze <> | 2020-10-12 09:18:33 +0000 |
commit | 1e55aa5c34ebdd78294273a400cf59611c4372e7 (patch) | |
tree | b63a8d316761a0e70afd2281a05e86ac15f6bdc4 /src | |
parent | 9bebdfb70dbdd27578ce9096784aba42674545e3 (diff) | |
download | openbsd-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.3 | 53 |
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 |
157 | object uses | 157 | object uses |
158 | .Fa method | 158 | .Fa method |
159 | as its connection method. | 159 | as its connection method, which can be: |
160 | The methods exist in a generic type (for client and server use), | ||
161 | a server only type, and a client only type. | ||
162 | .Fa method | ||
163 | can 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 , | 162 | The general-purpose version-flexible TLS method. |
167 | .Fn TLS_server_method , | 163 | The protocol version used will be negotiated to the highest |
168 | .Fn TLS_client_method | ||
169 | .Xc | ||
170 | These are the general-purpose version-flexible SSL/TLS methods. | ||
171 | The actual protocol version used will be negotiated to the highest | ||
172 | version mutually supported by the client and the server. | 164 | version mutually supported by the client and the server. |
173 | The supported protocols are TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3. | 165 | The supported protocols are TLSv1, TLSv1.1, TLSv1.2, and TLSv1.3. |
174 | Applications should use these methods and avoid the version-specific | 166 | .It Fn DTLS_method |
175 | methods described below. | 167 | The version-flexible DTLS method. |
168 | The currently supported protocol is DTLS 1.0. | ||
169 | .El | ||
170 | .Pp | ||
171 | The following | ||
172 | .Fa method | ||
173 | arguments 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 |
181 | These are deprecated aliases for | 182 | Deprecated 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 | ||
188 | Deprecated 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. | |||
202 | A TLS/SSL connection established with these methods will only | 209 | A TLS/SSL connection established with these methods will only |
203 | understand the TLSv1.2 protocol. | 210 | understand 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 | ||
209 | These are the version-flexible DTLS methods. | ||
210 | The 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. | |||
216 | These are the version-specific methods for DTLSv1. | 216 | These are the version-specific methods for DTLSv1. |
217 | .El | 217 | .El |
218 | .Pp | 218 | .Pp |
219 | The methods containing the substrings | 219 | In LibreSSL, the methods containing the substrings |
220 | .Dq _server | 220 | .Dq _server |
221 | or | 221 | or |
222 | .Dq _client | 222 | .Dq _client |
223 | in their names are deprecated. | 223 | in their names return the same objects |
224 | In LibreSSL, they return the same objects | ||
225 | as the methods without these substrings. | 224 | as the methods without these substrings. |
226 | .Pp | 225 | .Pp |
227 | The list of protocols available can also be limited using the | 226 | The list of protocols available can also be limited using the |