summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2015-09-16 22:13:09 +0200
committerFabiano Fidêncio <fidencio@redhat.com>2015-10-12 13:56:21 +0200
commitb10e72a2920c292f896b62253e2a029476c163d4 (patch)
tree86195906b120fe147169c2f679d74056c376d30b /tests
parent6827275f063f629e0dacc01acbb24ee4e818ae7d (diff)
downloadlibssh-b10e72a2920c292f896b62253e2a029476c163d4.tar.gz
libssh-b10e72a2920c292f896b62253e2a029476c163d4.tar.xz
libssh-b10e72a2920c292f896b62253e2a029476c163d4.zip
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/client/torture_auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/client/torture_auth.c b/tests/client/torture_auth.c
index 6342ec14..0310dbf7 100644
--- a/tests/client/torture_auth.c
+++ b/tests/client/torture_auth.c
@@ -315,7 +315,7 @@ static void torture_auth_agent(void **state) {
ssh_session session = s->ssh.session;
int rc;
- if (!agent_is_running(session)){
+ if (!ssh_agent_is_running(session)){
print_message("*** Agent not running. Test ignored\n");
return;
}
@@ -342,7 +342,7 @@ static void torture_auth_agent_nonblocking(void **state) {
ssh_session session = s->ssh.session;
int rc;
- if (!agent_is_running(session)){
+ if (!ssh_agent_is_running(session)){
print_message("*** Agent not running. Test ignored\n");
return;
}