From 084bf8fa75c102cc220920f49d4a588a16087ce4 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Wed, 20 Nov 2019 09:22:52 -0500 Subject: [PATCH] Fix #1385 This PR fixes #1385. sub_session_resumption() returns 3 when $CLIENT_AUTH is true. However, the comment at the beginning of the function indicates that 6 will be returned. run_server_defaults() is prepared to handle a return value of 6 (to indicate client auth), but is not expecting 3 as a possible return value. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index ecb0af4..1020ae0 100755 --- a/testssl.sh +++ b/testssl.sh @@ -6098,7 +6098,7 @@ sub_session_resumption() { return 1 fi fi - "$CLIENT_AUTH" && return 3 + "$CLIENT_AUTH" && return 6 if "$HAS_NO_SSL2"; then addcmd+=" -no_ssl2" else