Fix for FREE_VAR call on sharedA.

This commit is contained in:
David Garske
2020-01-14 14:35:20 -08:00
parent e429dd8f0b
commit 989f3d3684

View File

@ -17691,8 +17691,8 @@ done:
wc_ecc_free(&userB);
wc_ecc_free(&userA);
FREE_VAR(sharedA, HEAP_HINT);
#if defined(HAVE_ECC_DHE) || defined(HAVE_ECC_CDH)
FREE_VAR(sharedA, HEAP_HINT);
FREE_VAR(sharedB, HEAP_HINT);
#endif
#ifdef HAVE_ECC_SIGN