aboutsummaryrefslogtreecommitdiff
path: root/tests/test_tunnel.c
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/test_tunnel.c
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/test_tunnel.c')
-rw-r--r--tests/test_tunnel.c2
1 files changed, 1 insertions, 1 deletions
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){