From 93781f9d5a2ee60520716610131e5642bb07ca92 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 4 Jun 2018 11:05:36 +0200 Subject: libsshpp: Use new known hosts functions Signed-off-by: Andreas Schneider --- include/libssh/libsshpp.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp index af08a914..b8652f73 100644 --- a/include/libssh/libsshpp.hpp +++ b/include/libssh/libsshpp.hpp @@ -306,9 +306,9 @@ public: * @see ssh_is_server_known */ int isServerKnown(){ - int ret=ssh_is_server_known(c_session); - ssh_throw(ret); - return ret; + int state = ssh_session_is_known_server(c_session); + ssh_throw(state); + return state; } void log(int priority, const char *format, ...){ char buffer[1024]; -- cgit v1.2.3