summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2005-10-13 19:13:42 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2005-10-13 19:13:42 +0000
commit54364773e795b3fbfece4661674cc00032bb4888 (patch)
treebf305547cd1bbe9e8e3304e6a554bf8c523472ef /usr.bin/ssh
parentcb823383ce8dd352d49361ad567eba800025bbb1 (diff)
unneeded #include, unused declaration, little knf; ok deraadt@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/dns.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/ssh/dns.c b/usr.bin/ssh/dns.c
index 4487c1abaf2..a62f4390084 100644
--- a/usr.bin/ssh/dns.c
+++ b/usr.bin/ssh/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.