From 56a74cdcc9dfcf0f4355ecdc10538496c6719f9d Mon Sep 17 00:00:00 2001 From: Alexander K Date: Tue, 10 Sep 2019 17:58:20 +0300 Subject: [PATCH] Replace 0 by MBEDTLS_ECP_DP_NONE to avoid IAR compiler complains --- library/ecp_curves.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ecp_curves.c b/library/ecp_curves.c index 941ac69e1..dcc70739d 100644 --- a/library/ecp_curves.c +++ b/library/ecp_curves.c @@ -836,7 +836,7 @@ int mbedtls_ecp_group_load( mbedtls_ecp_group *grp, mbedtls_ecp_group_id id ) #endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */ default: - grp->id = 0; + grp->id = MBEDTLS_ECP_DP_NONE; return( MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE ); } }