mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-02 18:01:08 +00:00
Merge pull request #5301 from paul-elliott-arm/test_suite_cipher_returns_2.x
Backport 2.x : Add checked return to cipher setup in Cipher tests
This commit is contained in:
commit
362d6efbde
|
@ -102,7 +102,7 @@ void cipher_invalid_param_unconditional( )
|
|||
(void)valid_mode; /* In some configurations this is unused */
|
||||
|
||||
mbedtls_cipher_init( &valid_ctx );
|
||||
mbedtls_cipher_setup( &valid_ctx, valid_info );
|
||||
TEST_ASSERT( mbedtls_cipher_setup( &valid_ctx, valid_info ) == 0 );
|
||||
mbedtls_cipher_init( &invalid_ctx );
|
||||
|
||||
/* mbedtls_cipher_setup() */
|
||||
|
|
Loading…
Reference in a new issue