From 391516443027e1d9feb263550ff9d097942591a2 Mon Sep 17 00:00:00 2001 From: Julien Vehent Date: Sun, 18 Jan 2015 12:26:59 -0500 Subject: [PATCH] Use custom darwin openssl bin in analyze.py --- analyze.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/analyze.py b/analyze.py index fa00d89..9f4ae8a 100755 --- a/analyze.py +++ b/analyze.py @@ -410,7 +410,9 @@ def build_ciphers_lists(opensslbin): # use system openssl if not on linux 64 if not opensslbin: 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: opensslbin='openssl' print("warning: analyze.py is using system's openssl, which may limit the tested ciphers and recommendations")