mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 05:45:27 +00:00
Fix braces in mbedtls_memory_buffer_alloc_status()
This commit is contained in:
parent
fcfa4c21c1
commit
b11de306c4
|
@ -20,6 +20,7 @@ API Changes
|
||||||
Bugfix
|
Bugfix
|
||||||
* Fix an issue with MicroBlaze support in bn_mul.h which was causing the
|
* Fix an issue with MicroBlaze support in bn_mul.h which was causing the
|
||||||
build to fail. Found by zv-io. Fixes #1651.
|
build to fail. Found by zv-io. Fixes #1651.
|
||||||
|
* Fix braces in mbedtls_memory_buffer_alloc_status(). Found by sbranden, #552.
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* Support TLS testing in out-of-source builds using cmake. Fixes #1193.
|
* Support TLS testing in out-of-source builds using cmake. Fixes #1193.
|
||||||
|
|
|
@ -518,7 +518,9 @@ void mbedtls_memory_buffer_alloc_status( void )
|
||||||
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