From 89973a7eafb4fbc9722402d3568da0625b5110ab Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Fri, 29 Dec 2017 09:47:28 -0700 Subject: [PATCH] cast for call to ecc_point copy function --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index ae51893c0..669c70e9c 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -22870,7 +22870,7 @@ WOLFSSL_EC_KEY *wolfSSL_EC_KEY_new(void) key = (ecc_key*)external->internal; external->pub_key->internal = wc_ecc_new_point(); if (wc_ecc_copy_point((ecc_point*)&key->pubkey, - external->pub_key->internal) != MP_OKAY) { + (ecc_point*)external->pub_key->internal) != MP_OKAY) { WOLFSSL_MSG("wc_ecc_copy_point failure"); wolfSSL_EC_KEY_free(external); return NULL;