diff --git a/lib/pure/net.nim b/lib/pure/net.nim index 0ce5b4d25d..08e944727a 100644 --- a/lib/pure/net.nim +++ b/lib/pure/net.nim @@ -223,7 +223,7 @@ when defined(ssl): of protSSLv23: newCTX = SSL_CTX_new(SSLv23_method()) # SSlv2,3 and TLS1 support. of protSSLv2: - when not defined(linux): + when not defined(linux) and not defined(macosx): newCTX = SSL_CTX_new(SSLv2_method()) else: raiseSslError()