update wolfSSL_get_SessionTicket() function dox comment

pull/9053/head
Ruby Martin 2025-08-01 16:29:53 -06:00
parent a02025d0c9
commit a725f4d7ac
1 changed files with 5 additions and 3 deletions

View File

@ -11971,11 +11971,13 @@ int wolfSSL_CTX_UseSessionTicket(WOLFSSL_CTX* ctx);
\ingroup IO
\brief This function copies the ticket member of the Session structure to
the buffer.
the buffer. If buf is NULL and bufSz is non-NULL, bufSz will be set to the
ticket length.
\return SSL_SUCCESS returned if the function executed without error.
\return BAD_FUNC_ARG returned if one of the arguments was NULL or if the
bufSz argument was 0.
\return BAD_FUNC_ARG returned if ssl or bufSz is NULL, or if bufSz
is non-NULL and buf is NULL
\param ssl a pointer to a WOLFSSL structure, created using wolfSSL_new().
\param buf a byte pointer representing the memory buffer.