avoid referencing undefined SSLv2_method on mac osx
This commit is contained in:
parent
371470e73f
commit
5f95c4e055
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue