Formatting SslPatch
This commit is contained in:
parent
b8d68e2589
commit
9e13994c54
1 changed files with 6 additions and 4 deletions
|
@ -32,8 +32,10 @@ def getLibraryPath():
|
|||
except Exception, err:
|
||||
logging.debug("OpenSSL lib not found in: %s (%s)" % (lib_dir, err))
|
||||
|
||||
return (ctypes.util.find_library('ssl.so.1.0') or ctypes.util.find_library('ssl') or ctypes.util.find_library('crypto') or ctypes.util.find_library('libcrypto') or 'libeay32')
|
||||
|
||||
return (
|
||||
ctypes.util.find_library('ssl.so.1.0') or ctypes.util.find_library('ssl') or
|
||||
ctypes.util.find_library('crypto') or ctypes.util.find_library('libcrypto') or 'libeay32'
|
||||
)
|
||||
|
||||
|
||||
def openLibrary():
|
||||
|
|
Loading…
Reference in a new issue