open-vault/helper/tlsutil/tls.go

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