Fix ecp variant check

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei 2023-07-12 13:53:49 +02:00
parent 88f34e3348
commit 92ce4c2cbf
No known key found for this signature in database
GPG key ID: F072ACA227ACD71D

View file

@ -1636,7 +1636,7 @@ void check_variant()
{
mbedtls_ecp_variant variant = mbedtls_ecp_get_variant();
#if defined(MBEDTLS_ECP_VARIANT_WITH_MPI_UINT)
#if defined(MBEDTLS_ECP_WITH_MPI_UINT)
TEST_EQUAL(variant, MBEDTLS_ECP_VARIANT_WITH_MPI_UINT);
#else
TEST_EQUAL(variant, MBEDTLS_ECP_VARIANT_WITH_MPI_STRUCT);