forked from wolfSSL/wolfssl
Fix issue with fp_s_rmap
not being const.
This commit is contained in:
@ -3080,8 +3080,8 @@ int mp_add_d(fp_int *a, fp_digit b, fp_int *c)
|
|||||||
#if defined(HAVE_ECC) || defined(WOLFSSL_KEY_GEN) || defined(HAVE_COMP_KEY)
|
#if defined(HAVE_ECC) || defined(WOLFSSL_KEY_GEN) || defined(HAVE_COMP_KEY)
|
||||||
|
|
||||||
/* chars used in radix conversions */
|
/* chars used in radix conversions */
|
||||||
static const char *fp_s_rmap = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\
|
static const char* const fp_s_rmap = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||||
abcdefghijklmnopqrstuvwxyz+/";
|
"abcdefghijklmnopqrstuvwxyz+/";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_ECC
|
#ifdef HAVE_ECC
|
||||||
|
@ -606,8 +606,6 @@ void fp_sqr_comba32(fp_int *a, fp_int *b);
|
|||||||
void fp_sqr_comba48(fp_int *a, fp_int *b);
|
void fp_sqr_comba48(fp_int *a, fp_int *b);
|
||||||
void fp_sqr_comba64(fp_int *a, fp_int *b);
|
void fp_sqr_comba64(fp_int *a, fp_int *b);
|
||||||
|
|
||||||
/*extern const char *fp_s_rmap;*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used by wolfSSL
|
* Used by wolfSSL
|
||||||
|
Reference in New Issue
Block a user