wolfssh/tests
John Safranek a77a2b2360 tests: cover PEM private keys without certs
test_wolfSSH_CTX_UsePrivateKey_buffer_pkcs8_pem() loads PKCS#8 PEM host
keys for ECDSA P-256, RSA and ML-DSA-65, plus an undecodable body that
must fail in the PEM decoder rather than be refused outright. The keys
are embedded, so the assertions do not depend on load_file(), the
working directory, or a filesystem.

- widen both PEM guards, gated on WOLFSSH_CERTS only because load_file()
  is, so neither ran in the build 722678df fixed
- spell the client-only macro NO_WOLFSSH_SERVER, not WOLFSSH_NO_SERVER,
  which is defined nowhere
- guard serverKeyEccCurveId, which the now-live guard leaves unused in a
  client-only build
2026-10-14 15:52:44 -05:00
..
api.c tests: cover PEM private keys without certs 2026-10-14 15:52:44 -05: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 wolfsftp: finish a running key exchange before the SFTP INIT 2026-10-14 10:49:40 -07: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 internal: drop dead bounds check in DoChannelData 2026-10-13 17:18:10 -05:00
unit.h Release v1.4.22 2025-12-29 16:53:33 -08:00