Fix unused variable warning in SSL test suite

This commit is contained in:
Hanno Becker 2019-07-08 11:29:13 +01:00
parent ac8c984784
commit 90f7b75354

View file

@ -171,6 +171,8 @@ static int build_transforms( mbedtls_ssl_transform *t_in,
#if !defined(MBEDTLS_SSL_CONF_FIXED_MINOR_VER) #if !defined(MBEDTLS_SSL_CONF_FIXED_MINOR_VER)
t_out->minor_ver = ver; t_out->minor_ver = ver;
t_in->minor_ver = ver; t_in->minor_ver = ver;
#else
((void) ver);
#endif #endif
t_out->ivlen = ivlen; t_out->ivlen = ivlen;
t_in->ivlen = ivlen; t_in->ivlen = ivlen;