mirror of
https://github.com/espressif/mbedtls.git
synced 2025-06-01 20:49:34 +08:00
Test that mbedtls_aria_free() accepts NULL parameter
This commit is contained in:
parent
02d524c05c
commit
b0de9f5b03
@ -27,6 +27,7 @@ void aria_invalid_param( )
|
|||||||
size_t iv_off = 0;
|
size_t iv_off = 0;
|
||||||
|
|
||||||
TEST_INVALID_PARAM( mbedtls_aria_init( NULL ) );
|
TEST_INVALID_PARAM( mbedtls_aria_init( NULL ) );
|
||||||
|
TEST_VALID_PARAM( mbedtls_aria_free( NULL ) );
|
||||||
|
|
||||||
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ARIA_BAD_INPUT_DATA,
|
TEST_INVALID_PARAM_RET( MBEDTLS_ERR_ARIA_BAD_INPUT_DATA,
|
||||||
mbedtls_aria_setkey_enc( NULL, key,
|
mbedtls_aria_setkey_enc( NULL, key,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user