mirror of https://github.com/wolfSSL/wolfssh.git
ClientPublicKeyCheck() prompted to add an unknown server's key to known_hosts but, if the user declined, left ret at 0 and returned WS_SUCCESS, silently accepting the unverified host. Set ret = -1 in the else branch to mirror the otherMatch case and abort the handshake when the user does not confirm. Issue: F-3444 |
||
|---|---|---|
| .. | ||
| wolfssh | ||
| wolfsshd | ||
| include.am | ||