forked from wolfSSL/wolfssl
Fix mp_set to return int after rebase.
This commit is contained in:
@@ -3078,9 +3078,10 @@ int mp_cnt_lsb(fp_int* a)
|
|||||||
|
|
||||||
#if defined(HAVE_ECC) || !defined(NO_RSA) || !defined(NO_DSA)
|
#if defined(HAVE_ECC) || !defined(NO_RSA) || !defined(NO_DSA)
|
||||||
/* fast math conversion */
|
/* 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);
|
fp_set(a,b);
|
||||||
|
return MP_OKAY;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -671,7 +671,7 @@ int mp_radix_size (mp_int * a, int radix, int *size);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_ECC) || !defined(NO_RSA) || !defined(NO_DSA)
|
#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
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_ECC) || defined(WOLFSSL_KEY_GEN)
|
#if defined(HAVE_ECC) || defined(WOLFSSL_KEY_GEN)
|
||||||
|
Reference in New Issue
Block a user