aboutsummaryrefslogtreecommitdiff
path: root/examples/libsshpp_noexcept.cpp
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 /examples/libsshpp_noexcept.cpp
parent21261270e5facb6ae2500b8497683d9ca0933dfb (diff)
downloadlibssh-89253fd22a69108aa2ffe8907cdf9d2de2bcdb47.tar.gz
libssh-89253fd22a69108aa2ffe8907cdf9d2de2bcdb47.tar.xz
libssh-89253fd22a69108aa2ffe8907cdf9d2de2bcdb47.zip
auth: Make ssh_userauth_autopubkey legacy.
Diffstat (limited to 'examples/libsshpp_noexcept.cpp')
-rw-r--r--examples/libsshpp_noexcept.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/libsshpp_noexcept.cpp b/examples/libsshpp_noexcept.cpp
index 624cfe9f..eff8cc19 100644
--- a/examples/libsshpp_noexcept.cpp
+++ b/examples/libsshpp_noexcept.cpp
@@ -29,7 +29,7 @@ int main(int argc, const char **argv){
err=session.connect();
if(err==SSH_ERROR)
goto error;
- err=session.userauthAutopubkey();
+ err=session.userauthPublickeyAuto();
if(err==SSH_ERROR)
goto error;