mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
set min version on tls configuration even on the tests and examples
This commit is contained in:
@@ -153,7 +153,7 @@ func NewInsecure(t *testing.T, setters ...OptionSetter) *httpexpect.Expect {
|
||||
setter.Set(conf)
|
||||
}
|
||||
transport := &http.Transport{
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true, MinVersion: tls.VersionTLS11}, // lint:ignore
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true, MinVersion: tls.VersionTLS13}, // lint:ignore
|
||||
}
|
||||
|
||||
testConfiguration := httpexpect.Config{
|
||||
|
||||
Reference in New Issue
Block a user