From e7b3a8cad4dcd6f52d094e81595aa4aee817e898 Mon Sep 17 00:00:00 2001 From: Ben Kaduk Date: Wed, 14 Aug 2013 15:47:03 -0400 Subject: Remove KRB5_DNS_LOOKUP_KDC It has been unconditionally activated by all supported build systems for almost two years, and no complaints or issues have been reported. In particular, aclocal.m4 has had an unconditional AC_DEFINE() since 3d708e55 in 2003, and win-pre.in has unconditionally set KRB5_USE_DNS_KDC since 17ffebf7 in 2011. While here, simplify some other DNS conditionals in win-pre.in where only one branch was ever taken. ticket: 7691 (new) --- src/lib/krb5/os/locate_kdc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/lib') diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index fbdd232af6..f0b84818db 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -40,11 +40,7 @@ #endif /* WSHELPER */ #include "dnsglue.h" -#if KRB5_DNS_LOOKUP_KDC #define DEFAULT_LOOKUP_KDC 1 -#else -#define DEFAULT_LOOKUP_KDC 0 -#endif #if KRB5_DNS_LOOKUP_REALM #define DEFAULT_LOOKUP_REALM 1 #else -- cgit