summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2005-10-17 14:01:29 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2005-10-17 14:01:29 +0000
commitc47e90d746a4a2b5cf49c5b8eff8303079711e5a (patch)
tree5d13307625fe73dca4d02d16f234305eefdb9b10 /usr.bin/ssh
parentb8cfd2403519ed010e5b24e3fe2886d1d8cfa82a (diff)
remove #ifdef LWRES; ok jakob@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/dns.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/usr.bin/ssh/dns.c b/usr.bin/ssh/dns.c
index 4ff9ef3f496..d73fdb256b6 100644
--- a/usr.bin/ssh/dns.c
+++ b/usr.bin/ssh/dns.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dns.c,v 1.14 2005/10/17 13:45:05 stevesk Exp $ */
+/* $OpenBSD: dns.c,v 1.15 2005/10/17 14:01:28 stevesk Exp $ */
/*
* Copyright (c) 2003 Wesley Griffin. All rights reserved.
@@ -29,21 +29,15 @@
#include "includes.h"
#include <openssl/bn.h>
-#ifdef LWRES
-#include <lwres/netdb.h>
-#include <dns/result.h>
-#else /* LWRES */
#include <netdb.h>
-#endif /* LWRES */
#include "xmalloc.h"
#include "key.h"
#include "dns.h"
#include "log.h"
-RCSID("$OpenBSD: dns.c,v 1.14 2005/10/17 13:45:05 stevesk Exp $");
+RCSID("$OpenBSD: dns.c,v 1.15 2005/10/17 14:01:28 stevesk Exp $");
-#ifndef LWRES
static const char *errset_text[] = {
"success", /* 0 ERRSET_SUCCESS */
"out of memory", /* 1 ERRSET_NOMEMORY */
@@ -73,8 +67,6 @@ dns_result_totext(unsigned int res)
return "unknown error";
}
}
-#endif /* LWRES */
-
/*
* Read SSHFP parameters from key buffer.