pull up r22041 from trunk
Adjust to the return value of isflagset routine.
ticket: 6458
version_fixed: 1.7
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@22205
dc483132-0cff-0310-8789-
dd5450dbe970
* 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) {