diff --git a/tests/sftp_stress/main.c b/tests/sftp_stress/main.c index c9b0ad9f..ac3f8bb4 100644 --- a/tests/sftp_stress/main.c +++ b/tests/sftp_stress/main.c @@ -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 */ diff --git a/tests/test_exec.c b/tests/test_exec.c index 9f10520c..352cc837 100644 --- a/tests/test_exec.c +++ b/tests/test_exec.c @@ -18,7 +18,7 @@ void do_connect(SSH_SESSION *session) { } printf("Connected\n"); - ssh_is_server_known(session); + ssh_session_is_known_server(session); error = authenticate(session); if(error != SSH_AUTH_SUCCESS) { diff --git a/tests/test_tunnel.c b/tests/test_tunnel.c index 27f667b7..952c73e1 100644 --- a/tests/test_tunnel.c +++ b/tests/test_tunnel.c @@ -14,7 +14,7 @@ void do_connect(SSH_SESSION *session){ return; } printf("Connected\n"); - ssh_is_server_known(session); + ssh_session_is_known_server(session); // we don't care what happens here error=authenticate(session); if(error != SSH_AUTH_SUCCESS){