diff --git a/doc/dox_comments/header_files/ssl.h b/doc/dox_comments/header_files/ssl.h index 8ed1ba319c..c13aaf7ab6 100644 --- a/doc/dox_comments/header_files/ssl.h +++ b/doc/dox_comments/header_files/ssl.h @@ -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.