diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-02-09 12:56:58 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-02-09 12:56:58 +0000 |
commit | 5ea8088938a917d4956b377e8fa94b2b469cc018 (patch) | |
tree | 4007ba73442542b07c70a00e3a45adee02367286 /libssh/auth.c | |
parent | 7ceaf5c43af77666093638e7a5e67faf86aba9cc (diff) | |
download | libssh-5ea8088938a917d4956b377e8fa94b2b469cc018.tar.gz libssh-5ea8088938a917d4956b377e8fa94b2b469cc018.tar.xz libssh-5ea8088938a917d4956b377e8fa94b2b469cc018.zip |
Rename function to agent_is_running.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@236 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/auth.c')
-rw-r--r-- | libssh/auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/auth.c b/libssh/auth.c index 3ec00caa..42e852e6 100644 --- a/libssh/auth.c +++ b/libssh/auth.c @@ -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"); |