Skip to content

Commit 53a6063

Browse files
authored
Merge pull request HelloZeroNet#2471 from imachug/patch-1
Search for any OpenSSL version in LD_LIBRARY_PATH
2 parents 3426d5f + 33af83b commit 53a6063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/OpensslFindPatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def getOpensslPath():
4242
lib_dir_paths = os.environ["LD_LIBRARY_PATH"].split(":")
4343
for path in lib_dir_paths:
4444
try:
45-
return [lib for lib in os.listdir(path) if "libcrypto.so.1.0" in lib][0]
45+
return [lib for lib in os.listdir(path) if "libcrypto.so" in lib][0]
4646
except Exception as err:
4747
logging.debug("OpenSSL lib not found in: %s (%s)" % (path, err))
4848

0 commit comments

Comments
 (0)