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:
parent
dc074ebdf1
commit
d4606ad9f8
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue