mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 04:27:44 +00:00
make tests green again
This commit is contained in:
@@ -339,9 +339,6 @@ when not defined(ssl):
|
||||
var defaultSSLContext {.threadvar.}: SSLContext
|
||||
when defined(ssl):
|
||||
defaultSSLContext = newContext(verifyMode = CVerifyNone)
|
||||
when compileOption("threads"):
|
||||
onThreadCreation do ():
|
||||
defaultSSLContext = newContext(verifyMode = CVerifyNone)
|
||||
|
||||
proc newProxy*(url: string, auth = ""): Proxy =
|
||||
## Constructs a new ``TProxy`` object.
|
||||
|
||||
Reference in New Issue
Block a user