summaryrefslogtreecommitdiff
path: root/dns.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2005-11-05 15:06:38 +1100
committerDamien Miller <djm@mindrot.org>2005-11-05 15:06:38 +1100
commit20afc24363eb4e88351d66792275ee9d4b1eaaa4 (patch)
tree09e6979da1f8c35d13e2c9eb24bce33acd247666 /dns.c
parent5f916c8f6c0f2cd2dbe93927b289585d3d42f10d (diff)
- 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 @@
1/* $OpenBSD: dns.c,v 1.12 2005/06/17 02:44:32 djm Exp $ */ 1/* $OpenBSD: dns.c,v 1.13 2005/10/13 19:13:41 stevesk Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2003 Wesley Griffin. All rights reserved. 4 * Copyright (c) 2003 Wesley Griffin. All rights reserved.
@@ -40,10 +40,8 @@
40#include "key.h" 40#include "key.h"
41#include "dns.h" 41#include "dns.h"
42#include "log.h" 42#include "log.h"
43#include "uuencode.h"
44 43
45extern char *__progname; 44RCSID("$OpenBSD: dns.c,v 1.13 2005/10/13 19:13:41 stevesk Exp $");
46RCSID("$OpenBSD: dns.c,v 1.12 2005/06/17 02:44:32 djm Exp $");
47 45
48#ifndef LWRES 46#ifndef LWRES
49static const char *errset_text[] = { 47static const char *errset_text[] = {
@@ -223,7 +221,7 @@ verify_host_key_dns(const char *hostname, struct sockaddr *address,
223 if (fingerprints->rri_nrdatas) 221 if (fingerprints->rri_nrdatas)
224 *flags |= DNS_VERIFY_FOUND; 222 *flags |= DNS_VERIFY_FOUND;
225 223
226 for (counter = 0 ; counter < fingerprints->rri_nrdatas ; counter++) { 224 for (counter = 0; counter < fingerprints->rri_nrdatas; counter++) {
227 /* 225 /*
228 * Extract the key from the answer. Ignore any badly 226 * Extract the key from the answer. Ignore any badly
229 * formatted fingerprints. 227 * formatted fingerprints.