diff options
author | Theodore Tso <tytso@mit.edu> | 1994-06-10 18:58:12 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1994-06-10 18:58:12 +0000 |
commit | 25e80c6ba616d95b811f490a2938b8eaafba0874 (patch) | |
tree | 6321038e4f18abfe9aaae834eac49425754664fb /src/lib/krb5/os/ccdefname.c | |
parent | 31859eb7bf349728385c5b16f238f1f1447d49bd (diff) | |
download | krb5-25e80c6ba616d95b811f490a2938b8eaafba0874.zip krb5-25e80c6ba616d95b811f490a2938b8eaafba0874.tar.gz krb5-25e80c6ba616d95b811f490a2938b8eaafba0874.tar.bz2 |
Use #define in osconf.h to determine the name of the KRB5_CCNAME environment
variable.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3714 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/os/ccdefname.c')
-rw-r--r-- | src/lib/krb5/os/ccdefname.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/krb5/os/ccdefname.c b/src/lib/krb5/os/ccdefname.c index e3f41a5..1041470 100644 --- a/src/lib/krb5/os/ccdefname.c +++ b/src/lib/krb5/os/ccdefname.c @@ -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) { |