diff options
Diffstat (limited to 'security/krb5-16/files/patch-ba')
-rw-r--r-- | security/krb5-16/files/patch-ba | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/security/krb5-16/files/patch-ba b/security/krb5-16/files/patch-ba index f346d9b8e80e..9c4a82b10e66 100644 --- a/security/krb5-16/files/patch-ba +++ b/security/krb5-16/files/patch-ba @@ -1,13 +1,5 @@ --- appl/bsd/login.c.ORIG Wed Oct 13 12:55:47 1999 +++ appl/bsd/login.c Wed Oct 13 12:56:29 1999 -@@ -518,6 +518,7 @@ - if (!getenv(KRB5_ENV_CCNAME)) { - sprintf(ccfile, "FILE:/tmp/krb5cc_p%d", getpid()); - setenv(KRB5_ENV_CCNAME, ccfile, 1); -+ krb5_cc_set_default_name(kcontext, ccfile); - unlink(ccfile+strlen("FILE:")); - } else { - /* note it correctly */ @@ -1303,19 +1304,6 @@ setpriority(PRIO_PROCESS, 0, 0 + PRIO_OFFSET); } @@ -86,15 +78,3 @@ setenv("HOME", pwd->pw_dir, 1); setenv("PATH", LPATH, 1); -@@ -1748,8 +1749,10 @@ - - #ifdef KRB5_GET_TICKETS - /* ccfile[0] is only set if we got tickets above */ -- if (login_krb5_get_tickets && ccfile[0]) -+ if (login_krb5_get_tickets && ccfile[0]) { - (void) setenv(KRB5_ENV_CCNAME, ccfile, 1); -+ krb5_cc_set_default_name(kcontext, ccfile); -+ } - #endif /* KRB5_GET_TICKETS */ - - if (tty[sizeof("tty")-1] == 'd') |