]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
In gc_frm_kdc_step.c, remove a check from init_realm_path which was
authorGreg Hudson <ghudson@mit.edu>
Mon, 5 Apr 2010 21:49:56 +0000 (21:49 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 5 Apr 2010 21:49:56 +0000 (21:49 +0000)
redundant with a check in krb5_walk_realm_tree.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/iakerb@23865 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/gc_frm_kdc_step.c

index 184e28939e5d3bfc2af127ae835d2ba58cf9fa56..8e98df9fa8cab62f0ddd30342dc87236a0b7df8d 100644 (file)
@@ -644,10 +644,6 @@ init_realm_path(krb5_context context, krb5_tkt_creds_context ctx)
     krb5_data *realm_path;
     size_t nrealms, i;
 
-    /* Make sure we're actually trying to acquire a foreign TGT. */
-    if (data_eq(ctx->client->realm, ctx->server->realm))
-        return KRB5_CC_NOTFOUND;
-
     /* Construct a list of TGT principals from client to server.  We will throw
      * this away after grabbing the remote realms from each principal. */
     code = krb5_walk_realm_tree(context, &ctx->client->realm,