Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ejohnstown committed Oct 4, 2024
1 parent 511e92f commit c98f8bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -4139,9 +4139,14 @@ static int DoKexInit(WOLFSSH* ssh, byte* buf, word32 len, word32* idx)
byte scratchLen[LENGTH_SZ];
word32 strSz = 0;

ssh->peerKeying = 1;

if (!ssh->keying) {
WLOG(WS_LOG_DEBUG, "Keying initiated");
ret = SendKexInit(ssh);
if (ret == WS_SUCCESS) {
ssh->keying = 1;
}
}

/* account for possible want write case from SendKexInit */
Expand Down

0 comments on commit c98f8bd

Please sign in to comment.