1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Improve sanity checking of MBEDTLS_HAVE_INTxx

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman
2023-09-06 08:41:05 +01:00
parent b7b8c09c81
commit 85061b97b5
2 changed files with 9 additions and 2 deletions

View File

@ -87,8 +87,6 @@ static mbedtls_mpi_uint mpi_bigendian_to_host(mbedtls_mpi_uint a)
return (mbedtls_mpi_uint) MBEDTLS_BSWAP32(a);
#elif defined(MBEDTLS_HAVE_INT64)
return (mbedtls_mpi_uint) MBEDTLS_BSWAP64(a);
#else
#error "This is one of several places that need to be adapted to support a new limb size"
#endif
}
}