diff options
author | Jeffrey Altman <jaltman@secure-endpoints.com> | 2003-12-22 18:24:41 +0000 |
---|---|---|
committer | Jeffrey Altman <jaltman@secure-endpoints.com> | 2003-12-22 18:24:41 +0000 |
commit | 173f98fc24b4bfa31ed4cbd32f6d6e11067bc07b (patch) | |
tree | 714a0539ce7676a41df59018853e34e778cd2fc2 /src/lib | |
parent | 943f3c6a772742101b4ae12c486a0dd5632836df (diff) | |
download | krb5-173f98fc24b4bfa31ed4cbd32f6d6e11067bc07b.tar.gz krb5-173f98fc24b4bfa31ed4cbd32f6d6e11067bc07b.tar.xz krb5-173f98fc24b4bfa31ed4cbd32f6d6e11067bc07b.zip |
* dnssrv.c: wrap the entire module in #ifdef KRB5_DNS_LOOKUP to prevent
the dependency on the resolver library when DNS functionality is not
being compiled into the krb5 library.
ticket: new
target_version: 1.3.2
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15958 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/krb5/os/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/krb5/os/dnssrv.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index a916ef1713..d28b0093e2 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +2003-12-22 Jeffrey Altman <jaltman@mit.edu> + + * dnssrv.c: wrap within #ifdef KRB5_DNS_LOOKUP to prevent references + to resolver functions when DNS support is not being compiled + 2003-12-19 Ken Raeburn <raeburn@mit.edu> * realm_iter.c (krb5_realm_iterator_create): Array NAMES is now diff --git a/src/lib/krb5/os/dnssrv.c b/src/lib/krb5/os/dnssrv.c index 4f3ed362f8..90279fdd35 100644 --- a/src/lib/krb5/os/dnssrv.c +++ b/src/lib/krb5/os/dnssrv.c @@ -27,6 +27,7 @@ * do DNS SRV RR queries */ +#ifdef KRB5_DNS_LOOKUP #define NEED_SOCKETS #include "k5-int.h" #include "os-proto.h" @@ -269,3 +270,4 @@ krb5int_make_srv_query_realm(const krb5_data *realm, *answers = head; return 0; } +#endif
\ No newline at end of file |