wolfssh/tests
John Safranek b256895f04 Send the caller's payload in wolfSSH_SendIgnore
wolfSSH_SendIgnore() carries buf in the SSH_MSG_IGNORE it sends. A
NULL buf with a zero bufSz still sends 128 zero bytes, and a NULL buf
with a nonzero size is WS_BAD_ARGUMENT. So is a payload whose packet,
with worst-case padding and MAC, would pass the peer's MAX_PACKET_SZ
check; this also keeps the PreparePacket() size sums from wrapping.

- internal: MAX_IGNORE_DATA_SZ bounds the payload like the peer check
- regress: check the payload and the NULL default on the wire
- regress: 0xFFFFFFFB and one over the bound fail cleanly
- regress: the largest payload reaches a peer, plain and keyed, with
  the byte highwater off so a low DEFAULT_HIGHWATER_MARK cannot rekey

Issue: F-7512
2026-11-13 11:32:45 -06:00
..
api.c Anchor the key type checks in ReadKey_file 2026-11-11 16:47:00 -06:00
api.h
…
auth.c
…
auth.h
…
include.am
…
kex.c
…
kex.h
…
regress.c Send the caller's payload in wolfSSH_SendIgnore 2026-11-13 11:32:45 -06:00
sftp.c
…
sftp.h
…
testsuite.c
…
testsuite.h
…
unit.c internal: refuse secret auth over the none cipher 2026-11-12 16:31:35 -06:00
unit.h
…