mirror of https://github.com/wolfSSL/wolfssh.git
Fix DoKexDhReply to reject the pubkey without the callback
parent
9c8b4e8a2c
commit
c9b8d19ff1
|
|
@ -5818,8 +5818,8 @@ static int DoKexDhReply(WOLFSSH* ssh, byte* buf, word32 len, word32* idx)
|
|||
}
|
||||
}
|
||||
else {
|
||||
WLOG(WS_LOG_DEBUG, "DKDR: no public key check callback, accepted");
|
||||
ret = WS_SUCCESS;
|
||||
WLOG(WS_LOG_DEBUG, "DKDR: no public key check callback, rejected");
|
||||
ret = WS_PUBKEY_REJECTED_E;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue