From 480915c07d4c444cfa560af36f76344d366246c2 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 1 Oct 2018 19:15:43 +0200 Subject: [PATCH] libsshpp: Pass username and submethods to ssh_userauth_kbdint() Signed-off-by: Andreas Schneider --- include/libssh/libsshpp.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }