diff --git a/library/ssl_tls.c b/library/ssl_tls.c index d81d1e1e6..973a36ac3 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -826,6 +826,9 @@ static int ssl_populate_transform( mbedtls_ssl_transform *transform, const unsigned char randbytes[64], int minor_ver, unsigned endpoint, +#if !defined(MBEDTLS_SSL_HW_RECORD_ACCEL) + const +#endif mbedtls_ssl_context *ssl ) { int ret = 0;