1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

examples: Fixed knownhosts on Windows.

This commit is contained in:
Andreas Schneider
2011-01-23 22:52:53 +01:00
parent 6a3cd6c20f
commit a63dbc07f3

View File

@ -25,6 +25,10 @@ clients must be made or how a client should react.
#include <libssh/libssh.h>
#include "examples_common.h"
#ifdef _WIN32
#define strncasecmp _strnicmp
#endif
int verify_knownhost(ssh_session session){
char *hexa;
int state;