Skip to content

Commit 0aad0a0

Browse files
committed
Try /usr/bin/echo for testing
.. although it seems not an option to include this in prod. RSsee #2765 Omitting redirecting stderr
1 parent f1daf10 commit 0aad0a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17656,7 +17656,7 @@ run_renego() {
1765617656
# s_client STDIN too early as the close could come at any time and race with the tear down of s_client.
1765717657
# See https://github.com/drwetter/testssl.sh/issues/2590
1765817658
# In this case the added iteration is harmless as it will just spin in backgroup
17659-
for ((i=0; i <= ssl_reneg_attempts; i++ )); do sleep $ssl_reneg_wait; echo R 2>/dev/null; k=0; \
17659+
for ((i=0; i <= ssl_reneg_attempts; i++ )); do sleep $ssl_reneg_wait; /usr/bin/echo R 2>/dev/null; k=0; \
1766017660
# 0 means client is renegotiating & doesn't return an error --> vuln!
1766117661
# 1 means client tried to renegotiating but the server side errored then. You still see RENEGOTIATING in the output
1766217662
# Exemption from above: server closed the connection but return value was zero

0 commit comments

Comments
 (0)