mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 10:26:47 +09:00
auth: Fix error returned in ssh_userauth_try_publickey()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
committed by
Jakub Jelen
parent
51a53cc6d4
commit
f6ad8057a7
@@ -518,7 +518,7 @@ int ssh_userauth_try_publickey(ssh_session session,
|
|||||||
SSH_FATAL,
|
SSH_FATAL,
|
||||||
"Wrong state (%d) during pending SSH call",
|
"Wrong state (%d) during pending SSH call",
|
||||||
session->pending_call_state);
|
session->pending_call_state);
|
||||||
return SSH_ERROR;
|
return SSH_AUTH_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if the given public key algorithm is allowed */
|
/* Check if the given public key algorithm is allowed */
|
||||||
|
|||||||
Reference in New Issue
Block a user