svn rev #21671: branches/mskrb-integ/src/kdc/
lhoward@MIT.EDU
lhoward at MIT.EDU
Fri Jan 2 17:48:17 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=21671
Commit By: lhoward
Log Message:
cleanup
Changed Files:
U branches/mskrb-integ/src/kdc/do_tgs_req.c
Modified: branches/mskrb-integ/src/kdc/do_tgs_req.c
===================================================================
--- branches/mskrb-integ/src/kdc/do_tgs_req.c 2009-01-02 21:55:20 UTC (rev 21670)
+++ branches/mskrb-integ/src/kdc/do_tgs_req.c 2009-01-02 22:48:16 UTC (rev 21671)
@@ -628,7 +628,7 @@
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 @@
}
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;
More information about the cvs-krb5
mailing list