(krb5_start_session): krb5_afslog doesn't depend on KRB4 any more

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11857 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-03-18 13:34:26 +00:00
parent 09dfb169a9
commit 451649f07e

View File

@@ -56,8 +56,8 @@ RCSID("$Id$");
#endif
#ifdef KRB4
#include <krb.h>
#include <kafs.h>
#endif
#include <kafs.h>
#include <err.h>
#include <roken.h>
#include <getarg.h>
@@ -253,13 +253,11 @@ krb5_start_session(void)
set_tkfile();
esetenv("KRBTKFILE", tkfile, 1);
#ifdef KRB4
/* convert creds? */
if(k_hasafs()) {
if (k_setpag() == 0)
krb5_afslog(context, ccache2, NULL, NULL);
}
#endif
krb5_cc_close(context, ccache2);
krb5_cc_destroy(context, ccache);