forked from wolfSSL/wolfssl
Fix for ProcessUserChain with WOLFSSL_SMALL_STACK defined causing stack corruption.
This commit is contained in:
@@ -3932,7 +3932,7 @@ static int ProcessUserChain(WOLFSSL_CTX* ctx, const unsigned char* buff,
|
|||||||
#endif
|
#endif
|
||||||
byte* chainBuffer = staticBuffer;
|
byte* chainBuffer = staticBuffer;
|
||||||
int dynamicBuffer = 0;
|
int dynamicBuffer = 0;
|
||||||
word32 bufferSz = FILE_BUFFER_SIZE;
|
word32 bufferSz = sizeof(staticBuffer);
|
||||||
long consumed = info->consumed;
|
long consumed = info->consumed;
|
||||||
word32 idx = 0;
|
word32 idx = 0;
|
||||||
int gotOne = 0;
|
int gotOne = 0;
|
||||||
|
Reference in New Issue
Block a user