Skip to content

Commit

Permalink
Smallstack fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
anhu committed Feb 22, 2024
1 parent 4d22a1b commit 3ca5ea2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -10081,6 +10081,7 @@ int SendKexDhReply(WOLFSSH* ssh)
#ifndef WOLFSSH_NO_CURVE25519_SHA256
if (useCurve25519) {
#ifdef WOLFSSH_SMALL_STACK
curve25519_key *pubKey = NULL, *privKey = NULL;
pubKey = (curve25519_key*)WMALLOC(sizeof(curve25519_key),
heap, DYNTYPE_PUBKEY);
privKey = (curve25519_key*)WMALLOC(sizeof(curve25519_key),
Expand Down

0 comments on commit 3ca5ea2

Please sign in to comment.