summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/krb/ChangeLog7
-rw-r--r--src/lib/krb5/krb/walk_rtree.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog
index 6d5335863f..b512c1c737 100644
--- a/src/lib/krb5/krb/ChangeLog
+++ b/src/lib/krb5/krb/ChangeLog
@@ -1,3 +1,10 @@
+Wed Jan 10 21:01:36 1996 Theodore Y. Ts'o <tytso@dcl>
+
+ * walk_rtree.c (krb5_walk_realm_tree): Applied patch submitted by
+ Doug Engbert, so that the configurable authentication
+ patch takes into account the null entry at the end of the
+ list.
+
Tue Jan 9 22:04:09 1996 Theodore Y. Ts'o <tytso@dcl>
* fwd_tgt.c (krb5_fwd_tgt_creds): New function which handles all
diff --git a/src/lib/krb5/krb/walk_rtree.c b/src/lib/krb5/krb/walk_rtree.c
index 886085f77e..835d899c43 100644
--- a/src/lib/krb5/krb/walk_rtree.c
+++ b/src/lib/krb5/krb/walk_rtree.c
@@ -138,6 +138,7 @@ krb5_walk_realm_tree(context, client, server, tree, realm_branch_char)
cap_nodes[links] = cap_server; /* put server on end of list */
/* this simplifies the code later and make */
/* cleanup eaiser as well */
+ links++; /* count the null entry at end */
} else { /* no path use hierarchical method */
krb5_xfree(cap_names[2]); /* failed, don't need server string */
#endif
@@ -227,6 +228,7 @@ krb5_walk_realm_tree(context, client, server, tree, realm_branch_char)
return retval;
}
#ifdef CONFIGURABLE_AUTHENTICATION_PATH
+ links--; /* dont count the null entry on end */
if (cap_code == 0) { /* found a path above */
tmpcrealm.data = client->data;
tmpcrealm.length = client->length;