mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user