summaryrefslogtreecommitdiffstats
path: root/dns.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2005-11-05 05:06:38 +0100
committerDamien Miller <djm@mindrot.org>2005-11-05 05:06:38 +0100
commit20afc24363eb4e88351d66792275ee9d4b1eaaa4 (patch)
tree09e6979da1f8c35d13e2c9eb24bce33acd247666 /dns.c
parent - stevesk@cvs.openbsd.org 2005/10/13 19:08:08 (diff)
downloadopenssh-20afc24363eb4e88351d66792275ee9d4b1eaaa4.tar.xz
openssh-20afc24363eb4e88351d66792275ee9d4b1eaaa4.zip
- stevesk@cvs.openbsd.org 2005/10/13 19:13:41
[dns.c] unneeded #include, unused declaration, little knf; ok deraadt@
Diffstat (limited to 'dns.c')
-rw-r--r--dns.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/dns.c b/dns.c
index 4487c1aba..a62f43900 100644
--- a/dns.c
+++ b/dns.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dns.c,v 1.12 2005/06/17 02:44:32 djm Exp $ */
+/* $OpenBSD: dns.c,v 1.13 2005/10/13 19:13:41 stevesk Exp $ */
/*
* Copyright (c) 2003 Wesley Griffin. All rights reserved.
@@ -40,10 +40,8 @@
#include "key.h"
#include "dns.h"
#include "log.h"
-#include "uuencode.h"
-extern char *__progname;
-RCSID("$OpenBSD: dns.c,v 1.12 2005/06/17 02:44:32 djm Exp $");
+RCSID("$OpenBSD: dns.c,v 1.13 2005/10/13 19:13:41 stevesk Exp $");
#ifndef LWRES
static const char *errset_text[] = {
@@ -223,7 +221,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.