Adjust config loader of TLS & XTLS

This commit is contained in:
RPRX
2020-12-16 15:59:04 +00:00
committed by GitHub
parent 88dfed931b
commit 38faac5ffc
9 changed files with 215 additions and 195 deletions
+1 -3
View File
@@ -65,9 +65,7 @@ func TestExpiredCertificate(t *testing.T) {
}
func TestInsecureCertificates(t *testing.T) {
c := &Config{
AllowInsecureCiphers: true,
}
c := &Config{}
xtlsConfig := c.GetXTLSConfig()
if len(xtlsConfig.CipherSuites) > 0 {