commit | 18c7b9fdaa6910460b3173ef080286fa6bf4aab1 | [log] [tgz] |
---|---|---|
author | Jaeden Amero <jaeden.amero@arm.com> | Tue Sep 10 18:51:43 2019 +0100 |
committer | GitHub <noreply@github.com> | Tue Sep 10 18:51:43 2019 +0100 |
tree | 09b9f63ab508e477b790eb1fa115a41cbaa7fde0 | |
parent | 9298dca14d3da3743e7ffa0cd13ce77d789d37e0 [diff] | |
parent | 56a74cdcc9dfcf0f4355ecdc10538496c6719f9d [diff] |
Merge pull request #210 from tempesta-tech/extra-mbedtls_ecp_group_free Remove extra mbedtls_ecp_group_free()
diff --git a/library/ecp_curves.c b/library/ecp_curves.c index 282481d..dcc7073 100644 --- a/library/ecp_curves.c +++ b/library/ecp_curves.c
@@ -836,7 +836,7 @@ #endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */ default: - mbedtls_ecp_group_free( grp ); + grp->id = MBEDTLS_ECP_DP_NONE; return( MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE ); } }