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 357b192
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/e2e/settings/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ var _ = framework.DescribeSetting("[SSL] TLS protocols, ciphers and headers)", f
func(cfg string) bool {
return strings.Contains(cfg, "ssl_protocols TLSv1;")
})

resp := f.HTTPTestClientWithTLSConfig(tlsConfig).
tls10Config := &tls.Config{
MinVersion: tls.VersionTLS10,
}
resp := f.HTTPTestClientWithTLSConfig(tls10Config).
GET("/").
WithURL(f.GetURL(framework.HTTPS)).
WithHeader("Host", host).
Expand Down

0 comments on commit 357b192

Please sign in to comment.