Displaying 1 result from an estimated 1 matches for "sockad".
Did you mean:
sockadd
2003 Mar 04
0
hashing known_hosts
...hconnect.c,v 1.126 20
#include <openssl/bn.h>
+#ifdef HASH_KNOWN_HOSTS
+#include <openssl/sha.h>
+#include "uuencode.h"
+#endif
+
#include "ssh.h"
#include "xmalloc.h"
#include "rsa.h"
@@ -505,6 +510,11 @@ check_host_key(char *host, struct sockad
char msg[1024];
int len, host_line, ip_line;
const char *host_file = NULL, *ip_file = NULL;
+#ifdef HASH_KNOWN_HOSTS
+ unsigned char md[SHA_DIGEST_LENGTH];
+ char uu[SHA_DIGEST_LENGTH*2];
+#endif
+
/*
* Force accepting of the host key for loopback/localhost. The
@@ -579,6...