Merge pull request #782 from cxgreat2014/patch-2
Add openssl support for optware and entware router
This commit is contained in:
commit
778e010bb3
1 changed files with 2 additions and 0 deletions
|
@ -201,6 +201,8 @@ def openLibrary():
|
||||||
dll_path = "/bin/cygcrypto-1.0.0.dll"
|
dll_path = "/bin/cygcrypto-1.0.0.dll"
|
||||||
elif os.path.isfile("../lib/libcrypto.so"): # ZeroBundle OSX
|
elif os.path.isfile("../lib/libcrypto.so"): # ZeroBundle OSX
|
||||||
dll_path = "../lib/libcrypto.so"
|
dll_path = "../lib/libcrypto.so"
|
||||||
|
elif os.path.isfile("/opt/lib/libcrypto.so.1.0.0"): # For optware and entware
|
||||||
|
dll_path = "/opt/lib/libcrypto.so.1.0.0"
|
||||||
else:
|
else:
|
||||||
dll_path = "/usr/local/ssl/lib/libcrypto.so"
|
dll_path = "/usr/local/ssl/lib/libcrypto.so"
|
||||||
ssl = _OpenSSL(dll_path)
|
ssl = _OpenSSL(dll_path)
|
||||||
|
|
Loading…
Reference in a new issue