fixes yet another SSL problem on Windows [backport:1.2] (#17167)
This commit is contained in:
parent
47c078e29c
commit
b48a32053f
1 changed files with 1 additions and 1 deletions
|
|
@ -623,7 +623,7 @@ when defineSsl:
|
|||
if newCTX.SSL_CTX_set_ecdh_auto(1) != 1:
|
||||
raiseSSLError()
|
||||
|
||||
when defined(nimDisableCertificateValidation) or defined(windows):
|
||||
when defined(nimDisableCertificateValidation):
|
||||
newCTX.SSL_CTX_set_verify(SSL_VERIFY_NONE, nil)
|
||||
else:
|
||||
case verifyMode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue