svn rev #23910: branches/iakerb/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Tue Apr 20 03:58:06 EDT 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=23910
Commit By: ghudson
Log Message:
Merge trunk changes from r23906 to r23909.
Changed Files:
U branches/iakerb/src/lib/krb5/krb/get_creds.c
Modified: branches/iakerb/src/lib/krb5/krb/get_creds.c
===================================================================
--- branches/iakerb/src/lib/krb5/krb/get_creds.c 2010-04-20 07:56:58 UTC (rev 23909)
+++ branches/iakerb/src/lib/krb5/krb/get_creds.c 2010-04-20 07:58:06 UTC (rev 23910)
@@ -941,11 +941,6 @@
return end_get_tgt(context, ctx);
}
- /* Initialize the realm path. */
- code = init_realm_path(context, ctx);
- if (code != 0)
- return code;
-
/* Start with the local tgt. */
krb5_free_creds(context, ctx->cur_tgt);
ctx->cur_tgt = NULL;
@@ -955,6 +950,11 @@
if (ctx->cur_tgt == NULL)
return ctx->cache_code;
+ /* Initialize the realm path. */
+ code = init_realm_path(context, ctx);
+ if (code != 0)
+ return code;
+
/* Empty out the realms-seen list for loop checking. */
krb5int_free_data_list(context, ctx->realms_seen);
ctx->realms_seen = NULL;
More information about the cvs-krb5
mailing list