Fix net module on Linux.

This commit is contained in:
Dominik Picheta
2014-08-31 20:14:49 +01:00
parent d7d059a686
commit ac01ed5812

View File

@@ -183,7 +183,7 @@ when defined(ssl):
when not defined(linux):
newCTX = SSL_CTX_new(SSLv2_method())
else:
SSLError()
raiseSslError()
of protSSLv3:
newCTX = SSL_CTX_new(SSLv3_method())
of protTLSv1: