
16 Nov
2018
16 Nov
'18
3:20 p.m.
This fix has a problem partially. The official documentation says to use ssh_session_is_known_server() now. But the function return has changed too. Now, it is using "enum ssh_known_hosts_e" instead of "enum ssh_server_know_e". Some enums matches, but others don't. Error was -1 and now it is -2 (following libssh example). I would suggest to create an aux way to identify the return/state. Or even use integers instead enums. Anyone has a better idea? Obviously, with less impact and portable... -- Julio Cesar Faracco