Expose SSL HW record acceleration error.
Expose SSL HW record acceleration error.

Fix issue with variable shadowing.

Signed-off-by: sander-visser <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@visser.se>

Mbed-TLS/mbedtls,ARMmbed/mbedtls,Mbed-TLS/mbedtls,NXPmicro/mbedtls,ARMmbed/mbedtls,NXPmicro/mbedtls,NXPmicro/mbedtls,ARMmbed/mbedtls,Mbed-TLS/mbedtls,ARMmbed/mbedtls,Mbed-TLS/mbedtls,NXPmicro/mbedtls