Merge pull request #1180 from barcharcraz/OpenBSDFix
Added define check for openBSD around fmtmsg.h stuff
This commit is contained in:
commit
b9b45c1bb4
3 changed files with 4 additions and 4 deletions
|
|
@ -295,7 +295,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(OpenBSD):
|
||||
newCTX = SSL_CTX_new(SSLv2_method())
|
||||
else:
|
||||
SSLError()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue