summary refs log tree commit diff stats
path: root/tests/stdlib/thttpclient_ssl.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/thttpclient_ssl.nim')
-rw-r--r--tests/stdlib/thttpclient_ssl.nim5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/stdlib/thttpclient_ssl.nim b/tests/stdlib/thttpclient_ssl.nim
index feacd3e57..6b963f029 100644
--- a/tests/stdlib/thttpclient_ssl.nim
+++ b/tests/stdlib/thttpclient_ssl.nim
@@ -13,7 +13,10 @@ discard """
 ## Test with:
 ## ./bin/nim c -d:ssl -p:. --threads:on -r tests/stdlib/thttpclient_ssl.nim
 
-when not defined(windows):
+
+from stdtest/testutils import disableSSLTesting
+
+when not defined(windows) and not disableSSLTesting():
   # Disabled on Windows due to old OpenSSL version
   import std/[formatfloat, syncio]
   import