Fix erroneous macro guards
Replace MBEDTLS_SHA256_C for PSA_WANT_ALG_SHA_256 everywhere, including comments and print statements. Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
1fd916a1a3
commit
2c872340e8
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ const size_t mbedtls_test_sha256_hash_len =
|
|||
#if !defined(MBEDTLS_PSA_CRYPTO_C) || !defined(PSA_WANT_ALG_SHA_256)
|
||||
int main(void)
|
||||
{
|
||||
mbedtls_printf("MBEDTLS_PSA_CRYPTO_C and MBEDTLS_SHA256_C"
|
||||
mbedtls_printf("MBEDTLS_PSA_CRYPTO_C and PSA_WANT_ALG_SHA_256"
|
||||
"not defined.\r\n");
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
@ -160,4 +160,4 @@ int main(void)
|
|||
mbedtls_psa_crypto_free();
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
#endif /* MBEDTLS_PSA_CRYPTO_C && MBEDTLS_SHA256_C */
|
||||
#endif /* MBEDTLS_PSA_CRYPTO_C && PSA_WANT_ALG_SHA_256 */
|
||||
|
|
Loading…
Reference in a new issue