From bd9f7b5b87e0bb49f0875bb63108ac24d43bf794 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz <49391366+julek-wolfssl@users.noreply.github.com> Date: Thu, 9 Oct 2025 00:57:08 +0200 Subject: [PATCH] Clarify return values in wolfSSL_mutual_auth documentation --- src/ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index d0d562e82..f02e47112 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -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) {