wolfssh/tests
John Safranek 65802d438c internal: commit a session only once accepted
A shell, exec or subsystem request changes the channel only once the
callback accepts it. The session type and command are set for the
callback to read and put back if it refuses, and CLIENT_DONE follows
acceptance alone, so wolfSSH_accept() stays where it is rather than
reporting a session it answered CHANNEL_FAILURE as established.

- DoChannelRequestSession() carries the three arms, which differed only
  in the type and the callback consulted
- a refusal puts the type and command back, so a grant an earlier
  request won still stands
- FreeChannelCommand() wipes and releases a command line for both
  ChannelDelete() and the refusal path
- unit.c drives a refused shell, exec and subsystem request through
  DoChannelRequest() and checks nothing was committed, and that a
  refusal after a grant puts the earlier command back whole
- regress.c checks accept() stays at ACCEPT_SERVER_CHANNEL_ACCEPT_SENT
  on a refused shell, and that the sftp gate and both diverts ask for
  the grant alone

Issue: F-8852
2026-09-14 14:48:15 -07:00
..
api.c tests: pin the get_fd invalid-socket sentinel 2026-09-10 18:03:59 -07:00
api.h Release v1.4.22 2025-12-29 16:53:33 -08:00
auth.c examples, tests: terminate the ES_ERROR messages with a newline 2026-08-28 18:22:34 -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 internal: Refactor and gate ML-DSA composite key handling 2026-09-02 15:35:09 -07:00
kex.h Release v1.4.22 2025-12-29 16:53:33 -08:00
regress.c internal: commit a session only once accepted 2026-09-14 14:48:15 -07:00
sftp.c fix for flags handling, ocsp case, macro guards, unused variable, changed default from MY to required to be set 2026-09-05 01:32:02 -07:00
sftp.h Release v1.4.22 2025-12-29 16:53:33 -08:00
testsuite.c ssh, apps, examples: take the worker's status from its return 2026-09-14 10:40:48 -07:00
testsuite.h Release v1.4.22 2025-12-29 16:53:33 -08:00
unit.c internal: commit a session only once accepted 2026-09-14 14:48:15 -07:00
unit.h Release v1.4.22 2025-12-29 16:53:33 -08:00