From 89253fd22a69108aa2ffe8907cdf9d2de2bcdb47 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 25 Aug 2011 09:54:26 +0200 Subject: auth: Make ssh_userauth_autopubkey legacy. --- include/libssh/libsshpp.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/libssh/libsshpp.hpp') diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp index 70d7db03..52058717 100644 --- a/include/libssh/libsshpp.hpp +++ b/include/libssh/libsshpp.hpp @@ -177,8 +177,8 @@ public: * @returns SSH_AUTH_SUCCESS, SSH_AUTH_PARTIAL, SSH_AUTH_DENIED * @see ssh_userauth_autopubkey */ - int userauthAutopubkey(void){ - int ret=ssh_userauth_autopubkey(c_session,NULL); + int userauthPublickeyAuto(void){ + int ret=ssh_userauth_publickey_auto(c_session, NULL, NULL); ssh_throw(ret); return ret; } -- cgit