wolfssh/tests
John Safranek a98fbddb05 fix: clear userauth state on bad service
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
2026-08-28 17:55:19 -05:00
..
api.c fix: validate keyboard-interactive prompts 2026-08-28 17:45:20 -05:00
api.h
auth.c fix: validate keyboard-interactive prompts 2026-08-28 17:45:20 -05:00
auth.h added check for private and public keys decoded 2026-07-31 16:14:52 -07:00
include.am client: fix keyboard-interactive responses 2026-08-10 10:31:07 -06:00
kex.c Add remaining ML-DSA composite signature algorithms 2026-08-10 14:51:37 -07:00
kex.h
regress.c fix: reject service messages while keying 2026-08-28 17:45:36 -05:00
sftp.c Add a safe mask for peer-supplied mode and extend wolfSSH_SFTP_Open 2026-06-08 10:01:24 -07:00
sftp.h
testsuite.c scp: fix duplicate file header on send 2026-08-04 12:20:49 -04:00
testsuite.h
unit.c fix: clear userauth state on bad service 2026-08-28 17:55:19 -05:00
unit.h