Rev4549, Fix startup OpenSSL lib find recursion error
This commit is contained in:
parent
0a3bf43e1c
commit
57dda4e6d6
2 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ class Config(object):
|
||||||
|
|
||||||
def __init__(self, argv):
|
def __init__(self, argv):
|
||||||
self.version = "0.7.2"
|
self.version = "0.7.2"
|
||||||
self.rev = 4548
|
self.rev = 4549
|
||||||
self.argv = argv
|
self.argv = argv
|
||||||
self.action = None
|
self.action = None
|
||||||
self.test_parser = None
|
self.test_parser = None
|
||||||
|
|
|
@ -48,8 +48,8 @@ def getOpensslPath():
|
||||||
logging.debug("OpenSSL lib not found in: %s (%s)" % (path, err))
|
logging.debug("OpenSSL lib not found in: %s (%s)" % (path, err))
|
||||||
|
|
||||||
lib_path = (
|
lib_path = (
|
||||||
ctypes.util.find_library('ssl.so') or ctypes.util.find_library('ssl') or
|
find_library_original('ssl.so') or find_library_original('ssl') or
|
||||||
ctypes.util.find_library('crypto') or ctypes.util.find_library('libcrypto') or 'libeay32'
|
find_library_original('crypto') or find_library_original('libcrypto') or 'libeay32'
|
||||||
)
|
)
|
||||||
|
|
||||||
return lib_path
|
return lib_path
|
||||||
|
|
Loading…
Reference in a new issue