Skip to content

Commit

Permalink
Fix tls1.0 test
Browse files Browse the repository at this point in the history
  • Loading branch information
rikatz committed May 24, 2022
1 parent d20a826 commit bde4742
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/e2e/settings/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ var _ = framework.DescribeSetting("[SSL] TLS protocols, ciphers and headers)", f
return strings.Contains(cfg, "ssl_protocols TLSv1;")
})

resp := f.HTTPTestClientWithTLSConfig(tlsConfig).
// TODO: Remove this with TLSv1.0 and TLSv1.1 deprecation
tls10Config := tlsConfig.Clone()
tls10Config.MinVersion = tls.VersionTLS10

resp := f.HTTPTestClientWithTLSConfig(tls10Config).
GET("/").
WithURL(f.GetURL(framework.HTTPS)).
WithHeader("Host", host).
Expand Down

0 comments on commit bde4742

Please sign in to comment.