mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Explicitly allow NULL as an argument to mbedtls_ccm_free()
This commit is contained in:
parent
438448e45f
commit
fd42d531ba
2 changed files with 5 additions and 2 deletions
|
|
@ -109,7 +109,9 @@ int mbedtls_ccm_setkey( mbedtls_ccm_context *ctx,
|
|||
* \brief This function releases and clears the specified CCM context
|
||||
* and underlying cipher sub-context.
|
||||
*
|
||||
* \param ctx The CCM context to clear. Must not be \c NULL.
|
||||
* \param ctx The CCM context to clear.
|
||||
*
|
||||
* \note If ctx is \c NULL, the function has no effect.
|
||||
*/
|
||||
void mbedtls_ccm_free( mbedtls_ccm_context *ctx );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue