From 7551c8a545546c40f4ece2b1fb3726243247b310 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Sat, 12 Apr 2025 23:42:57 +0800 Subject: [PATCH] chore: remove unneed code --- component/ca/config.go | 1 - 1 file changed, 1 deletion(-) diff --git a/component/ca/config.go b/component/ca/config.go index 0a761892..0c8391b0 100644 --- a/component/ca/config.go +++ b/component/ca/config.go @@ -141,7 +141,6 @@ func GetTLSConfig(tlsConfig *tls.Config, fingerprint string, customCA string, cu if err != nil { return nil, err } - tlsConfig = GetGlobalTLSConfig(tlsConfig) tlsConfig.VerifyPeerCertificate = verifyFingerprint(fingerprintBytes) tlsConfig.InsecureSkipVerify = true }