mirror of https://github.com/wolfSSL/wolfssh.git
A USERAUTH_REQUEST naming a service other than "ssh-connection" is refused before method dispatch, so it drops the per-method state there too. A following USERAUTH_INFO_RESPONSE is no longer run against a keyboard-interactive exchange the server has already failed. - reset ssh->authId and clear ssh->kbSetupPending on the refusal - charge the abandoned exchange, as the dispatch path does - leave ssh->kbAuth alone; clients free those buffers by promptCount - add wolfSSH_TestDoUserAuthInfoResponse() for the tests - cover the refusal and the stale INFO_RESPONSE in tests/unit.c Issue: F-10575 |
||
|---|---|---|
| .. | ||
| api.c | ||
| api.h | ||
| auth.c | ||
| auth.h | ||
| include.am | ||
| kex.c | ||
| kex.h | ||
| regress.c | ||
| sftp.c | ||
| sftp.h | ||
| testsuite.c | ||
| testsuite.h | ||
| unit.c | ||
| unit.h | ||