From 23a8cce0278eb963068590a175344cc18d9ef17a Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 31 Mar 1995 21:51:05 +0000 Subject: [PATCH] Make sure the context is initialized before it is used git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5328 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 4 ++++ src/kdc/main.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index d4c1069bc..24df9cc03 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,7 @@ +Fri Mar 31 16:50:07 1995 Theodore Y. Ts'o (tytso@dcl) + + * main.c (main): Make sure the context is initialized before it is + used. Mon Mar 27 07:56:26 1995 Chris Provenzano (proven@mit.edu) diff --git a/src/kdc/main.c b/src/kdc/main.c index 844903b2b..18106f305 100644 --- a/src/kdc/main.c +++ b/src/kdc/main.c @@ -435,6 +435,8 @@ char *argv[]; if (strrchr(argv[0], '/')) argv[0] = strrchr(argv[0], '/')+1; + krb5_init_context(&kdc_context); + setup_com_err(); openlog(argv[0], LOG_CONS|LOG_NDELAY|LOG_PID, LOG_LOCAL6); /* XXX */ -- 2.26.2