mirror of https://github.com/ARMmbed/mbed-os.git
Fix attestation main to check PSA target before includes
parent
7dd58b99cc
commit
e819b23638
|
@ -16,6 +16,10 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C)))
|
||||
#error [NOT_SUPPORTED] Mbed Crypto is OFF - skipping.
|
||||
#endif // TARGET_PSA
|
||||
|
||||
#include "greentea-client/test_env.h"
|
||||
#include "unity/unity.h"
|
||||
#include "utest/utest.h"
|
||||
|
@ -27,10 +31,6 @@
|
|||
#include "entropy.h"
|
||||
#include "entropy_poll.h"
|
||||
|
||||
#if ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C)))
|
||||
#error [NOT_SUPPORTED] Mbed Crypto is OFF - skipping.
|
||||
#endif // TARGET_PSA
|
||||
|
||||
/* MAX value support macro */
|
||||
#if !defined(MAX)
|
||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||
|
|
Loading…
Reference in New Issue