Expose SSL HW record acceleration error.

Fix issue with variable shadowing.

Signed-off-by: sander-visser <github@visser.se>
This commit is contained in:
sander-visser 2020-05-06 21:27:14 +02:00
parent 5435451a1a
commit 1abe8ee554

View File

@ -1175,7 +1175,7 @@ static int ssl_populate_transform( mbedtls_ssl_transform *transform,
#if defined(MBEDTLS_SSL_HW_RECORD_ACCEL)
if( mbedtls_ssl_hw_record_init != NULL )
{
int ret = 0;
ret = 0;
MBEDTLS_SSL_DEBUG_MSG( 2, ( "going for mbedtls_ssl_hw_record_init()" ) );