diff --git a/lib/pure/net.nim b/lib/pure/net.nim index 5db3edbed1..8da14f6e30 100644 --- a/lib/pure/net.nim +++ b/lib/pure/net.nim @@ -534,7 +534,10 @@ when defineSsl: raiseSSLError("Verification of private key file failed.") proc newContext*(protVersion = protSSLv23, verifyMode = CVerifyPeer, - certFile = "", keyFile = "", cipherList = CiphersIntermediate, + certFile = "", keyFile = "", + # XXX: update the OpenSSL that we ship with Windows for the + # next release. + cipherList = when not defined(windows): CiphersIntermediate else: CiphersOld, caDir = "", caFile = ""): SSLContext = ## Creates an SSL context. ##