wolfssh/examples
Yosuke Shimizu 497da8a130 examples: use the selected algorithm for the default public key
- sftpclient passes userEcc to ClientUsePubKey(), and scpclient to
  both ClientSetPrivateKey() and ClientUsePubKey(), in place of a
  hardcoded 0.
- scpclient gains a userEcc; it and client default it to 1 under
  WOLFSSH_NO_RSA, as sftpclient already did.
- ClientSetPrivateKey() and ClientUsePubKey() name the missing
  algorithm on stderr and return WS_NOT_COMPILED when the built-in
  key they select is compiled out.
- Both skip the built-in load entirely when neither RSA nor ECC is
  compiled in, clearing the key size and type and returning success
  so password-only authentication still runs. ClientUsePubKey()'s
  buffer pointer moves inside the guard so it is not left unused.

Issue: F-8829
2026-08-14 14:32:15 -07:00
..
client examples: use the selected algorithm for the default public key 2026-08-14 14:32:15 -07:00
echoserver Fix a one byte heap overflow in LoadTpmSshKey 2026-08-13 11:59:57 -07:00
portfwd
scpclient examples: use the selected algorithm for the default public key 2026-08-14 14:32:15 -07:00
sftpclient examples: use the selected algorithm for the default public key 2026-08-14 14:32:15 -07:00
tpmcertserver Adopt the certificate loading APIs in the examples and apps 2026-08-12 16:06:39 -07:00
include.am