Fix for ProcessUserChain with WOLFSSL_SMALL_STACK defined causing stack corruption.

pull/759/head
David Garske 2017-02-21 10:38:44 -08:00
parent db1f205522
commit f0112c2f7d
1 changed files with 1 additions and 1 deletions

View File

@ -3932,7 +3932,7 @@ static int ProcessUserChain(WOLFSSL_CTX* ctx, const unsigned char* buff,
#endif
byte* chainBuffer = staticBuffer;
int dynamicBuffer = 0;
word32 bufferSz = FILE_BUFFER_SIZE;
word32 bufferSz = sizeof(staticBuffer);
long consumed = info->consumed;
word32 idx = 0;
int gotOne = 0;