open-vault/helper/tlsutil/tls.go
2016-07-13 11:52:26 -04:00

11 lines
233 B
Go

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