mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 18:28:10 +09:00
auth: Reformat ssh_userauth_agent
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Sahana Prasad <sahana@redhat.com>
This commit is contained in:
committed by
Sahana Prasad
parent
d604d7f872
commit
4f903812e6
@@ -1283,7 +1283,8 @@ int ssh_userauth_publickey_auto(ssh_session session,
|
||||
continue;
|
||||
}
|
||||
|
||||
rc = ssh_pki_export_privkey_to_pubkey(state->privkey, &state->pubkey);
|
||||
rc = ssh_pki_export_privkey_to_pubkey(state->privkey,
|
||||
&state->pubkey);
|
||||
if (rc == SSH_ERROR) {
|
||||
ssh_key_free(state->privkey);
|
||||
SAFE_FREE(session->auth.auto_state);
|
||||
|
||||
Reference in New Issue
Block a user