diff --git a/wolfcrypt/src/tfm.c b/wolfcrypt/src/tfm.c index 5f4df8cd9..159b8e6ca 100644 --- a/wolfcrypt/src/tfm.c +++ b/wolfcrypt/src/tfm.c @@ -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 diff --git a/wolfssl/wolfcrypt/tfm.h b/wolfssl/wolfcrypt/tfm.h index 3364c33b2..27c884a25 100644 --- a/wolfssl/wolfcrypt/tfm.h +++ b/wolfssl/wolfcrypt/tfm.h @@ -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