From 23a9f169330c7f2af306aff8d861f28a1155c94c Mon Sep 17 00:00:00 2001 From: Tim Bauman Date: Sun, 24 Mar 2013 23:08:07 -0400 Subject: [PATCH] Making OpenSSL recognize Macs as Unix systems --- pyelliptic/openssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyelliptic/openssl.py b/pyelliptic/openssl.py index 1e98e368..6a7dedbc 100644 --- a/pyelliptic/openssl.py +++ b/pyelliptic/openssl.py @@ -419,7 +419,7 @@ except: lib_path = path.join(sys._MEIPASS, "libeay32.dll") OpenSSL = _OpenSSL(lib_path) except: - if 'linux' in sys.platform: + if 'linux' in sys.platform or 'darwin' in sys.platform: try: from ctypes.util import find_library OpenSSL = _OpenSSL(find_library('ssl')) -- 2.45.1