mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-12 21:29:56 +00:00
Add checked return to cipher setup
Signed-off-by: Paul Elliott <[email protected]>
This commit is contained in:
@@ -38,7 +38,7 @@ void cipher_invalid_param_unconditional( )
|
|||||||
(void)valid_mode; /* In some configurations this is unused */
|
(void)valid_mode; /* In some configurations this is unused */
|
||||||
|
|
||||||
mbedtls_cipher_init( &valid_ctx );
|
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_init( &invalid_ctx );
|
||||||
|
|
||||||
/* mbedtls_cipher_setup() */
|
/* mbedtls_cipher_setup() */
|
||||||
|
|||||||
Reference in New Issue
Block a user