From 4eb6ab5976fb921017829c2f4e7f7704d8026559 Mon Sep 17 00:00:00 2001 From: Dirk Date: Sat, 17 Mar 2018 19:44:40 +0100 Subject: [PATCH] better naming of variables from previous commit --- testssl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testssl.sh b/testssl.sh index b4c550c..9df225f 100755 --- a/testssl.sh +++ b/testssl.sh @@ -12890,7 +12890,7 @@ run_logjam() { local dh_p="" local spaces=" " local vuln_exportdh_ciphers=false - local openssl_no_dhciphers=false + local openssl_no_expdhciphers=false local common_primes_file="$TESTSSL_INSTALL_DIR/etc/common-primes.txt" local comment="" str="" local -i lineno_matched=0 @@ -12914,7 +12914,7 @@ run_logjam() { 0) prln_local_problem "$OPENSSL doesn't have any DH EXPORT ciphers configured" fileout "$jsonID" "WARN" "Not tested. $OPENSSL doesn't support any DH EXPORT ciphers" "$cve" "$cwe" out "$spaces" - openssl_no_dhciphers=true + openssl_no_expdhciphers=true ;; 1|2|3) addtl_warning=" ($magenta""tested w/ $nr_supported_ciphers/4 ciphers only!$off)" ;; 4) ;; @@ -13062,7 +13062,7 @@ run_logjam() { out "Common prime with $len_dh_p bits detected: "; pr_italic "$comment" fileout "$jsonID2" "INFO" "common prime \"$comment\" detected" fi - if ! "$openssl_no_dhciphers"; then + if ! "$openssl_no_expdhciphers"; then outln "," out "${spaces}but no DH EXPORT ciphers${addtl_warning}" fileout "$jsonID" "OK" "not vulnerable, no DH EXPORT ciphers,$addtl_warning" "$cve" "$cwe"