Skip to content

Commit

Permalink
Search for any OpenSSL version in LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
purplesyringa authored Mar 10, 2020
1 parent 3426d5f commit 33af83b
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 33af83b

Please sign in to comment.