Skip to content

Commit adf3800

Browse files
Document wolfSSL_CTX_New's behavior on failure around WOLFSSL_METHOD.
Fixes #9517.
1 parent ac98505 commit adf3800

File tree

1 file changed

+1
-0
lines changed
  • doc/dox_comments/header_files

1 file changed

+1
-0
lines changed

doc/dox_comments/header_files/ssl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,6 +1742,7 @@ int wolfSSL_CTX_der_load_verify_locations(WOLFSSL_CTX* ctx,
17421742
\param method pointer to the desired WOLFSSL_METHOD to use for the SSL
17431743
context. This is created using one of the wolfSSLvXX_XXXX_method()
17441744
functions to specify SSL/TLS/DTLS protocol level.
1745+
This function frees the passed in WOLFSSL_METHOD struct on failure.
17451746
17461747
_Example_
17471748
\code

0 commit comments

Comments
 (0)