Fix mp_set to return int after rebase.
This commit is contained in:
parent
b05cfec057
commit
e01da5c44c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user