]> andersk Git - openssh.git/blobdiff - hostfile.c
- djm@cvs.openbsd.org 2010/01/30 02:54:53
[openssh.git] / hostfile.c
index a6714b6e13e04a9479fe15cb8d6431134776da2f..cd28bf446c6817b30225c0635804c385d2ce940b 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: hostfile.c,v 1.41 2006/07/05 02:42:09 stevesk Exp $ */
+/* $OpenBSD: hostfile.c,v 1.46 2009/10/11 23:03:15 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
 
 #include <netinet/in.h>
 
-#include <resolv.h>
-
 #include <openssl/hmac.h>
 #include <openssl/sha.h>
 
+#include <resolv.h>
+#include <stdarg.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "xmalloc.h"
 #include "match.h"
 #include "key.h"
 #include "hostfile.h"
 #include "log.h"
-#include "xmalloc.h"
 
 static int
 extract_salt(const char *s, u_int l, char *salt, size_t salt_len)
@@ -200,7 +204,7 @@ check_host_in_hostfile_by_key_or_type(const char *filename,
        char *cp, *cp2, *hashed_host;
        HostStatus end_return;
 
-       debug3("check_host_in_hostfile: filename %s", filename);
+       debug3("check_host_in_hostfile: host %s filename %s", host, filename);
 
        /* Open the file containing the list of known hosts. */
        f = fopen(filename, "r");
This page took 0.036686 seconds and 4 git commands to generate.