From c48c0127711203156c44d775179148ac4d9028c8 Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Wed, 7 May 2014 15:49:26 +0200 Subject: [PATCH] use the same openssl for all tasks --- cipherscan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cipherscan b/cipherscan index 53d84d0..1de97d6 100755 --- a/cipherscan +++ b/cipherscan @@ -84,7 +84,7 @@ test_cipher_on_target() { if [ -z $current_pubkey ]; then current_pubkey=0 fi - current_sigalg=$(openssl x509 -noout -text 2>/dev/null <<<"$tmp"|grep Signature\ Algorithm | head -n 1 | awk '{print $3}') || current_sigalg="None" + current_sigalg=$(${OPENSSLBIN} x509 -noout -text 2>/dev/null <<<"$tmp"|grep Signature\ Algorithm | head -n 1 | awk '{print $3}') || current_sigalg="None" grep 'Verify return code: 0 ' <<<"$tmp" >/dev/null if [ $? -eq 0 ]; then current_trusted="True"