mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14:23:41 +01:00
Use custom darwin openssl bin in analyze.py
This commit is contained in:
parent
a90fc8bc58
commit
3915164430
@ -410,7 +410,9 @@ def build_ciphers_lists(opensslbin):
|
|||||||
# use system openssl if not on linux 64
|
# use system openssl if not on linux 64
|
||||||
if not opensslbin:
|
if not opensslbin:
|
||||||
if platform.system() == 'Linux' and platform.architecture()[0] == '64bit':
|
if platform.system() == 'Linux' and platform.architecture()[0] == '64bit':
|
||||||
opensslbin=mypath + '/openssl'
|
opensslbin = mypath + '/openssl'
|
||||||
|
elif platform.system() == 'Darwin' and platform.architecture()[0] == '64bit':
|
||||||
|
opensslbin = mypath + '/openssl-darwin64'
|
||||||
else:
|
else:
|
||||||
opensslbin='openssl'
|
opensslbin='openssl'
|
||||||
print("warning: analyze.py is using system's openssl, which may limit the tested ciphers and recommendations")
|
print("warning: analyze.py is using system's openssl, which may limit the tested ciphers and recommendations")
|
||||||
|
Loading…
Reference in New Issue
Block a user