diff options
Diffstat (limited to 'src/regress/lib/libtls/gotls/tls.go')
-rw-r--r-- | src/regress/lib/libtls/gotls/tls.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regress/lib/libtls/gotls/tls.go b/src/regress/lib/libtls/gotls/tls.go index dbd3b717b0..cf3e84c030 100644 --- a/src/regress/lib/libtls/gotls/tls.go +++ b/src/regress/lib/libtls/gotls/tls.go | |||
@@ -40,6 +40,7 @@ const ( | |||
40 | ProtocolTLSv10 ProtocolVersion = C.TLS_PROTOCOL_TLSv1_0 | 40 | ProtocolTLSv10 ProtocolVersion = C.TLS_PROTOCOL_TLSv1_0 |
41 | ProtocolTLSv11 ProtocolVersion = C.TLS_PROTOCOL_TLSv1_1 | 41 | ProtocolTLSv11 ProtocolVersion = C.TLS_PROTOCOL_TLSv1_1 |
42 | ProtocolTLSv12 ProtocolVersion = C.TLS_PROTOCOL_TLSv1_2 | 42 | ProtocolTLSv12 ProtocolVersion = C.TLS_PROTOCOL_TLSv1_2 |
43 | ProtocolTLSv13 ProtocolVersion = C.TLS_PROTOCOL_TLSv1_3 | ||
43 | ProtocolsAll ProtocolVersion = C.TLS_PROTOCOLS_ALL | 44 | ProtocolsAll ProtocolVersion = C.TLS_PROTOCOLS_ALL |
44 | ) | 45 | ) |
45 | 46 | ||
@@ -47,6 +48,7 @@ var protocolNames = map[ProtocolVersion]string{ | |||
47 | ProtocolTLSv10: "TLSv1", | 48 | ProtocolTLSv10: "TLSv1", |
48 | ProtocolTLSv11: "TLSv1.1", | 49 | ProtocolTLSv11: "TLSv1.1", |
49 | ProtocolTLSv12: "TLSv1.2", | 50 | ProtocolTLSv12: "TLSv1.2", |
51 | ProtocolTLSv13: "TLSv1.3", | ||
50 | ProtocolsAll: "all", | 52 | ProtocolsAll: "all", |
51 | } | 53 | } |
52 | 54 | ||