aboutsummaryrefslogtreecommitdiff
path: root/tests/sftp_stress
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-06-27 09:19:05 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-06-27 09:45:35 +0200
commite880cafed0b312635867d656b856ec729cddc256 (patch)
treea3c14ada4a6bf80455fbdbd05c183e199da1f3e0 /tests/sftp_stress
parent1ae014f52a32bde994511567e740317fd4dc51ca (diff)
downloadlibssh-e880cafed0b312635867d656b856ec729cddc256.tar.gz
libssh-e880cafed0b312635867d656b856ec729cddc256.tar.xz
libssh-e880cafed0b312635867d656b856ec729cddc256.zip
tests: Call ssh_session_is_known_server()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/sftp_stress')
-rw-r--r--tests/sftp_stress/main.c2
1 files changed, 1 insertions, 1 deletions
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 */