We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ebca2b2 + d64c0c3 commit 784567eCopy full SHA for 784567e
1 file changed
src/internal.c
@@ -437,6 +437,8 @@ static HandshakeInfo* HandshakeInfoNew(void* heap)
437
newHs->macId = ID_NONE;
438
newHs->blockSz = MIN_BLOCK_SZ;
439
newHs->hashId = WC_HASH_TYPE_NONE;
440
+ newHs->eSz = sizeof newHs->e;
441
+ newHs->xSz = sizeof newHs->x;
442
#ifndef WOLFSSH_NO_DH_GEX_SHA256
443
newHs->dhGexMinSz = WOLFSSH_DEFAULT_GEXDH_MIN;
444
newHs->dhGexPreferredSz = WOLFSSH_DEFAULT_GEXDH_PREFERRED;
0 commit comments