In ssl.h TLS 1.0 is called TLSv1. Adapt name in test to make it pass.
authorbluhm <bluhm@openbsd.org>
Fri, 7 Apr 2017 17:33:45 +0000 (17:33 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 7 Apr 2017 17:33:45 +0000 (17:33 +0000)
OK jsing@

regress/lib/libtls/gotls/tls.go

index 41b7d19..9b42b0a 100644 (file)
@@ -43,7 +43,7 @@ const (
 )
 
 var protocolNames = map[ProtocolVersion]string{
-       ProtocolTLSv10: "TLSv1.0",
+       ProtocolTLSv10: "TLSv1",
        ProtocolTLSv11: "TLSv1.1",
        ProtocolTLSv12: "TLSv1.2",
        ProtocolsAll:   "all",