X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2F__init__.py;h=1213398b08ff7069421841fe090175cd9ff6f7de;hb=0b71a493c4661ee64d8ec27c364c01af11e80737;hp=c55ae11842d566a6e66b3e772012db690602b9ba;hpb=13e7cc155149cf6e7c3789955e2d48be0a42cc26;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/__init__.py b/ctypescrypto/__init__.py index c55ae11..1213398 100644 --- a/ctypescrypto/__init__.py +++ b/ctypescrypto/__init__.py @@ -25,6 +25,8 @@ else: if __libname__ is None: raise OSError("Cannot find OpenSSL crypto library") +#__libname__ = "/usr/local/ssl/lib/libcrypto.so.1.1" + libcrypto = CDLL(__libname__) libcrypto.OPENSSL_config.argtypes = (c_char_p, ) libcrypto.OPENSSL_add_all_algorithms_conf()