Home | History | Annotate | Download | only in tls

Lines Matching refs:MaxVersion

36 	maxVersion = VersionTLS12
340 // MaxVersion contains the maximum SSL/TLS version that is acceptable.
343 MaxVersion uint16
468 func (c *Config) maxVersion() uint16 {
469 if c == nil || c.MaxVersion == 0 {
470 return maxVersion
472 return c.MaxVersion
488 maxVersion := c.maxVersion()
493 if vers > maxVersion {
494 vers = maxVersion