mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
cleanup: use ssh_ prefix in the agent (non-static) functions
Having "ssh_" prefix in the functions' name will avoid possible clashes when compiling libssh statically. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -770,7 +770,7 @@ int ssh_userauth_agent(ssh_session session,
|
||||
return SSH_AUTH_ERROR;
|
||||
}
|
||||
|
||||
if (!agent_is_running(session)) {
|
||||
if (!ssh_agent_is_running(session)) {
|
||||
return SSH_AUTH_DENIED;
|
||||
}
|
||||
if (!session->agent_state){
|
||||
|
||||
Reference in New Issue
Block a user