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.
This commit is contained in:
David Cooper 2021-10-26 15:43:01 -04:00
parent dc074ebdf1
commit d4606ad9f8
1 changed files with 1 additions and 1 deletions

View File

@ -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"