mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-09 06:23:25 +00:00
net: use CiphersOld list for Windows
The default DLLs shipped are too old, switch to CiphersOld list to ensure compatibility. This commit should be reverted before any future release.
This commit is contained in:
@@ -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.
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user