You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if!tlsConfig.PreferServerCipherSuites {//nolint:staticcheck // Ignore SA1019: tlsConfig.PreferServerCipherSuites has been deprecated since Go 1.18: PreferServerCipherSuites is ignored.
131
131
t.Fatal("Expected server to prefer cipher suites")
t.Fatal("ClientAuth was not set to what was in the options")
160
160
}
161
-
iftlsConfig.ClientCAs!=nil {
161
+
iftlsConfig.ClientCAs!=nil {//nolint:staticcheck // Ignore SA1019: tlsConfig.ClientCAs.Subjects has been deprecated since Go 1.18: if s was returned by SystemCertPool, Subjects will not include the system roots.
iftlsConfig.ClientCAs==nil||len(tlsConfig.ClientCAs.Subjects()) !=len(basePool.Subjects())+2 {//nolint:staticcheck // Ignore SA1019: tlsConfig.ClientCAs.Subjects has been deprecated since Go 1.18: if s was returned by SystemCertPool, Subjects will not include the system roots.
iftlsConfig.RootCAs!=nil {//nolint:staticcheck // Ignore SA1019: tlsConfig.RootCAs.Subjects has been deprecated since Go 1.18: if s was returned by SystemCertPool, Subjects will not include the system roots.
iftlsConfig.RootCAs==nil||len(tlsConfig.RootCAs.Subjects()) !=len(basePool.Subjects())+2 {//nolint:staticcheck // Ignore SA1019: tlsConfig.ClientCAs.Subjects has been deprecated since Go 1.18: if s was returned by SystemCertPool, Subjects will not include the system roots.
0 commit comments