From adf38007f4e5caab10b41553564412b1cbab9ad0 Mon Sep 17 00:00:00 2001 From: Kareem Date: Fri, 19 Dec 2025 17:19:45 -0700 Subject: [PATCH] Document wolfSSL_CTX_New's behavior on failure around WOLFSSL_METHOD. Fixes #9517. --- doc/dox_comments/header_files/ssl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/dox_comments/header_files/ssl.h b/doc/dox_comments/header_files/ssl.h index 5bcadfde02..fd615de98d 100644 --- a/doc/dox_comments/header_files/ssl.h +++ b/doc/dox_comments/header_files/ssl.h @@ -1742,6 +1742,7 @@ int wolfSSL_CTX_der_load_verify_locations(WOLFSSL_CTX* ctx, \param method pointer to the desired WOLFSSL_METHOD to use for the SSL context. This is created using one of the wolfSSLvXX_XXXX_method() functions to specify SSL/TLS/DTLS protocol level. + This function frees the passed in WOLFSSL_METHOD struct on failure. _Example_ \code