From 69db94d66818aafc425d5564d10df12eeb518e99 Mon Sep 17 00:00:00 2001 From: David Garske Date: Wed, 22 Jun 2016 07:06:07 -0700 Subject: [PATCH] Fix build error for un-initialized "kb" variable when built with fixed point cache and small stack enabled. --- wolfcrypt/src/ecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/ecc.c b/wolfcrypt/src/ecc.c index b2b19aa2c..da2580125 100644 --- a/wolfcrypt/src/ecc.c +++ b/wolfcrypt/src/ecc.c @@ -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