From 01099fd97e6642ea6642056e45ff17562424fc18 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Mon, 31 Jul 2017 16:58:53 -0600 Subject: [PATCH] cast for when compiling with g++-7 --- src/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls.c b/src/tls.c index ffd0e7cf3..222f0d621 100755 --- a/src/tls.c +++ b/src/tls.c @@ -5065,7 +5065,7 @@ static void TLSX_KeyShare_FreeAll(KeyShareEntry* list, void* heap) } else #endif - wc_ecc_free(current->key); + wc_ecc_free((ecc_key*)(current->key)); } XFREE(current->key, heap, DYNAMIC_TYPE_PRIVATE_KEY); XFREE(current->ke, heap, DYNAMIC_TYPE_PUBLIC_KEY);