]> andersk Git - openssh.git/blobdiff - dns.c
- (tim) [defines.h] Fix regression in long password support on OpenServer 6.
[openssh.git] / dns.c
diff --git a/dns.c b/dns.c
index 5f123a2ee075a4739af842d98e9843f7721ddd32..a89176f882835c2931261ff909a934af7efa4e39 100644 (file)
--- a/dns.c
+++ b/dns.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dns.c,v 1.21 2006/07/22 20:48:23 stevesk Exp $ */
+/* $OpenBSD: dns.c,v 1.24 2007/01/03 03:01:40 stevesk Exp $ */
 
 /*
  * Copyright (c) 2003 Wesley Griffin. All rights reserved.
@@ -30,9 +30,9 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 
-#if defined(HAVE_NETDB_H)
-# include <netdb.h>
-#endif
+#include <netdb.h>
+#include <stdarg.h>
+#include <stdio.h>
 #include <string.h>
 
 #include "xmalloc.h"
@@ -217,7 +217,7 @@ verify_host_key_dns(const char *hostname, struct sockaddr *address,
        if (fingerprints->rri_nrdatas)
                *flags |= DNS_VERIFY_FOUND;
 
-       for (counter = 0; counter < fingerprints->rri_nrdatas; counter++)  {
+       for (counter = 0; counter < fingerprints->rri_nrdatas; counter++) {
                /*
                 * Extract the key from the answer. Ignore any badly
                 * formatted fingerprints.
This page took 0.032922 seconds and 4 git commands to generate.