summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbluhm <>2017-04-07 17:33:45 +0000
committerbluhm <>2017-04-07 17:33:45 +0000
commitb01e5f1524ee7d1a043503bb6e7d4a2ec7696729 (patch)
tree465ec6b272e21c653b12b5fbfc17013d5c75dc61
parent7882a720d394097315cbe39ee20a9f038218ba35 (diff)
downloadopenbsd-b01e5f1524ee7d1a043503bb6e7d4a2ec7696729.tar.gz
openbsd-b01e5f1524ee7d1a043503bb6e7d4a2ec7696729.tar.bz2
openbsd-b01e5f1524ee7d1a043503bb6e7d4a2ec7696729.zip
In ssl.h TLS 1.0 is called TLSv1. Adapt name in test to make it pass.
OK jsing@
-rw-r--r--src/regress/lib/libtls/gotls/tls.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regress/lib/libtls/gotls/tls.go b/src/regress/lib/libtls/gotls/tls.go
index 41b7d19a8b..9b42b0aafc 100644
--- a/src/regress/lib/libtls/gotls/tls.go
+++ b/src/regress/lib/libtls/gotls/tls.go
@@ -43,7 +43,7 @@ const (
43) 43)
44 44
45var protocolNames = map[ProtocolVersion]string{ 45var protocolNames = map[ProtocolVersion]string{
46 ProtocolTLSv10: "TLSv1.0", 46 ProtocolTLSv10: "TLSv1",
47 ProtocolTLSv11: "TLSv1.1", 47 ProtocolTLSv11: "TLSv1.1",
48 ProtocolTLSv12: "TLSv1.2", 48 ProtocolTLSv12: "TLSv1.2",
49 ProtocolsAll: "all", 49 ProtocolsAll: "all",