From 91f35eca4df17b115e1a2f58bc5b8d259c06aa74 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 19 Oct 2018 16:12:04 +0200 Subject: [PATCH] libsshpp: Use ssh_session_update_known_hosts() Signed-off-by: Andreas Schneider --- include/libssh/libsshpp.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp index ab431d89..6ca6a8dd 100644 --- a/include/libssh/libsshpp.hpp +++ b/include/libssh/libsshpp.hpp @@ -407,7 +407,7 @@ public: * @see ssh_write_knownhost */ int writeKnownhost(){ - int ret = ssh_write_knownhost(c_session); + int ret = ssh_session_update_known_hosts(c_session); ssh_throw(ret); return ret; }