diff options
author | jsing <> | 2020-01-20 08:39:21 +0000 |
---|---|---|
committer | jsing <> | 2020-01-20 08:39:21 +0000 |
commit | 9ea343cf6ccda35b4aa4c4e74dd80b7a59029076 (patch) | |
tree | a99f83fd8ff7de867f80b6db4495ae4033f4de29 /src/lib/libtls/man | |
parent | 30f0a4c063ba95ea915d4ead9ad0ea6630bf5271 (diff) | |
download | openbsd-9ea343cf6ccda35b4aa4c4e74dd80b7a59029076.tar.gz openbsd-9ea343cf6ccda35b4aa4c4e74dd80b7a59029076.tar.bz2 openbsd-9ea343cf6ccda35b4aa4c4e74dd80b7a59029076.zip |
Add support for TLSv1.3 as a protocol to libtls.
This makes tls_config_parse_protocols() recognise and handle "tlsv1.3".
If TLSv1.3 is enabled libtls will also request libssl to enable it.
ok beck@ tb@
Diffstat (limited to 'src/lib/libtls/man')
-rw-r--r-- | src/lib/libtls/man/tls_config_set_protocols.3 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/libtls/man/tls_config_set_protocols.3 b/src/lib/libtls/man/tls_config_set_protocols.3 index 4f5c91a3f0..ec913827c2 100644 --- a/src/lib/libtls/man/tls_config_set_protocols.3 +++ b/src/lib/libtls/man/tls_config_set_protocols.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: tls_config_set_protocols.3,v 1.6 2017/08/12 04:24:49 jsing Exp $ | 1 | .\" $OpenBSD: tls_config_set_protocols.3,v 1.7 2020/01/20 08:39:21 jsing Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
4 | .\" Copyright (c) 2015, 2016 Joel Sing <jsing@openbsd.org> | 4 | .\" Copyright (c) 2015, 2016 Joel Sing <jsing@openbsd.org> |
@@ -16,7 +16,7 @@ | |||
16 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 16 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
17 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 17 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
18 | .\" | 18 | .\" |
19 | .Dd $Mdocdate: August 12 2017 $ | 19 | .Dd $Mdocdate: January 20 2020 $ |
20 | .Dt TLS_CONFIG_SET_PROTOCOLS 3 | 20 | .Dt TLS_CONFIG_SET_PROTOCOLS 3 |
21 | .Os | 21 | .Os |
22 | .Sh NAME | 22 | .Sh NAME |
@@ -78,11 +78,12 @@ Possible values are the bitwise OR of: | |||
78 | .It Dv TLS_PROTOCOL_TLSv1_0 | 78 | .It Dv TLS_PROTOCOL_TLSv1_0 |
79 | .It Dv TLS_PROTOCOL_TLSv1_1 | 79 | .It Dv TLS_PROTOCOL_TLSv1_1 |
80 | .It Dv TLS_PROTOCOL_TLSv1_2 | 80 | .It Dv TLS_PROTOCOL_TLSv1_2 |
81 | .It Dv TLS_PROTOCOL_TLSv1_3 | ||
81 | .El | 82 | .El |
82 | .Pp | 83 | .Pp |
83 | Additionally, the values | 84 | Additionally, the values |
84 | .Dv TLS_PROTOCOL_TLSv1 | 85 | .Dv TLS_PROTOCOL_TLSv1 |
85 | (TLSv1.0, TLSv1.1 and TLSv1.2), | 86 | (TLSv1.0, TLSv1.1, TLSv1.2, TLSv1.3), |
86 | .Dv TLS_PROTOCOLS_ALL | 87 | .Dv TLS_PROTOCOLS_ALL |
87 | (all supported protocols) and | 88 | (all supported protocols) and |
88 | .Dv TLS_PROTOCOLS_DEFAULT | 89 | .Dv TLS_PROTOCOLS_DEFAULT |
@@ -98,9 +99,9 @@ This value can then be passed to the | |||
98 | .Fn tls_config_set_protocols | 99 | .Fn tls_config_set_protocols |
99 | function. | 100 | function. |
100 | The protocol string is a comma or colon separated list of keywords. | 101 | The protocol string is a comma or colon separated list of keywords. |
101 | Valid keywords are tlsv1.0, tlsv1.1, tlsv1.2, all (all supported protocols), | 102 | Valid keywords are tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3, all (all supported |
102 | default (an alias for secure), legacy (an alias for all) and secure (currently | 103 | protocols), default (an alias for secure), legacy (an alias for all) and |
103 | TLSv1.2 only). | 104 | secure (currently TLSv1.2 only). |
104 | If a value has a negative prefix (in the form of a leading exclamation mark) | 105 | If a value has a negative prefix (in the form of a leading exclamation mark) |
105 | then it is removed from the list of available protocols, rather than being | 106 | then it is removed from the list of available protocols, rather than being |
106 | added to it. | 107 | added to it. |