diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-08 07:13:18 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-08 07:13:18 +0000 |
commit | 38d86e7e17f10fe4d2ea1372714f1be5e98aa960 (patch) | |
tree | 545b7251ebce8a59785b338fa48f1e4d7e270fad /libssh/auth.c | |
parent | c4f65cb5dde1b9b90d52d1d444c519cc66a8b656 (diff) | |
download | libssh-38d86e7e17f10fe4d2ea1372714f1be5e98aa960.tar.gz libssh-38d86e7e17f10fe4d2ea1372714f1be5e98aa960.tar.xz libssh-38d86e7e17f10fe4d2ea1372714f1be5e98aa960.zip |
Fix SSHv1 compile errors.
Thanks to Norbert Kiesel <nkiesel@tbdnetworks.com> for the patch.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@424 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/auth.c')
-rw-r--r-- | libssh/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/auth.c b/libssh/auth.c index 4ed5589..52fa9c2 100644 --- a/libssh/auth.c +++ b/libssh/auth.c @@ -176,7 +176,7 @@ int ssh_userauth_none(SSH_SESSION *session, const char *username){ enter_function(); #ifdef HAVE_SSH1 if(session->version==1){ - err = ssh_userauth1_none(session,username); + ssh_userauth1_none(session,username); leave_function(); return rc; } @@ -266,7 +266,7 @@ int ssh_userauth_offer_pubkey(SSH_SESSION *session, const char *username,int typ enter_function(); #ifdef HAVE_SSH1 if(session->version==1){ - err= ssh_userauth1_offer_pubkey(session,username,type,publickey); + ssh_userauth1_offer_pubkey(session,username,type,publickey); leave_function(); return rc; } |