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)?