Skip to content

Commit bd9f7b5

Browse files
Clarify return values in wolfSSL_mutual_auth documentation
1 parent 8233d0d commit bd9f7b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ssl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,8 +1843,8 @@ int wolfSSL_CTX_mutual_auth(WOLFSSL_CTX* ctx, int req)
18431843
*
18441844
* ssl The SSL/TLS object.
18451845
* req 1 to indicate required and 0 when not.
1846-
* returns BAD_FUNC_ARG when ssl is NULL, or not using TLS v1.3,
1847-
* SIDE_ERROR when not a client and 0 on success.
1846+
* returns BAD_FUNC_ARG when ssl is NULL and
1847+
* SIDE_ERROR when not a server and 0 on success.
18481848
*/
18491849
int wolfSSL_mutual_auth(WOLFSSL* ssl, int req)
18501850
{

0 commit comments

Comments
 (0)