* kdc_preauth.c: Include adm_proto.h for krb5_klog_syslog()
authorEzra Peisach <epeisach@mit.edu>
Fri, 8 Jun 2001 18:18:58 +0000 (18:18 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 8 Jun 2001 18:18:58 +0000 (18:18 +0000)
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
src/kdc/kdc_preauth.c
src/kdc/main.c
src/kdc/network.c

index 7cd5ad4352c1a182b9b2ba8fadac2d5a5f43fb52..1146162f2721fb459251bd866e1dd9acd47d3b89 100644 (file)
@@ -1,3 +1,14 @@
+2001-06-08  Ezra Peisach  <epeisach@mit.edu>
+
+       * 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  <epeisach@mit.edu>
 
        * kerberos_v4.c: Get rid of file wide static krb5_error_code. Cast
index b073e786df02993dcdd2d5be9fc1c9544be73516..926da9ce56e11323cde70623d224439c4ed36c34 100644 (file)
@@ -56,6 +56,7 @@
 #include "kdc_util.h"
 #include "extern.h"
 #include <stdio.h>
+#include "adm_proto.h"
 #include <syslog.h>
 
 typedef krb5_error_code (*verify_proc)
index 2de048413f1ea0f92b857c48a9a0aab2206d11f3..34565978e04b7a980c4c7769bc765b0387145935 100644 (file)
 #include <netinet/in.h>
 #endif
 
+#ifdef KRB5_KRB4_COMPAT
+#include <des.h>
+#endif
+
 kdc_realm_t *find_realm_data (char *, krb5_ui_4);
 
 void usage (char *);
index d7e7596e9af62effc8231e03c12f314b47bdf440..d20ee01841a1e3599cfdfd58180efe4f70f85018 100644 (file)
@@ -32,6 +32,7 @@
 #include "kdc_util.h"
 #include "extern.h"
 #include "kdc5_err.h"
+#include "adm_proto.h"
 #include <sys/ioctl.h>
 #include <syslog.h>
 
@@ -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;