mirror of https://github.com/wolfSSL/wolfssh.git
- 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 |
||
|---|---|---|
| .. | ||
| client | ||
| echoserver | ||
| portfwd | ||
| scpclient | ||
| sftpclient | ||
| tpmcertserver | ||
| include.am | ||