aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/docker/go-connections/tlsconfig/versions_go113.go
blob: d8215f8e78a40c4e80b62bac73e83b61271b993b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// +build go1.13

package tlsconfig

import (
	"crypto/tls"
)

// allTLSVersions lists all the TLS versions and is used by the code that validates
// a uint16 value as a TLS version.
var allTLSVersions = map[uint16]struct{}{
	tls.VersionTLS10: {},
	tls.VersionTLS11: {},
	tls.VersionTLS12: {},
	tls.VersionTLS13: {},
}