Move testing of mbedtls_blowfish_free() to separate test case

It should be tested regardless of the setting of MBEDTLS_CHECK_PARAMS.
This commit is contained in:
Hanno Becker 2018-12-17 14:17:10 +00:00
parent 49acc64c69
commit f947c0a2dd
2 changed files with 11 additions and 1 deletions

View file

@ -1,4 +1,7 @@
Blowfish parameter validation
BLOWFISH - Valid parameters
blowfish_valid_param:
BLOWFISH - Invalid parameters
blowfish_invalid_param:
BLOWFISH-ECB Encrypt SSLeay reference #1

View file

@ -7,6 +7,13 @@
* END_DEPENDENCIES
*/
/* BEGIN_CASE */
void blowfish_valid_param( )
{
TEST_VALID_PARAM( mbedtls_blowfish_free( NULL ) );
}
/* END_CASE */
/* BEGIN_CASE depends_on:MBEDTLS_CHECK_PARAMS:!MBEDTLS_PARAM_FAILED_ALT */
void blowfish_invalid_param( )
{