From 43c985976262b59f2ccfbd044cff741a9f0540be Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Fri, 8 Jun 2001 18:18:58 +0000 Subject: [PATCH] * kdc_preauth.c: Include adm_proto.h for krb5_klog_syslog() prototype. * main.c: Include des.h for des_init_random_number_generator() prototype. * network.c: Include adm_proto.h for krb5_klog_syslog() prototype. Pass kdc_context to krb5_klog_reopen(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13314 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 11 +++++++++++ src/kdc/kdc_preauth.c | 1 + src/kdc/main.c | 4 ++++ src/kdc/network.c | 3 ++- 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 7cd5ad435..1146162f2 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,14 @@ +2001-06-08 Ezra Peisach + + * kdc_preauth.c: Include adm_proto.h for krb5_klog_syslog() + prototype. + + * main.c: Include des.h for des_init_random_number_generator() + prototype. + + * network.c: Include adm_proto.h for krb5_klog_syslog() + prototype. Pass kdc_context to krb5_klog_reopen(). + 2001-06-07 Ezra Peisach * kerberos_v4.c: Get rid of file wide static krb5_error_code. Cast diff --git a/src/kdc/kdc_preauth.c b/src/kdc/kdc_preauth.c index b073e786d..926da9ce5 100644 --- a/src/kdc/kdc_preauth.c +++ b/src/kdc/kdc_preauth.c @@ -56,6 +56,7 @@ #include "kdc_util.h" #include "extern.h" #include +#include "adm_proto.h" #include typedef krb5_error_code (*verify_proc) diff --git a/src/kdc/main.c b/src/kdc/main.c index 2de048413..34565978e 100644 --- a/src/kdc/main.c +++ b/src/kdc/main.c @@ -44,6 +44,10 @@ #include #endif +#ifdef KRB5_KRB4_COMPAT +#include +#endif + kdc_realm_t *find_realm_data (char *, krb5_ui_4); void usage (char *); diff --git a/src/kdc/network.c b/src/kdc/network.c index d7e7596e9..d20ee0184 100644 --- a/src/kdc/network.c +++ b/src/kdc/network.c @@ -32,6 +32,7 @@ #include "kdc_util.h" #include "extern.h" #include "kdc5_err.h" +#include "adm_proto.h" #include #include @@ -669,7 +670,7 @@ const char *prog; while (!signal_requests_exit) { if (signal_requests_hup) { - krb5_klog_reopen(); + krb5_klog_reopen(kdc_context); signal_requests_hup = 0; } readfds = select_fds; -- 2.26.2