summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2019-01-11 23:18:04 -0800
committerAndreas Rumpf <rumpf_a@web.de>2019-01-12 08:18:04 +0100
commit98ef545bedd27959a568a8e99f889a32c3ae1f72 (patch)
tree2e13f4e736e1c2239a6dca118c4789be1b959c3f
parent7e7603ed2b6774454689978a08b46adb2fb953da (diff)
downloadNim-98ef545bedd27959a568a8e99f889a32c3ae1f72.tar.gz
fix #10281 (#10282)
-rw-r--r--lib/wrappers/openssl.nim6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/wrappers/openssl.nim b/lib/wrappers/openssl.nim
index 447592a68..9ee73a44d 100644
--- a/lib/wrappers/openssl.nim
+++ b/lib/wrappers/openssl.nim
@@ -38,7 +38,11 @@ when useWinVersion:
 
   from winlean import SocketHandle
 else:
-  const versions = "(.1.1|.1.0.2|.1.0.1|.1.0.0|.0.9.9|.0.9.8|.46|.45|.44|.43|.41|.39|.38|.10|)"
+  when defined(osx):
+    # todo: find a better workaround for #10281 (caused by #10230)
+    const versions = "(.1.1|.38|.39|.41|.43|.44|.45|.46|.10|.1.0.2|.1.0.1|.1.0.0|.0.9.9|.0.9.8|)"
+  else:
+    const versions = "(.1.1|.1.0.2|.1.0.1|.1.0.0|.0.9.9|.0.9.8|.46|.45|.44|.43|.41|.39|.38|.10|)"
 
   when defined(macosx):
     const