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. --- examples/libsshpp.cpp | 2 +- examples/libsshpp_noexcept.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/libsshpp.cpp b/examples/libsshpp.cpp index 05fa749..8f042a4 100644 --- a/examples/libsshpp.cpp +++ b/examples/libsshpp.cpp @@ -23,7 +23,7 @@ int main(int argc, const char **argv){ else session.setOption(SSH_OPTIONS_HOST,"localhost"); session.connect(); - session.userauthAutopubkey(); + session.userauthPublickeyAuto(); session.disconnect(); } catch (ssh::SshException e){ std::cout << "Error during connection : "; 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; -- cgit