aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-10-01 19:15:43 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-10-24 09:48:35 +0200
commit480915c07d4c444cfa560af36f76344d366246c2 (patch)
tree90ab85ebd0d4d136b98288cabc989bb5aef9b144 /include
parente27c6b21b5c7122a979baaa7913d415a5ac329a4 (diff)
downloadlibssh-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.hpp2
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;
}