From d4606ad9f8d0f0ac2fa9f1e9ab8c10ac0cb26186 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Tue, 26 Oct 2021 15:43:01 -0400 Subject: [PATCH] Remove extra colon The code added by #2024 creates a cipher list with two consecutive colons. While this doesn't seem to be a problem, the commit removes the extra colon. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index bdd7dab..0b4bab8 100755 --- a/testssl.sh +++ b/testssl.sh @@ -6858,7 +6858,7 @@ check_tls12_pref() { ciphers_to_test="${ciphers_to_test%:}" while true; do - $OPENSSL s_client $(s_client_options "$STARTTLS -tls1_2 $BUGS -cipher "$ciphers_to_test:$tested_cipher" -connect $NODEIP:$PORT $PROXY $SNI") >$ERRFILE >$TMPFILE + $OPENSSL s_client $(s_client_options "$STARTTLS -tls1_2 $BUGS -cipher "$ciphers_to_test$tested_cipher" -connect $NODEIP:$PORT $PROXY $SNI") >$ERRFILE >$TMPFILE if sclient_connect_successful $? $TMPFILE ; then cipher=$(get_cipher $TMPFILE) order+=" $cipher"