from 1.1 branch: use init_secure_context
authorKen Raeburn <raeburn@mit.edu>
Wed, 15 Dec 1999 02:14:55 +0000 (02:14 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 15 Dec 1999 02:14:55 +0000 (02:14 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11956 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/bsd/ChangeLog
src/appl/bsd/login.c

index 55d8a121b3bb82846337ffc19c933ab7775da9dd..27805e7684039a2e561d776a5dc52bdbe20ab6bd 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-23  Ken Raeburn  <raeburn@mit.edu>
+
+       * login.c (k_init): Call krb5_init_secure_context instead of
+       krb5_init_context and krb5_secure_config_files.
+
 1999-10-26  Tom Yu  <tlyu@mit.edu>
 
        * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
index 2eaf822dc838f5b797b28acebe06280a4e3398a9..d9789a721af5808fc36b51d6c8b6df6a910dd438 100644 (file)
@@ -505,13 +505,12 @@ void k_init (ttyn)
 #ifdef KRB5_GET_TICKETS
     krb5_error_code retval;
     
-    retval = krb5_init_context(&kcontext);
+    retval = krb5_init_secure_context(&kcontext);
     if (retval) {
        com_err("login", retval, "while initializing krb5");
        exit(1);
     }
 
-    krb5_secure_config_files (kcontext);
     login_get_kconf(kcontext);
 
     /* Set up the credential cache environment variable */