mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Fix ssl-opt.sh test cases grepping for MFL configuration output
Use and grep for the new max in/out record payload length API instead. Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
@ -2083,6 +2083,13 @@ int main( int argc, char *argv[] )
|
||||
else
|
||||
mbedtls_printf( " [ Record expansion is unknown ]\n" );
|
||||
|
||||
#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
|
||||
mbedtls_printf( " [ Maximum incoming record payload length is %u ]\n",
|
||||
(unsigned int) mbedtls_ssl_get_max_in_record_payload( &ssl ) );
|
||||
mbedtls_printf( " [ Maximum outgoing record payload length is %u ]\n",
|
||||
(unsigned int) mbedtls_ssl_get_max_out_record_payload( &ssl ) );
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_SSL_ALPN)
|
||||
if( opt.alpn_string != NULL )
|
||||
{
|
||||
|
Reference in New Issue
Block a user