1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-04-11 03:56:06 +02:00

Fix sclient_auth

If $connect_success is false, then sclient_auth() does not "return" any value, and the calling function treats this as if sclient_auth() had returned 0.

This commit fixes sclient_auth() so that 1 is returned if $client_success is false.
This commit is contained in:
David Cooper 2022-03-08 11:38:11 -05:00
parent 55b654cbee
commit 909513773d

@ -21004,6 +21004,7 @@ sclient_auth() {
return 1
fi
fi
return 1
}
# Determine the best parameters to use with tls_sockets():