mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
Rename function to agent_is_running.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@236 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -359,7 +359,7 @@ int ssh_userauth_agent_pubkey(SSH_SESSION *session, const char *username,
|
||||
int err = SSH_AUTH_ERROR;
|
||||
|
||||
enter_function();
|
||||
if (! agent_running(session)) {
|
||||
if (! agent_is_running(session)) {
|
||||
return err;
|
||||
}
|
||||
|
||||
@@ -516,7 +516,7 @@ int ssh_userauth_autopubkey(SSH_SESSION *session, const char *passphrase) {
|
||||
|
||||
/* try ssh-agent keys first */
|
||||
#ifndef _WIN32
|
||||
if (agent_running(session)) {
|
||||
if (agent_is_running(session)) {
|
||||
ssh_log(session, SSH_LOG_RARE,
|
||||
"Trying to authenticate with SSH agent keys");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user