commit | 2be66d44a5b395b669b7712d46d34b25ee45266a | [log] [tgz] |
---|---|---|
author | Christoph M. Wintersteiger <cwinter@microsoft.com> | Mon Feb 18 13:04:39 2019 +0000 |
committer | Janos Follath <janos.follath@arm.com> | Mon Aug 19 13:37:46 2019 +0100 |
tree | 42026c3066cec207d7d979ac1e175582a9682615 | |
parent | ac0e64df6819a1b0970dd7f34015c90f67b31afc [diff] |
ECDH: Remove duplicate lines of code
diff --git a/library/ecdh.c b/library/ecdh.c index 35e3f4e..f1609bd 100644 --- a/library/ecdh.c +++ b/library/ecdh.c
@@ -283,8 +283,6 @@ #if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED) case MBEDTLS_ECDH_VARIANT_EVEREST: mbedtls_everest_free( &ctx->ctx.everest_ecdh ); - ctx->var = MBEDTLS_ECDH_VARIANT_NONE; - ctx->grp_id = MBEDTLS_ECP_DP_NONE; break; #endif case MBEDTLS_ECDH_VARIANT_MBEDTLS_2_0: