diff options
| author | Luke Howard <lukeh@padl.com> | 2009-10-21 17:24:37 +0000 |
|---|---|---|
| committer | Luke Howard <lukeh@padl.com> | 2009-10-21 17:24:37 +0000 |
| commit | 7895c562802c7b19fc49678b761339b1de45df4d (patch) | |
| tree | 6e67dbf91c4a8362f839a610fb353c8962b0b2bc /src | |
| parent | 8155745026e1f35bf905581575f18380ae4dc451 (diff) | |
| download | krb5-7895c562802c7b19fc49678b761339b1de45df4d.tar.gz krb5-7895c562802c7b19fc49678b761339b1de45df4d.tar.xz krb5-7895c562802c7b19fc49678b761339b1de45df4d.zip | |
simplify logic fix introduced in r22960 for S4U2Self
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22962 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/kdc/do_tgs_req.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c index 057a44250..f05d25a92 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -468,16 +468,14 @@ tgt_again: /* * Forwardable flag is propagated along referral path. */ - else if (is_referral && - !isflagset(header_enc_tkt->flags, TKT_FLG_FORWARDABLE)) + else if (!isflagset(header_enc_tkt->flags, TKT_FLG_FORWARDABLE)) clear(enc_tkt_reply.flags, TKT_FLG_FORWARDABLE); /* * OK_TO_AUTH_AS_DELEGATE must be set on the service requesting * S4U2Self in order for forwardable tickets to be returned. */ else if (!is_referral && - (!isflagset(header_enc_tkt->flags, TKT_FLG_FORWARDABLE) || - !isflagset(server.attributes, KRB5_KDB_OK_TO_AUTH_AS_DELEGATE))) + !isflagset(server.attributes, KRB5_KDB_OK_TO_AUTH_AS_DELEGATE)) clear(enc_tkt_reply.flags, TKT_FLG_FORWARDABLE); } } |
