tls: Remove support for TLS 1.0 and TLS 1.1

This commit is contained in:
Matthew Holt 2019-09-11 22:26:06 -06:00
parent 758269124e
commit 2cb01d43cf
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
1 changed files with 0 additions and 3 deletions

View File

@ -122,10 +122,7 @@ var defaultCurves = []tls.CurveID{
}
// SupportedProtocols is a map of supported protocols.
// Note that HTTP/2 only supports TLS 1.2 and higher.
var SupportedProtocols = map[string]uint16{
"tls1.0": tls.VersionTLS10,
"tls1.1": tls.VersionTLS11,
"tls1.2": tls.VersionTLS12,
"tls1.3": tls.VersionTLS13,
}