mirror of https://github.com/wolfSSL/wolfssh.git
Merge pull request #921 from ejohnstown/expect-newkeys
Fix server NEWKEYS message expectationpull/923/head
commit
85cf3e7c25
|
|
@ -12929,8 +12929,11 @@ int SendKexDhReply(WOLFSSH* ssh)
|
|||
ret = BundlePacket(ssh);
|
||||
}
|
||||
|
||||
if (ret == WS_SUCCESS)
|
||||
if (ret == WS_SUCCESS) {
|
||||
ssh->handshake->expectMsgId = MSGID_NEWKEYS;
|
||||
WLOG_EXPECT_MSGID(ssh->handshake->expectMsgId);
|
||||
ret = SendNewKeys(ssh);
|
||||
}
|
||||
|
||||
if (ret == WS_SUCCESS && ssh->sendExtInfo) {
|
||||
ret = SendExtInfo(ssh);
|
||||
|
|
|
|||
Loading…
Reference in New Issue