aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/client/torture_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client/torture_auth.c b/tests/client/torture_auth.c
index 463ebd1..7c8edb2 100644
--- a/tests/client/torture_auth.c
+++ b/tests/client/torture_auth.c
@@ -77,7 +77,7 @@ static void torture_auth_kbdint(void **state) {
assert_int_equal(ssh_userauth_kbdint_getnprompts(session), 1);
rc = ssh_userauth_kbdint_setanswer(session, 0, password);
- assert_true(rc < 0);
+ assert_false(rc < 0);
rc = ssh_userauth_kbdint(session, NULL, NULL);
/* Sometimes, SSH server send an empty query at the end of exchange */