summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-07-08 17:08:07 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-07-08 17:26:29 +0200
commit8ce6a889aa4fd6f17174423e74933687e5340a65 (patch)
treeaf8c290a171d8c7237abeebeb62db59dd83c0e06
parent6e4e6f8da69ea0caef7c00acc4de47d99811efc4 (diff)
downloadlibssh-8ce6a889aa4fd6f17174423e74933687e5340a65.tar.gz
libssh-8ce6a889aa4fd6f17174423e74933687e5340a65.tar.xz
libssh-8ce6a889aa4fd6f17174423e74933687e5340a65.zip
tests: Use the correct assert function in test server
CID 1398983 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
-rw-r--r--tests/server/torture_server_auth_kbdint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server/torture_server_auth_kbdint.c b/tests/server/torture_server_auth_kbdint.c
index 6d7f585a..5bf81598 100644
--- a/tests/server/torture_server_auth_kbdint.c
+++ b/tests/server/torture_server_auth_kbdint.c
@@ -657,9 +657,9 @@ static int session_setup(void **state)
assert_non_null(s->ssh.session);
rc = ssh_options_set(s->ssh.session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity);
- assert_return_code(s->ssh.session, rc);
+ assert_ssh_return_code(s->ssh.session, rc);
rc = ssh_options_set(s->ssh.session, SSH_OPTIONS_HOST, TORTURE_SSH_SERVER);
- assert_return_code(s->ssh.session, rc);
+ assert_ssh_return_code(s->ssh.session, rc);
/* Make sure no other configuration options from system will get used */
rc = ssh_options_set(s->ssh.session, SSH_OPTIONS_PROCESS_CONFIG, &b);
assert_ssh_return_code(s->ssh.session, rc);