1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-07 03:57:10 +00:00

set min version on tls configuration even on the tests and examples

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-03-10 21:48:05 +02:00
parent 096349bb56
commit 7ab0f6fff5
8 changed files with 19 additions and 12 deletions

View File

@@ -27,8 +27,7 @@ func TestProxy(t *testing.T) {
config := &tls.Config{
InsecureSkipVerify: true,
MinVersion: tls.VersionTLS11,
MaxVersion: tls.VersionTLS12,
MinVersion: tls.VersionTLS13,
}
proxy := host.NewProxy("", u, config)