修复go test报错

This commit is contained in:
bjdgy
2024-01-31 22:47:54 +08:00
parent 2fc3c33880
commit 7554876259
6 changed files with 8 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ func startTls() {
MinVersion: tls.VersionTLS12,
CipherSuites: selectedCipherSuites,
GetCertificate: func(chi *tls.ClientHelloInfo) (*tls.Certificate, error) {
base.Trace("GetCertificate", chi.ServerName)
base.Trace("GetCertificate ServerName", chi.ServerName)
return dbdata.GetCertificateBySNI(chi.ServerName)
},
}