commit | 6e052b0fbe4d822c4281ceeaca91452731ca25f8 | [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 14:15:53 2017 +0100 |
tree | 0e740401cbf13ad7a7aeaaf06c6e437cb5ed363c | |
parent | fbaeea4693486b35587ec9eafc9ffa09cdcfe309 [diff] [blame] |
Improve debugging output
diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 906d6ac..5c012a1 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c
@@ -1261,7 +1261,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 ); }