Improve parameter validation in mbedtls_gcm_free()

This commit is contained in:
k-stachowiak 2018-12-13 17:11:58 +01:00
parent 9af22e4790
commit 21298a20c4
2 changed files with 2 additions and 3 deletions

View file

@ -298,7 +298,7 @@ int mbedtls_gcm_finish( mbedtls_gcm_context *ctx,
* cipher sub-context.
*
* \param ctx The GCM context to clear. If this is \c NULL, the call has
* no effect.
* no effect. Otherwise, this must be initialized.
*/
void mbedtls_gcm_free( mbedtls_gcm_context *ctx );