diff options
author | Luke Howard <lukeh@padl.com> | 2009-01-02 22:48:16 +0000 |
---|---|---|
committer | Luke Howard <lukeh@padl.com> | 2009-01-02 22:48:16 +0000 |
commit | 82f20312a362d7ea2d4c2be990ad484a3fa97a29 (patch) | |
tree | 7783f4fe7e3b4e90ab3da771d883c65e1497fa80 | |
parent | 31d3e6cab8791cdc0273e7c13d124c3de1dd300b (diff) | |
download | krb5-82f20312a362d7ea2d4c2be990ad484a3fa97a29.zip krb5-82f20312a362d7ea2d4c2be990ad484a3fa97a29.tar.gz krb5-82f20312a362d7ea2d4c2be990ad484a3fa97a29.tar.bz2 |
cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ@21671 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/kdc/do_tgs_req.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c index 90de4db..af9abf0 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -628,7 +628,7 @@ tgt_again: c_flags, (c_nprincs != 0) ? &client : NULL, &server, - k_nprincs ? &krbtgt : NULL, + (k_nprincs != 0) ? &krbtgt : NULL, subkey != NULL ? subkey : header_ticket->enc_part2->session, &encrypting_key, /* U2U or server key */ @@ -697,7 +697,8 @@ tgt_again: } if (isflagset(c_flags, KRB5_KDB_FLAG_CROSS_REALM)) { errcode = validate_transit_path(kdc_context, header_enc_tkt->client, - &server, k_nprincs ? &krbtgt : NULL); + &server, + (k_nprincs != 0) ? &krbtgt : NULL); if (errcode) { status = "NON_TRANSITIVE"; goto cleanup; |