mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-08 10:25:37 +00:00
Fix braces in mbedtls_memory_buffer_alloc_status()
This commit is contained in:
parent
0f34b06a4d
commit
ce52b58da0
|
@ -51,6 +51,7 @@ Changes
|
||||||
* Improve robustness of mbedtls_ssl_derive_keys against the use of
|
* Improve robustness of mbedtls_ssl_derive_keys against the use of
|
||||||
HMAC functions with non-HMAC ciphersuites. Independently contributed
|
HMAC functions with non-HMAC ciphersuites. Independently contributed
|
||||||
by Jiayuan Chen in #1377. Fixes #1437.
|
by Jiayuan Chen in #1377. Fixes #1437.
|
||||||
|
* Fix braces in mbedtls_memory_buffer_alloc_status(). Found by sbranden, #552.
|
||||||
|
|
||||||
= mbed TLS 2.1.11 branch released 2018-03-16
|
= mbed TLS 2.1.11 branch released 2018-03-16
|
||||||
|
|
||||||
|
|
|
@ -522,7 +522,9 @@ void mbedtls_memory_buffer_alloc_status()
|
||||||
heap.alloc_count, heap.free_count );
|
heap.alloc_count, heap.free_count );
|
||||||
|
|
||||||
if( heap.first->next == NULL )
|
if( heap.first->next == NULL )
|
||||||
|
{
|
||||||
mbedtls_fprintf( stderr, "All memory de-allocated in stack buffer\n" );
|
mbedtls_fprintf( stderr, "All memory de-allocated in stack buffer\n" );
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mbedtls_fprintf( stderr, "Memory currently allocated:\n" );
|
mbedtls_fprintf( stderr, "Memory currently allocated:\n" );
|
||||||
|
|
Loading…
Reference in a new issue