forked from wolfSSL/wolfssl
cast for when compiling with g++-7
This commit is contained in:
@@ -5065,7 +5065,7 @@ static void TLSX_KeyShare_FreeAll(KeyShareEntry* list, void* heap)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
wc_ecc_free(current->key);
|
wc_ecc_free((ecc_key*)(current->key));
|
||||||
}
|
}
|
||||||
XFREE(current->key, heap, DYNAMIC_TYPE_PRIVATE_KEY);
|
XFREE(current->key, heap, DYNAMIC_TYPE_PRIVATE_KEY);
|
||||||
XFREE(current->ke, heap, DYNAMIC_TYPE_PUBLIC_KEY);
|
XFREE(current->ke, heap, DYNAMIC_TYPE_PUBLIC_KEY);
|
||||||
|
Reference in New Issue
Block a user