From c9265b6765d0eb190efb2a7050ff4b247fdb9954 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Wed, 9 Nov 2022 14:24:42 +0300 Subject: [PATCH] No reason to deal with TLS < 1.2 --- tls.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tls.go b/tls.go index e30d4e3..40395f0 100644 --- a/tls.go +++ b/tls.go @@ -137,6 +137,7 @@ func LoadCertificates() { func NewTLSConfig() *tls.Config { return &tls.Config{ + MinVersion: tls.VersionTLS12, NextProtos: NextProtos, GetCertificate: GetCertificate, GetConfigForClient: GetConfigForClient, -- 2.44.0