From: Tom Yu Date: Tue, 7 Dec 2004 23:08:30 +0000 (+0000) Subject: pullup from trunk X-Git-Tag: krb5-1.4.3-beta1~152 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6ee84138a0b28d67881dd1f1f497cd16aff83c13;p=krb5.git pullup from trunk ticket: 2793 version_fixed: 1.4 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16917 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index be64fbe79..9c1fd0b71 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +2004-12-06 Tom Yu + + * locate_kdc.c (krb5_locate_srv_dns_1): Don't compile if + KRB5_DNS_LOOKUP is not defined. + 2004-11-19 Ken Raeburn * locate_kdc.c (krb5int_add_host_to_list): If debugging, log the diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index dfc45cd23..1fafbcaa9 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -503,6 +503,7 @@ krb5_locate_srv_conf(krb5_context context, const krb5_data *realm, } #endif +#ifdef KRB5_DNS_LOOKUP static krb5_error_code krb5_locate_srv_dns_1 (const krb5_data *realm, const char *service, @@ -557,6 +558,7 @@ krb5_locate_srv_dns_1 (const krb5_data *realm, krb5int_free_srv_dns_data(head); return code; } +#endif /* * Wrapper function for the two backends