open-vault/helper/tlsutil/tls.go

11 lines
233 B
Go
Raw Normal View History

2016-07-13 15:29:17 +00:00
package tlsutil
import "crypto/tls"
// TLSLookup maps the tls_min_version configuration to the internal value
var TLSLookup = map[string]uint16{
"tls10": tls.VersionTLS10,
"tls11": tls.VersionTLS11,
"tls12": tls.VersionTLS12,
}