From 1abe8ee55482dd77a8c315fea1803c61113536a7 Mon Sep 17 00:00:00 2001 From: sander-visser Date: Wed, 6 May 2020 21:27:14 +0200 Subject: [PATCH] Expose SSL HW record acceleration error. Fix issue with variable shadowing. Signed-off-by: sander-visser --- library/ssl_tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index ccfc4bdaa..760ba90a5 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -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()" ) );