1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Remove mbedtls_ssl_free() and mbedtls_ssl_init() from serialization flow in test

This commit is contained in:
Jarno Lamsa
2019-06-04 15:22:55 +03:00
parent a0b2cd6f82
commit 378d64daad
2 changed files with 0 additions and 8 deletions

View File

@ -3957,12 +3957,8 @@ data_exchange:
goto exit;
}
mbedtls_ssl_free( &ssl );
mbedtls_printf( " Deserializing connection..." );
mbedtls_ssl_init( &ssl );
if( ( ret = mbedtls_ssl_context_load( &ssl, buf, len ) ) != 0 )
{
mbedtls_printf( "failed\n ! mbedtls_ssl_context_load returned -0x%x\n\n", -ret );