1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-29 13:01:14 +03:00

define removed

This commit is contained in:
Daniel Stenberg
2009-05-28 16:12:24 +02:00
parent f35dbff3c4
commit 22014f074b

View File

@ -143,7 +143,9 @@ int main(int argc, char *argv[])
check = libssh2_knownhost_check(nh, (char *)hostname,
(char *)fingerprint, len,
LIBSSH2_KNOWNHOST_TYPE_DEFAULT, &host);
LIBSSH2_KNOWNHOST_TYPE_PLAIN|
LIBSSH2_KNOWNHOST_KEYENC_RAW,
&host);
fprintf(stderr, "Host check: %d, key: %s\n", check,
(check <= LIBSSH2_KNOWNHOST_CHECK_MISMATCH)?