Fix mp_set to return int after rebase.

This commit is contained in:
David Garske 2017-02-21 14:12:27 -08:00
parent b05cfec057
commit e01da5c44c
2 changed files with 3 additions and 2 deletions
wolfcrypt/src
wolfssl/wolfcrypt

@ -3078,9 +3078,10 @@ int mp_cnt_lsb(fp_int* a)
#if defined(HAVE_ECC) || !defined(NO_RSA) || !defined(NO_DSA)
/* fast math conversion */
void mp_set(fp_int *a, fp_digit b)
int mp_set(fp_int *a, fp_digit b)
{
fp_set(a,b);
return MP_OKAY;
}
#endif

@ -671,7 +671,7 @@ int mp_radix_size (mp_int * a, int radix, int *size);
#endif
#if defined(HAVE_ECC) || !defined(NO_RSA) || !defined(NO_DSA)
void mp_set(fp_int *a, fp_digit b);
int mp_set(fp_int *a, fp_digit b);
#endif
#if defined(HAVE_ECC) || defined(WOLFSSL_KEY_GEN)