Fix net module on Linux.
This commit is contained in:
parent
d7d059a686
commit
ac01ed5812
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ when defined(ssl):
|
||||||
when not defined(linux):
|
when not defined(linux):
|
||||||
newCTX = SSL_CTX_new(SSLv2_method())
|
newCTX = SSL_CTX_new(SSLv2_method())
|
||||||
else:
|
else:
|
||||||
SSLError()
|
raiseSslError()
|
||||||
of protSSLv3:
|
of protSSLv3:
|
||||||
newCTX = SSL_CTX_new(SSLv3_method())
|
newCTX = SSL_CTX_new(SSLv3_method())
|
||||||
of protTLSv1:
|
of protTLSv1:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue