manuall merge github issue #229
This commit is contained in:
parent
b2f8a76b58
commit
a6c9ff288e
|
@ -427,7 +427,7 @@ except:
|
||||||
lib_path = path.join(sys._MEIPASS, "libeay32.dll")
|
lib_path = path.join(sys._MEIPASS, "libeay32.dll")
|
||||||
OpenSSL = _OpenSSL(lib_path)
|
OpenSSL = _OpenSSL(lib_path)
|
||||||
except:
|
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:
|
try:
|
||||||
from ctypes.util import find_library
|
from ctypes.util import find_library
|
||||||
OpenSSL = _OpenSSL(find_library('ssl'))
|
OpenSSL = _OpenSSL(find_library('ssl'))
|
||||||
|
|
Reference in New Issue
Block a user