mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-21 01:27:24 +00:00
tests: fix some guards
psa_crypto_helpers: to include "psa_helpers.h" as soon as CRYPTO_CLIENT is enabled. test_suite_psa_crypto_low_hash: add MBEDTLS_PSA_CRYPTO_C as dependency for test functions. Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "test/helpers.h"
|
||||
|
||||
#if defined(MBEDTLS_PSA_CRYPTO_C)
|
||||
#if defined(MBEDTLS_PSA_CRYPTO_CLIENT)
|
||||
#include "test/psa_helpers.h"
|
||||
#include <psa/crypto.h>
|
||||
#endif
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
/* END_HEADER */
|
||||
|
||||
/* BEGIN_DEPENDENCIES
|
||||
* depends_on:MBEDTLS_PSA_BUILTIN_HASH
|
||||
* depends_on:MBEDTLS_PSA_CRYPTO_C:MBEDTLS_PSA_BUILTIN_HASH
|
||||
* END_DEPENDENCIES
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user