Fix guard of ecjpake.h include in crypto_extra.h

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
Neil Armstrong 2022-06-08 14:07:58 +02:00
parent 63212ddf2f
commit 7616ad28e3

View file

@ -1903,7 +1903,7 @@ static inline void psa_pake_cs_set_hash( psa_pake_cipher_suite_t *cipher_suite,
cipher_suite->hash = hash;
}
#if defined(MBEDTLS_PSA_BUILTIN_PAKE)
#if defined(MBEDTLS_PSA_BUILTIN_ALG_ECJPAKE)
#include <mbedtls/ecjpake.h>
#endif