From 18658a78969dd9e9aece3d4f06521c95a18f8501 Mon Sep 17 00:00:00 2001 From: David Brown Date: Mon, 8 Feb 2021 19:37:40 -0700 Subject: [PATCH] Disable error on CHACHAPOLY misconfiguration As the test tries this in multiple configurations, an #error here will fail CI. Signed-off-by: David Brown --- include/mbedtls/config_psa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mbedtls/config_psa.h b/include/mbedtls/config_psa.h index 0ef1c954f..6612a108b 100644 --- a/include/mbedtls/config_psa.h +++ b/include/mbedtls/config_psa.h @@ -364,7 +364,7 @@ extern "C" { #if defined(PSA_WANT_KEY_TYPE_CHACHA20) #define MBEDTLS_CHACHAPOLY_C #else /* not PSA_WANT_KEY_TYPE_CHACHA20 */ -#error "PSA_WANT_ALG_CHACHA20_POLY1305 requires PSA_WANT_KEY_TYPE_CHACHA20" +// #error "PSA_WANT_ALG_CHACHA20_POLY1305 requires PSA_WANT_KEY_TYPE_CHACHA20" #endif /* PSA_WANT_KEY_TYPE_CHACHA20 */ #endif /* PSA_WANT_ALG_CHACHA20_POLY1305 */