svn rev #22205: branches/krb5-1-7/src/kdc/
tlyu@MIT.EDU
tlyu at MIT.EDU
Mon Apr 13 16:26:31 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22205
Commit By: tlyu
Log Message:
ticket: 6458
subject: use isflagset correctly in TGS referrals
version_fixed: 1.7
tags: pullup
pull up r22041 from trunk
Adjust to the return value of isflagset routine.
Changed Files:
U branches/krb5-1-7/src/kdc/do_tgs_req.c
Modified: branches/krb5-1-7/src/kdc/do_tgs_req.c
===================================================================
--- branches/krb5-1-7/src/kdc/do_tgs_req.c 2009-04-13 20:26:27 UTC (rev 22204)
+++ branches/krb5-1-7/src/kdc/do_tgs_req.c 2009-04-13 20:26:30 UTC (rev 22205)
@@ -1086,8 +1086,7 @@
* If all of these conditions are satisfied - try mapping the FQDN and
* re-process the request as if client had asked for cross-realm TGT.
*/
-
- if (isflagset(request->kdc_options, KDC_OPT_CANONICALIZE) == TRUE &&
+ if (isflagset(request->kdc_options, KDC_OPT_CANONICALIZE) &&
!isflagset(request->kdc_options, KDC_OPT_ENC_TKT_IN_SKEY) &&
krb5_princ_size(kdc_context, request->server) == 2) {
More information about the cvs-krb5
mailing list