1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Add ssl_get_record_expansion()

This commit is contained in:
Manuel Pégourié-Gonnard
2014-10-14 17:47:31 +02:00
committed by Paul Bakker
parent e63582a166
commit 9b35f18f66
4 changed files with 56 additions and 0 deletions

View File

@ -1704,6 +1704,11 @@ reset:
ssl_get_version( &ssl ), ssl_get_ciphersuite( &ssl ) );
}
if( ( ret = ssl_get_record_expansion( &ssl ) ) >= 0 )
printf( " [ Record expansion is %d ]\n", ret );
else
printf( " [ Record expansion is unknown (compression) ]\n" );
#if defined(POLARSSL_SSL_ALPN)
if( opt.alpn_string != NULL )
{