Skip to content

Commit 701c606

Browse files
authored
Merge pull request #2597 from Tazmaniac/quick-fix-2590
Quick fix for #2590
2 parents 662a99f + 601dddd commit 701c606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testssl.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17193,7 +17193,7 @@ run_renego() {
1719317193
sec_client_renego=1
1719417194
else
1719517195
# second try in the foreground as we are sure now it won't hang
17196-
echo R | $OPENSSL s_client $(s_client_options "$proto $legacycmd $STARTTLS $BUGS -connect $NODEIP:$PORT $PROXY $SNI") >$TMPFILE 2>>$ERRFILE
17196+
(echo R; sleep 1) | $OPENSSL s_client $(s_client_options "$proto $legacycmd $STARTTLS $BUGS -connect $NODEIP:$PORT $PROXY $SNI") >$TMPFILE 2>>$ERRFILE
1719717197
sec_client_renego=$?
1719817198
# 0 means client is renegotiating & doesn't return an error --> vuln!
1719917199
# 1 means client tried to renegotiating but the server side errored then. You still see RENEGOTIATING in the output

0 commit comments

Comments
 (0)