1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-03 12:21:57 +02:00

Merge pull request from dcooper16/remove_extra_colon

Remove extra colon
This commit is contained in:
Dirk Wetter
2021-10-27 10:02:47 +02:00
committed by GitHub

@ -6858,7 +6858,7 @@ check_tls12_pref() {
ciphers_to_test="${ciphers_to_test%:}" ciphers_to_test="${ciphers_to_test%:}"
while true; do while true; do
$OPENSSL s_client $(s_client_options "$STARTTLS -tls1_2 $BUGS -cipher "$ciphers_to_test:$tested_cipher" -connect $NODEIP:$PORT $PROXY $SNI") </dev/null 2>>$ERRFILE >$TMPFILE $OPENSSL s_client $(s_client_options "$STARTTLS -tls1_2 $BUGS -cipher "$ciphers_to_test$tested_cipher" -connect $NODEIP:$PORT $PROXY $SNI") </dev/null 2>>$ERRFILE >$TMPFILE
if sclient_connect_successful $? $TMPFILE ; then if sclient_connect_successful $? $TMPFILE ; then
cipher=$(get_cipher $TMPFILE) cipher=$(get_cipher $TMPFILE)
order+=" $cipher" order+=" $cipher"