From 77233ec411c1642c79c81ccaf8b665063faba540 Mon Sep 17 00:00:00 2001 From: Alexander K Date: Thu, 5 Sep 2019 21:37:39 +0300 Subject: [PATCH] Fix misprint --- 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 400f208a0..941ac69e1 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 = id; + grp->id = 0; return( MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE ); } }