From 1a786de34ebaf3eaee583376a8d34d7d0c9ac549 Mon Sep 17 00:00:00 2001 From: sunny-g Date: Sun, 16 Jun 2013 22:10:04 -0500 Subject: [PATCH] Add FreeBSD OpenSSL support exception Checks for OpenSSL library on FreeBSD installations --- src/pyelliptic/openssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyelliptic/openssl.py b/src/pyelliptic/openssl.py index 59a0d324..7de1ee72 100644 --- a/src/pyelliptic/openssl.py +++ b/src/pyelliptic/openssl.py @@ -423,7 +423,7 @@ except: lib_path = path.join(sys._MEIPASS, "libeay32.dll") OpenSSL = _OpenSSL(lib_path) except: - if 'linux' in sys.platform or 'darwin' in sys.platform: + if 'linux' in sys.platform or 'darwin' in sys.platform or 'freebsd' in sys.platform: try: from ctypes.util import find_library OpenSSL = _OpenSSL(find_library('ssl'))