summaryrefslogtreecommitdiffstats
path: root/examples/libsshpp_noexcept.cpp
diff options
context:
space:
mode:
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 624cfe9..eff8cc1 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;