mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 13:15:40 +01:00
Remove mbedtls_ssl_free() and mbedtls_ssl_init() from serialization flow in test
This commit is contained in:
parent
cc281b8a54
commit
38061f4a17
@ -2392,12 +2392,8 @@ send_request:
|
||||
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 );
|
||||
|
@ -3377,12 +3377,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 );
|
||||
|
Loading…
Reference in New Issue
Block a user