forked from wolfSSL/wolfssl
Merge pull request #1203 from dgarske/fix_const2
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)
|
||||
|
||||
/* chars used in radix conversions */
|
||||
static const char *fp_s_rmap = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\
|
||||
abcdefghijklmnopqrstuvwxyz+/";
|
||||
static const char* const fp_s_rmap = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
"abcdefghijklmnopqrstuvwxyz+/";
|
||||
#endif
|
||||
|
||||
#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_comba64(fp_int *a, fp_int *b);
|
||||
|
||||
/*extern const char *fp_s_rmap;*/
|
||||
|
||||
|
||||
/**
|
||||
* Used by wolfSSL
|
||||
|
Reference in New Issue
Block a user