change SetCurve return type to int, as used

This commit is contained in:
John Safranek
2015-07-22 11:52:42 -07:00
parent e1a2458bb4
commit 4cdece20fb

View File

@@ -2735,7 +2735,7 @@ WOLFSSL_LOCAL word32 SetExplicit(byte number, word32 len, byte* output)
#if defined(HAVE_ECC) && (defined(WOLFSSL_CERT_GEN) || defined(WOLFSSL_KEY_GEN))
static word32 SetCurve(ecc_key* key, byte* output)
static int SetCurve(ecc_key* key, byte* output)
{
/* curve types */