aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-10-19 16:12:04 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-10-19 17:42:02 +0200
commit91f35eca4df17b115e1a2f58bc5b8d259c06aa74 (patch)
treee8b87f7ce2f60a22bf336d67cc6a0ef525fc9076 /include/libssh
parent49e287006f3dd86106e43de2a5da83be04a6ee11 (diff)
downloadlibssh-91f35eca4df17b115e1a2f58bc5b8d259c06aa74.tar.gz
libssh-91f35eca4df17b115e1a2f58bc5b8d259c06aa74.tar.xz
libssh-91f35eca4df17b115e1a2f58bc5b8d259c06aa74.zip
libsshpp: Use ssh_session_update_known_hosts()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/libsshpp.hpp2
1 files changed, 1 insertions, 1 deletions
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;
}