tests: Call ssh_session_is_known_server()

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-06-27 09:19:05 +02:00
parent 1ae014f52a
commit e880cafed0
3 changed files with 3 additions and 3 deletions

View File

@@ -88,8 +88,8 @@ SSH_SESSION *connect_host(const char *hostname){
ssh_disconnect(session);
return NULL;
}
state=ssh_is_server_known(session);
state = ssh_session_is_known_server(session);
switch(state){
case SSH_SERVER_KNOWN_OK:
break; /* ok */