summaryrefslogtreecommitdiffstats
path: root/include/libssh/libsshpp.hpp
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-25 09:54:26 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-25 10:19:09 +0200
commit89253fd22a69108aa2ffe8907cdf9d2de2bcdb47 (patch)
treefb27c774644cac32c212031082107a16ffc8c448 /include/libssh/libsshpp.hpp
parent21261270e5facb6ae2500b8497683d9ca0933dfb (diff)
downloadlibssh-89253fd22a69108aa2ffe8907cdf9d2de2bcdb47.tar.gz
libssh-89253fd22a69108aa2ffe8907cdf9d2de2bcdb47.tar.xz
libssh-89253fd22a69108aa2ffe8907cdf9d2de2bcdb47.zip
auth: Make ssh_userauth_autopubkey legacy.
Diffstat (limited to 'include/libssh/libsshpp.hpp')
-rw-r--r--include/libssh/libsshpp.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp
index 70d7db0..5205871 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;
}