mirror of https://github.com/wolfSSL/wolfssh.git
Keyboard-interactive was unusable in builds with WOLFSSH_KEYBOARD_INTERACTIVE but no WOLFSSH_TERM, in two ways. - ClientFreeBuffers declared 'entry' under TERM && KBI but used it under KBI alone, so KBI-without-TERM failed to compile; widen the declaration guard to match the use - ClientUserAuth's keyboard-interactive branch is guarded on TERM && KBI, so without TERM a keyboard-interactive request fell past every branch and returned the initial WOLFSSH_USERAUTH_SUCCESS with no responses populated. There is no terminal to prompt on, so answer WOLFSSH_USERAUTH_FAILURE instead of claiming success. |
||
|---|---|---|
| .. | ||
| client | ||
| echoserver | ||
| portfwd | ||
| scpclient | ||
| sftpclient | ||
| tpmcertserver | ||
| include.am | ||