Replace 0 by MBEDTLS_ECP_DP_NONE to avoid IAR compiler complains

This commit is contained in:
Alexander K 2019-09-10 17:58:20 +03:00
parent 77233ec411
commit 56a74cdcc9

View file

@ -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 );
}
}