Adjust to the return value of isflagset routine
authorZhanna Tsitkov <tsitkova@mit.edu>
Fri, 20 Feb 2009 18:24:18 +0000 (18:24 +0000)
committerZhanna Tsitkov <tsitkova@mit.edu>
Fri, 20 Feb 2009 18:24:18 +0000 (18:24 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22041 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/do_tgs_req.c

index b7eaf2f8f6328001e041b2e4a6111a6e3a615274..e363782ecbdd73a44210a132926cf4f1979b25b4 100644 (file)
@@ -1085,8 +1085,7 @@ prep_reprocess_req(krb5_kdc_req *request, krb5_principal *krbtgt_princ)
      * 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) {