From a94f34c8e24e8e13d4f25c5c954c62f7da775ac2 Mon Sep 17 00:00:00 2001 From: toddouska Date: Wed, 27 Jul 2016 14:24:34 -0700 Subject: [PATCH] fix remaining non fpecc ecc_del_point w/o heap --- wolfcrypt/src/ecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/ecc.c b/wolfcrypt/src/ecc.c index 15fd09327..145797fe2 100644 --- a/wolfcrypt/src/ecc.c +++ b/wolfcrypt/src/ecc.c @@ -2237,7 +2237,7 @@ int wc_ecc_shared_secret(ecc_key* private_key, ecc_key* public_key, byte* out, } if ((err = mp_init_multi(&prime, &a, NULL, NULL, NULL, NULL)) != MP_OKAY) { - wc_ecc_del_point(result); + wc_ecc_del_point_h(result, private_key->heap); return err; }