From 8723fc78b113c3f74ec434b63f7c7c65d4ce2733 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Thu, 23 Apr 2020 15:01:50 -0400 Subject: [PATCH] Fix run_logjam() in --ssl-native mode (3.0 branch) This commit fixes the same issue as #1584, but in the 3.0 branch. --- testssl.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/testssl.sh b/testssl.sh index 8dc3141..b3b9c81 100755 --- a/testssl.sh +++ b/testssl.sh @@ -15265,15 +15265,13 @@ run_logjam() { tls_sockets "03" "$exportdh_cipher_list_hex, 00,ff" sclient_success=$? [[ $sclient_success -eq 2 ]] && sclient_success=0 + [[ $sclient_success -eq 0 ]] && vuln_exportdh_ciphers=true elif [[ $nr_supported_ciphers -ne 0 ]]; then $OPENSSL s_client $(s_client_options "$STARTTLS $BUGS -cipher $exportdh_cipher_list -connect $NODEIP:$PORT $PROXY $SNI") >$TMPFILE 2>$ERRFILE