Fix build error for un-initialized "kb" variable when built with fixed point cache and small stack enabled.

This commit is contained in:
David Garske 2016-06-22 07:06:07 -07:00
parent d294dc363e
commit 69db94d668

View File

@ -4177,7 +4177,7 @@ static int accel_fp_mul(int idx, mp_int* k, ecc_point *R, mp_int* a,
#define KB_SIZE 128
#ifdef WOLFSSL_SMALL_STACK
unsigned char* kb;
unsigned char* kb = NULL;
#else
unsigned char kb[KB_SIZE];
#endif