From abac35e7437dd1ac2b3687dfa51de7f9d4b6e853 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Mon, 8 Feb 2021 13:54:03 +0100 Subject: basic cleanups regarding SSL handling (#16940) [backport:1.0] * basic cleanups regarding SSL handling * enabled certificate checking on Windows * updated the SSL test * quoting helps --- tests/stdlib/thttpclient_ssl.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/stdlib') diff --git a/tests/stdlib/thttpclient_ssl.nim b/tests/stdlib/thttpclient_ssl.nim index 71745c9df..1c531eae9 100644 --- a/tests/stdlib/thttpclient_ssl.nim +++ b/tests/stdlib/thttpclient_ssl.nim @@ -101,7 +101,7 @@ when not defined(windows): let t = spawn runServer(port) sleep(100) - var client = newHttpClient() + var client = newHttpClient(sslContext=newContext(verifyMode=CVerifyNone)) try: log "client: connect" discard client.getContent("https://127.0.0.1:12345") -- cgit 1.4.1-2-gfad0