1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

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

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,
}