diff options
author | Tom Yu <tlyu@mit.edu> | 1997-09-26 02:41:57 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1997-09-26 02:41:57 +0000 |
commit | c5ce7f14592f60ba76fc8abef70a69e8634e5c30 (patch) | |
tree | b6b32cd2e072f2034da8e0140c2de45181d7f7a5 /src/kdc | |
parent | ce33c8103370305cc7c67b49928338f9b5106fd6 (diff) | |
download | krb5-c5ce7f14592f60ba76fc8abef70a69e8634e5c30.tar.gz krb5-c5ce7f14592f60ba76fc8abef70a69e8634e5c30.tar.xz krb5-c5ce7f14592f60ba76fc8abef70a69e8634e5c30.zip |
Remove KRB5_USE_INET, HAS_UNISTD_H, HAS_SETVBUF, and replace
with appropriate autoconf-style symbols. See individual ChangeLogs
for details.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10202 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc')
-rw-r--r-- | src/kdc/ChangeLog | 10 | ||||
-rw-r--r-- | src/kdc/do_as_req.c | 6 | ||||
-rw-r--r-- | src/kdc/do_tgs_req.c | 4 | ||||
-rw-r--r-- | src/kdc/main.c | 2 | ||||
-rw-r--r-- | src/kdc/network.c | 2 |
5 files changed, 17 insertions, 7 deletions
diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index da51802038..fc0363be73 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,13 @@ +Thu Sep 25 21:19:08 1997 Tom Yu <tlyu@mit.edu> + + * network.c: Replace KRB5_USE_IENT with something more sane. + + * do_tgs_req.c: Replace KRB5_USE_INET with something more sane. + + * main.c: Replace KRB5_USE_INET with something more sane. + + * do_as_req.c: Replace KRB5_USE_INET with something more sane. + Wed Sep 24 11:56:50 1997 Ezra Peisach <epeisach@kangaroo.mit.edu> * kdc_util.c (add_to_transited): Fix up memory leaks, clean out diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c index 5d87865b2d..e571680272 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -28,13 +28,13 @@ #include "com_err.h" #include <syslog.h> -#ifdef KRB5_USE_INET +#ifdef HAVE_NETINET_IN_H #include <sys/types.h> #include <netinet/in.h> #ifndef hpux #include <arpa/inet.h> #endif /* hpux */ -#endif /* KRB5_USE_INET */ +#endif /* HAVE_NETINET_IN_H */ #include "kdc_util.h" #include "policy.h" @@ -83,7 +83,7 @@ krb5_data **response; /* filled in with a response packet */ e_data.data = 0; encrypting_key.contents = 0; -#ifdef KRB5_USE_INET +#ifdef HAVE_NETINET_IN_H if (from->address->addrtype == ADDRTYPE_INET) fromstring = (char *) inet_ntoa(*(struct in_addr *)from->address->contents); #endif diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c index 7a83a9b324..be56124bcc 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -28,7 +28,7 @@ #include "com_err.h" #include <syslog.h> -#ifdef KRB5_USE_INET +#ifdef HAVE_NETINET_IN_H #include <sys/types.h> #include <netinet/in.h> #ifndef hpux @@ -99,7 +99,7 @@ krb5_data **response; /* filled in with a response packet */ if ((retval = setup_server_realm(request->server))) return retval; -#ifdef KRB5_USE_INET +#ifdef HAVE_NETINET_IN_H if (from->address->addrtype == ADDRTYPE_INET) fromstring = (char *) inet_ntoa(*(struct in_addr *)from->address->contents); diff --git a/src/kdc/main.c b/src/kdc/main.c index 80976c0910..83223e5d37 100644 --- a/src/kdc/main.c +++ b/src/kdc/main.c @@ -37,7 +37,7 @@ #include "extern.h" #include "kdc5_err.h" #include "kdb_kt.h" -#ifdef KRB5_USE_INET +#ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif diff --git a/src/kdc/network.c b/src/kdc/network.c index e098761bde..f2cc0b566a 100644 --- a/src/kdc/network.c +++ b/src/kdc/network.c @@ -30,7 +30,7 @@ #include "kdc5_err.h" #include <ctype.h> -#ifdef KRB5_USE_INET +#ifdef HAVE_NETINET_IN_H #include <sys/types.h> #include <netinet/in.h> #include <sys/socket.h> |