Fix configuration WOLFSSH_NO_DH

pull/330/head
Daniele Lacamera 2021-03-26 15:26:02 +01:00
parent a77bc90b75
commit 0b73cc7472
1 changed files with 1 additions and 1 deletions

View File

@ -6575,8 +6575,8 @@ int SendKexDhReply(WOLFSSH* ssh)
word32 primeGroupSz = 0;
const byte* generator = NULL;
word32 generatorSz = 0;
struct wolfSSH_sigKeyBlockFull *sigKeyBlock_ptr;
#endif
struct wolfSSH_sigKeyBlockFull *sigKeyBlock_ptr;
#ifdef WOLFSSH_SMALL_STACK
sigKeyBlock_ptr = WMALLOC(sizeof(struct wolfSSH_sigKeyBlockFull),
ssh->ctx->heap, DYNTYPE_PRIVKEY);