diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2014-05-24 01:35:58 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2014-05-24 01:35:58 +0200 |
commit | b9b45c1bb447304b8b0a06dd80de2d1dd8ff58fc (patch) | |
tree | 2471760a79cf28adf984b78674d6ac4c89c6d692 /lib/pure | |
parent | c6c7c651e6c76754b19ed41f37c4e49f285be937 (diff) | |
parent | 46d4e5d052f43a1e2d7e93ef2cf431b0a0201ee5 (diff) | |
download | Nim-b9b45c1bb447304b8b0a06dd80de2d1dd8ff58fc.tar.gz |
Merge pull request #1180 from barcharcraz/OpenBSDFix
Added define check for openBSD around fmtmsg.h stuff
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/sockets.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/sockets.nim b/lib/pure/sockets.nim index 8d96cbaaf..7b8b3d557 100644 --- a/lib/pure/sockets.nim +++ b/lib/pure/sockets.nim @@ -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() |