summaryrefslogtreecommitdiff
path: root/thirdparty/mbedtls/library/memory_buffer_alloc.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-07-28 11:16:41 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-07-28 11:16:58 +0200
commitd8e1cd7a109bc832826f21d6df1faf401be8dcc9 (patch)
treebfbce3426cb677827d6086a3e135aa4110af0fbf /thirdparty/mbedtls/library/memory_buffer_alloc.c
parent4e4702e3868af342b0e2964c7753fa4a3aa83af8 (diff)
mbedtls: Update to upstream version 2.12.0
_WIN32_WINNT redefinition fix is no longer needed as it was merged upstream. PR 1453 is still not merged, diff updated to current state.
Diffstat (limited to 'thirdparty/mbedtls/library/memory_buffer_alloc.c')
-rw-r--r--thirdparty/mbedtls/library/memory_buffer_alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/mbedtls/library/memory_buffer_alloc.c b/thirdparty/mbedtls/library/memory_buffer_alloc.c
index ceaeda1e73..51ea7c41d7 100644
--- a/thirdparty/mbedtls/library/memory_buffer_alloc.c
+++ b/thirdparty/mbedtls/library/memory_buffer_alloc.c
@@ -518,7 +518,9 @@ void mbedtls_memory_buffer_alloc_status( void )
heap.alloc_count, heap.free_count );
if( heap.first->next == NULL )
+ {
mbedtls_fprintf( stderr, "All memory de-allocated in stack buffer\n" );
+ }
else
{
mbedtls_fprintf( stderr, "Memory currently allocated:\n" );