From: Sam Hartman Date: Sat, 9 Nov 1996 16:00:02 +0000 (+0000) Subject: Fix so login.c compiles with krb4 support. X-Git-Tag: krb5-1.0-freeze1~74 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=48cd003d81ba2ae3824399237a8ec1a7cfb86e34;p=krb5.git Fix so login.c compiles with krb4 support. [krb5-appl/148] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9351 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index dd7acc02c..7d53a211b 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,7 @@ +Sat Nov 9 10:49:36 1996 Sam Hartman + + * login.c: Re-arrange to deal with compiling without krb4 support. [148] + Wed Nov 6 11:32:36 1996 Theodore Ts'o * login.c (destroy_tickets): Just use global kcontext instead diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index dfcecc217..6793d10cb 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -1688,7 +1688,8 @@ int rewrite_ccache = 1; /*try to write out ccache*/ syslog(LOG_ERR, "%s while retrieiving V5 initial ticket for copy", error_message(retval)); - goto skip_ccache_rewrite; + skip_ccache_rewrite: rewrite_ccache = 0; + } krb5_free_principal(kcontext, mcreds.server); } @@ -1702,7 +1703,7 @@ int rewrite_ccache = 1; /*try to write out ccache*/ syslog(LOG_ERR, "%s while retrieving V4 initial ticket for copy", error_message(retval)); - skip_ccache_rewrite: rewrite_ccache = 0; + rewrite_ccache = 0; } }