From 38d86e7e17f10fe4d2ea1372714f1be5e98aa960 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 8 Apr 2009 07:13:18 +0000 Subject: Fix SSHv1 compile errors. Thanks to Norbert Kiesel for the patch. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@424 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libssh/auth.c') 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; } -- cgit