Fix so login.c compiles with krb4 support.
authorSam Hartman <hartmans@mit.edu>
Sat, 9 Nov 1996 16:00:02 +0000 (16:00 +0000)
committerSam Hartman <hartmans@mit.edu>
Sat, 9 Nov 1996 16:00:02 +0000 (16:00 +0000)
[krb5-appl/148]

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

src/appl/bsd/ChangeLog
src/appl/bsd/login.c

index dd7acc02cb264343899fc0f0c73a1cce80958926..7d53a211b0aab16a12ea368dd99731473e3048d3 100644 (file)
@@ -1,3 +1,7 @@
+Sat Nov  9 10:49:36 1996  Sam Hartman  <hartmans@mit.edu>
+
+       * login.c: Re-arrange to deal with compiling without krb4 support. [148]
+
 Wed Nov  6 11:32:36 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * login.c (destroy_tickets): Just use global kcontext instead
index dfcecc217703b1c3f5bc81fe725922702840bb17..6793d10cb2c285acd17dd6a0f156e12ea44d4df1 100644 (file)
@@ -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;
             
             }
        }