wolfssh/tests
Yosuke Shimizu 78c992a5a1 ssh.c: report the byte count from a channel read that defers its credit
- wolfSSH_stream_read() advances inputBuffer->idx before crediting the
  window, and it and _ChannelRead() return the bytes copied with a
  non-success adjust left in ssh->error.
- _ChannelRead() takes the WOLFSSH from channel->ssh, rejects an idx
  past inputBuffer->length, restores the entry ssh->error on a clean
  credit, and retires a stale WS_WANT_WRITE only when its own credit
  went out.
- wolfSSH_SFTP_Close() checks NoticeError() only on a failed send.
- The src/ssh.c block comments, and new wolfssh/ssh.h notes above
  wolfSSH_stream_read(), wolfSSH_ChannelRead() and
  wolfSSH_ChannelIdRead(), state the window-adjust and ssh->error
  contract.
- tests/unit.c adds test_stream_read_deferredWindowAdjust() and
  test_ChannelIdRead_deferredWindowAdjust(): an adjust that defers,
  then fails, then succeeds, plus a read with nothing buffered against
  a seeded WS_WANT_WRITE.
2026-08-27 09:01:27 -07:00
..
api.c Document the wolfSSH_SetChannelType contract 2026-08-26 12:11:15 -05:00
api.h Release v1.4.22 2025-12-29 16:53:33 -08:00
auth.c check return value of WFTELL() 2026-08-10 10:19:45 -07: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 Release v1.4.22 2025-12-29 16:53:33 -08:00
regress.c internal: send a disconnect when key exchange fails 2026-08-26 20:43:23 -07: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 Release v1.4.22 2025-12-29 16:53:33 -08:00
testsuite.c scp: fix duplicate file header on send 2026-08-04 12:20:49 -04:00
testsuite.h Release v1.4.22 2025-12-29 16:53:33 -08:00
unit.c ssh.c: report the byte count from a channel read that defers its credit 2026-08-27 09:01:27 -07:00
unit.h Release v1.4.22 2025-12-29 16:53:33 -08:00