libsshpp: Use ssh_session_update_known_hosts()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
49e287006f
Коммит
91f35eca4d
@ -407,7 +407,7 @@ public:
|
|||||||
* @see ssh_write_knownhost
|
* @see ssh_write_knownhost
|
||||||
*/
|
*/
|
||||||
int writeKnownhost(){
|
int writeKnownhost(){
|
||||||
int ret = ssh_write_knownhost(c_session);
|
int ret = ssh_session_update_known_hosts(c_session);
|
||||||
ssh_throw(ret);
|
ssh_throw(ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user