Merge branch 'development' into development-restricted
* development: Reword changelog - Test Resource Leak Fix improper spacing Update changelog formatting - Missing Free Context Update changlog formatting - Missing Free Context Update changelog formatting - Missing Free Context Changelog entry for Free Context in test_suite_aes fix Free context in at the end of aes_crypt_xts_size()
This commit is contained in:
commit
8aed60bdfb
2 changed files with 5 additions and 0 deletions
3
ChangeLog.d/issue4176.txt
Normal file
3
ChangeLog.d/issue4176.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Bugfix
|
||||
* Fix a resource leak in a test suite with an alternative AES
|
||||
implementation. Fixes #4176.
|
|
@ -207,6 +207,8 @@ void aes_crypt_xts_size( int size, int retval )
|
|||
memset( data_unit, 0x00, sizeof( data_unit ) );
|
||||
|
||||
TEST_ASSERT( mbedtls_aes_crypt_xts( &ctx, MBEDTLS_AES_ENCRYPT, length, data_unit, src, output ) == retval );
|
||||
exit:
|
||||
mbedtls_aes_xts_free( &ctx );
|
||||
}
|
||||
/* END_CASE */
|
||||
|
||||
|
|
Loading…
Reference in a new issue