Clarify return values in wolfSSL_mutual_auth documentation

This commit is contained in:
Juliusz Sosinowicz
2025-10-09 00:57:08 +02:00
committed by GitHub
parent 8233d0d8a2
commit bd9f7b5b87

View File

@@ -1843,8 +1843,8 @@ int wolfSSL_CTX_mutual_auth(WOLFSSL_CTX* ctx, int req)
*
* ssl The SSL/TLS object.
* req 1 to indicate required and 0 when not.
* returns BAD_FUNC_ARG when ssl is NULL, or not using TLS v1.3,
* SIDE_ERROR when not a client and 0 on success.
* returns BAD_FUNC_ARG when ssl is NULL and
* SIDE_ERROR when not a server and 0 on success.
*/
int wolfSSL_mutual_auth(WOLFSSL* ssl, int req)
{