commit | 56a74cdcc9dfcf0f4355ecdc10538496c6719f9d | [log] [tgz] |
---|---|---|
author | Alexander K <ak@tempesta-tech.com> | Tue Sep 10 17:58:20 2019 +0300 |
committer | Alexander K <ak@tempesta-tech.com> | Tue Sep 10 17:58:20 2019 +0300 |
tree | ffadf3de55aff686998a9d8fffd4c662a833183e | |
parent | 77233ec411c1642c79c81ccaf8b665063faba540 [diff] |
Replace 0 by MBEDTLS_ECP_DP_NONE to avoid IAR compiler complains
diff --git a/library/ecp_curves.c b/library/ecp_curves.c index 941ac69..dcc7073 100644 --- a/library/ecp_curves.c +++ b/library/ecp_curves.c
@@ -836,7 +836,7 @@ #endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */ default: - grp->id = 0; + grp->id = MBEDTLS_ECP_DP_NONE; return( MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE ); } }