Merge pull request #1180 from barcharcraz/OpenBSDFix

Added define check for openBSD around fmtmsg.h stuff
This commit is contained in:
Andreas Rumpf 2014-05-24 01:35:58 +02:00
commit b9b45c1bb4
3 changed files with 4 additions and 4 deletions

View file

@ -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()