mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 10:40:27 +09:00
libsshpp: Use new known hosts functions
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -306,9 +306,9 @@ public:
|
|||||||
* @see ssh_is_server_known
|
* @see ssh_is_server_known
|
||||||
*/
|
*/
|
||||||
int isServerKnown(){
|
int isServerKnown(){
|
||||||
int ret=ssh_is_server_known(c_session);
|
int state = ssh_session_is_known_server(c_session);
|
||||||
ssh_throw(ret);
|
ssh_throw(state);
|
||||||
return ret;
|
return state;
|
||||||
}
|
}
|
||||||
void log(int priority, const char *format, ...){
|
void log(int priority, const char *format, ...){
|
||||||
char buffer[1024];
|
char buffer[1024];
|
||||||
|
|||||||
Reference in New Issue
Block a user