From: Greg Hudson Date: Mon, 5 Apr 2010 21:49:56 +0000 (+0000) Subject: In gc_frm_kdc_step.c, remove a check from init_realm_path which was X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5f8b48b70a953c6010957a0f4518402ea740bf8;p=thirdparty%2Fkrb5.git In gc_frm_kdc_step.c, remove a check from init_realm_path which was 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 --- diff --git a/src/lib/krb5/krb/gc_frm_kdc_step.c b/src/lib/krb5/krb/gc_frm_kdc_step.c index 184e28939e..8e98df9fa8 100644 --- a/src/lib/krb5/krb/gc_frm_kdc_step.c +++ b/src/lib/krb5/krb/gc_frm_kdc_step.c @@ -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,