Add tests for valid NULL in gcm_free()

This commit is contained in:
k-stachowiak 2018-12-12 15:51:26 +01:00
parent 8ffc92a1e8
commit 5fccb3edf3
2 changed files with 12 additions and 0 deletions

View file

@ -263,6 +263,15 @@ exit:
}
/* END_CASE */
/* BEGIN_CASE */
void gcm_valid_param( )
{
TEST_VALID_PARAM( mbedtls_gcm_free( NULL ) );
exit:
return;
}
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_SELF_TEST */
void gcm_selftest( )
{

View file

@ -1,2 +1,5 @@
GCM - Invalid parameters
gcm_invalid_param:
GCM - Valid parameters
gcm_valid_param: