mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
libsshpp: Pass username and submethods to ssh_userauth_kbdint()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -212,7 +212,7 @@ public:
|
|||||||
* @see ssh_userauth_kbdint
|
* @see ssh_userauth_kbdint
|
||||||
*/
|
*/
|
||||||
int userauthKbdint(const char* username, const char* submethods){
|
int userauthKbdint(const char* username, const char* submethods){
|
||||||
int ret=ssh_userauth_kbdint(c_session,NULL,NULL);
|
int ret = ssh_userauth_kbdint(c_session, username, submethods);
|
||||||
ssh_throw(ret);
|
ssh_throw(ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user