Skip to content

Commit

Permalink
Merge pull request HelloZeroNet#2471 from imachug/patch-1
Browse files Browse the repository at this point in the history
Search for any OpenSSL version in LD_LIBRARY_PATH
  • Loading branch information
HelloZeroNet authored Mar 10, 2020
2 parents 3426d5f + 33af83b commit 53a6063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/OpensslFindPatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def getOpensslPath():
lib_dir_paths = os.environ["LD_LIBRARY_PATH"].split(":")
for path in lib_dir_paths:
try:
return [lib for lib in os.listdir(path) if "libcrypto.so.1.0" in lib][0]
return [lib for lib in os.listdir(path) if "libcrypto.so" in lib][0]
except Exception as err:
logging.debug("OpenSSL lib not found in: %s (%s)" % (path, err))

Expand Down

0 comments on commit 53a6063

Please sign in to comment.