commit | 184f6752566bcae1e6dcdfa8408b9f859d7a5111 | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Wed Oct 04 13:47:33 2017 +0100 |
committer | Hanno Becker <hanno.becker@arm.com> | Wed Oct 04 13:47:33 2017 +0100 |
tree | 44160668d32574e9b3b6c02729ce90630ef2d233 | |
parent | 81e96dd54afa16e2be9a91c5465be6cc4a420071 [diff] [blame] |
Improve debugging output
diff --git a/library/ssl_tls.c b/library/ssl_tls.c index d2ca101..1623674 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c
@@ -1270,7 +1270,8 @@ if( ssl->out_msglen > MBEDTLS_SSL_MAX_CONTENT_LEN ) { - MBEDTLS_SSL_DEBUG_MSG( 1, ( "Record content too large, maximum %d", + MBEDTLS_SSL_DEBUG_MSG( 1, ( "Record content %u too large, maximum %d", + (unsigned) ssl->out_msglen, MBEDTLS_SSL_MAX_CONTENT_LEN ) ); return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA ); }