knownhosts: Fix return codes

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-07-03 09:04:16 +02:00
parent 77e1761734
commit 613dcc95e6
2 changed files with 5 additions and 5 deletions

View File

@@ -244,7 +244,7 @@ static void torture_knownhosts_host_exists(void **state)
ssh_options_set(session, SSH_OPTIONS_HOST, "wurstbrot");
found = ssh_session_has_known_hosts_entry(session);
assert_true(found == SSH_KNOWN_HOSTS_NOT_FOUND);
assert_true(found == SSH_KNOWN_HOSTS_UNKNOWN);
ssh_free(session);
}