Fix missing guard on XTS function in tests

This commit is contained in:
Manuel Pégourié-Gonnard 2018-12-18 12:02:52 +01:00
parent 9794098cfa
commit af0c6cb9e0

View file

@ -402,7 +402,9 @@ void aes_valid_param( )
{
/* These calls accept NULL */
TEST_VALID_PARAM( mbedtls_aes_free( NULL ) );
#if defined(MBEDTLS_CIPHER_MODE_XTS)
TEST_VALID_PARAM( mbedtls_aes_xts_free( NULL ) );
#endif
}
/* END_CASE */