Fix issue with fp_s_rmap not being const.

This commit is contained in:
David Garske
2017-10-27 11:46:24 -07:00
parent 264c481c71
commit e8627f1f93
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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