diff options
author | bluhm <> | 2017-04-07 17:33:45 +0000 |
---|---|---|
committer | bluhm <> | 2017-04-07 17:33:45 +0000 |
commit | b01e5f1524ee7d1a043503bb6e7d4a2ec7696729 (patch) | |
tree | 465ec6b272e21c653b12b5fbfc17013d5c75dc61 | |
parent | 7882a720d394097315cbe39ee20a9f038218ba35 (diff) | |
download | openbsd-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.go | 2 |
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 | ||
45 | var protocolNames = map[ProtocolVersion]string{ | 45 | var 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", |