Skip to content

Instantly share code, notes, and snippets.

@janx
Created May 3, 2017 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janx/597aca5ea2d8b0fb80252afa613a2d30 to your computer and use it in GitHub Desktop.
Save janx/597aca5ea2d8b0fb80252afa613a2d30 to your computer and use it in GitHub Desktop.
diff --git a/pyelliptic/openssl.py b/pyelliptic/openssl.py
index c91b272..2e78ceb 100644
--- a/pyelliptic/openssl.py
+++ b/pyelliptic/openssl.py
@@ -525,4 +525,5 @@ if libname is None:
libname = ctypes.util.find_library('libeay32.dll')
if libname is None:
raise Exception("Couldn't load OpenSSL lib ...")
+libname = 'libcrypto.so.1.0.0'
OpenSSL = _OpenSSL(libname)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment