libsshpp: Use new known hosts functions

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-06-04 11:05:36 +02:00
parent 4550c99222
commit 93781f9d5a

View File

@@ -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];