mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 03:15:38 +00: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…
Reference in a new issue