Skip to content

Commit

Permalink
Merge pull request #349 from ejohnstown/dh-sz-fix
Browse files Browse the repository at this point in the history
DH Size Fix
  • Loading branch information
JacobBarthelmeh authored Jul 16, 2021
2 parents ebca2b2 + d64c0c3 commit 784567e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ static HandshakeInfo* HandshakeInfoNew(void* heap)
newHs->macId = ID_NONE;
newHs->blockSz = MIN_BLOCK_SZ;
newHs->hashId = WC_HASH_TYPE_NONE;
newHs->eSz = sizeof newHs->e;
newHs->xSz = sizeof newHs->x;
#ifndef WOLFSSH_NO_DH_GEX_SHA256
newHs->dhGexMinSz = WOLFSSH_DEFAULT_GEXDH_MIN;
newHs->dhGexPreferredSz = WOLFSSH_DEFAULT_GEXDH_PREFERRED;
Expand Down

0 comments on commit 784567e

Please sign in to comment.