diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-10-01 19:15:43 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-10-24 09:48:35 +0200 |
commit | 480915c07d4c444cfa560af36f76344d366246c2 (patch) | |
tree | 90ab85ebd0d4d136b98288cabc989bb5aef9b144 /include | |
parent | e27c6b21b5c7122a979baaa7913d415a5ac329a4 (diff) | |
download | libssh-480915c07d4c444cfa560af36f76344d366246c2.tar.gz libssh-480915c07d4c444cfa560af36f76344d366246c2.tar.xz libssh-480915c07d4c444cfa560af36f76344d366246c2.zip |
libsshpp: Pass username and submethods to ssh_userauth_kbdint()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/libsshpp.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp index 6ca6a8dd..75c9c7a1 100644 --- a/include/libssh/libsshpp.hpp +++ b/include/libssh/libsshpp.hpp @@ -212,7 +212,7 @@ public: * @see ssh_userauth_kbdint */ 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); return ret; } |