wolfssh/tests
ouki c8e2eddb36 Fix SendPacketType to not advance state when negotiation fails
SendPacketType() set the state to SFTP_SEND_PACKET even when
wolfSSH_SFTP_negotiate() returned a retry or an error. No request
buffer was built in that case, so an empty buffer was sent and the
caller could wait for a response to a request that was never sent.

Move to SFTP_SEND_PACKET only when the request has been
built, and return the negotiation result otherwise. Keep the state
for retryable errors.

Add the wolfSSH_TestSftpSendPacketType() test hook and an API test
that fails without this change.

F-13904
2026-10-12 08:58:48 -07:00
..
api.c Fix SendPacketType to not advance state when negotiation fails 2026-10-12 08:58:48 -07:00
api.h Release v1.4.22 2025-12-29 16:53:33 -08:00
auth.c tests: sign ECC bad-sig auth with a fresh key 2026-10-06 10:21:21 -05:00
auth.h added check for private and public keys decoded 2026-07-31 16:14:52 -07:00
include.am tests: gate the client cases in regress.c 2026-09-22 17:05:22 -05:00
kex.c Fix ML-DSA composite logic from code review 2026-09-21 11:11:16 -07:00
kex.h Release v1.4.22 2025-12-29 16:53:33 -08:00
regress.c internal: refuse userauth before service request 2026-10-12 10:43:48 -05:00
sftp.c tests: split the SFTP server and client argv 2026-09-22 14:35:24 -05:00
sftp.h Release v1.4.22 2025-12-29 16:53:33 -08:00
testsuite.c ssh: add a rekey-state accessor 2026-09-24 22:56:41 -07:00
testsuite.h Release v1.4.22 2025-12-29 16:53:33 -08:00
unit.c tests: send the highwater IGNORE unkeyed 2026-10-08 15:33:02 -05:00
unit.h Release v1.4.22 2025-12-29 16:53:33 -08:00