From da2802504b9e1378da0afc8c0484b71dba0e9e4d Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Wed, 11 Aug 2021 15:33:45 -0700 Subject: [PATCH] Use Default min version if not specified. --- authority/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authority/config/config.go b/authority/config/config.go index 2cf6bfac..75c32994 100644 --- a/authority/config/config.go +++ b/authority/config/config.go @@ -225,7 +225,7 @@ func (c *Config) Validate() error { c.TLS.MaxVersion = DefaultTLSOptions.MaxVersion } if c.TLS.MinVersion == 0 { - c.TLS.MinVersion = c.TLS.MaxVersion + c.TLS.MinVersion = DefaultTLSOptions.MinVersion } if c.TLS.MinVersion > c.TLS.MaxVersion { return errors.New("tls minVersion cannot exceed tls maxVersion")