Put back in the KRB5_CONFIG getenv that was accidentally removed
authorEzra Peisach <epeisach@mit.edu>
Mon, 2 Oct 1995 21:47:13 +0000 (21:47 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 2 Oct 1995 21:47:13 +0000 (21:47 +0000)
in the DEFAULT_PROFILE_PATH change.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6924 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/init_os_ctx.c

index 77749c96957f70cd60bc522508bf93b254dada69..c488e188aa57b3d642a592b5839998de7d5f6a4a 100644 (file)
@@ -1,3 +1,8 @@
+Mon Oct  2 17:36:38 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * init_os_ctx.c (krb5_os_init_context): Put back in the
+               KRB5_CONFIG environment before setting to default.
+
 Tue Sep 26 22:46:01 1995  Mark Eichin  <eichin@cygnus.com>
 
        * init_os_ctx.c (krb5_os_init_context): use profile_init_path for
index eebc651ef0f62af3d8ad93f6ddf5b47e3059ff4a..9d21c9423edbe983567fbbe0b2ed153af3cc5bfd 100644 (file)
@@ -147,6 +147,7 @@ krb5_os_init_context(ctx)
         * When the profile routines are later enhanced, we will try
         * including a config file from user's home directory here.
         */
+        name = getenv("KRB5_CONFIG");
        if(!name) name = DEFAULT_PROFILE_PATH;
 
        retval = profile_init_path(name, &ctx->profile);