Use #define in osconf.h to determine the name of the KRB5_CCNAME environment
authorTheodore Tso <tytso@mit.edu>
Fri, 10 Jun 1994 18:58:12 +0000 (18:58 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 10 Jun 1994 18:58:12 +0000 (18:58 +0000)
variable.

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

src/lib/krb5/os/ccdefname.c

index e3f41a5d2ac5d009611d9b32e4fa88cd67e9e637..1041470312086b3a38b61f5141a1c5f2f8308e29 100644 (file)
@@ -34,10 +34,11 @@ static char rcsid_defname_c[] =
 
 #include <stdio.h>
 #include <krb5/ext-proto.h>
+#include <krb5/osconf.h>
 
 char *krb5_cc_default_name()
 {
-    char *name = getenv ("KRB5CCNAME");
+    char *name = getenv(KRB5_ENV_CCNAME);
     static char *name_buf;
     
     if (name == 0) {