Browse Source

tris: enable TLS 1.3 for tris-localserver again.

The default version (TLS 1.2) is no longer overridden with TLS 1.3 so
the server must explicitly set it.

Fixes: ("crypto/tls: allow client to pick TLS 1.3, do not enable it by default.")
v1.2.3
Peter Wu 7 years ago
parent
commit
d16cde640d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      _dev/tris-localserver/server.go

+ 1
- 0
_dev/tris-localserver/server.go View File

@@ -51,6 +51,7 @@ func startServer(addr string, rsa, offer0RTT, accept0RTT bool) {
time.Sleep(500 * time.Millisecond)
return nil, nil
},
MaxVersion: tls.VersionTLS13,
},
}
log.Fatal(s.ListenAndServeTLS("", ""))


Loading…
Cancel
Save