Fix capitalization
authorSam Hartman <hartmans@mit.edu>
Tue, 6 Jan 2009 16:01:56 +0000 (16:01 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 6 Jan 2009 16:01:56 +0000 (16:01 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21707 dc483132-0cff-0310-8789-dd5450dbe970

src/include/kdb_ext.h
src/kdc/kdc_util.c

index 0a2cc9c019e19cc0e93b0197527b12b39147ebfe..0b4c4a97f9d9ea27d0f35170486ec36e1592a99c 100644 (file)
@@ -40,7 +40,7 @@
 /* Private flag used to indicate principal is local TGS */
 #define KRB5_KDB_TICKET_GRANTING_SERVICE       0x01000000
 /* Private flag used to indicate xrealm relationship  is non-transitive */
-#define KRB5_KDB_xrealm_NON_TRANSITIVE         0x02000000
+#define KRB5_KDB_XREALM_NON_TRANSITIVE         0x02000000
 
 /* Entry get flags */
 /* Name canonicalization requested */
index 0caf8a592889679c278591cf3280a610eafc199a..aa8d40d9455ea1dec1f31d77fe77e921700a349a 100644 (file)
@@ -2197,12 +2197,12 @@ validate_transit_path(krb5_context context,
                      krb5_db_entry *krbtgt)
 {
     /* Incoming */
-    if (isflagset(server->attributes, KRB5_KDB_xrealm_NON_TRANSITIVE)) {
+    if (isflagset(server->attributes, KRB5_KDB_XREALM_NON_TRANSITIVE)) {
        return KRB5KDC_ERR_PATH_NOT_ACCEPTED;
     }
 
     /* Outgoing */
-    if (isflagset(krbtgt->attributes, KRB5_KDB_xrealm_NON_TRANSITIVE) &&
+    if (isflagset(krbtgt->attributes, KRB5_KDB_XREALM_NON_TRANSITIVE) &&
        (!krb5_principal_compare(context, server->princ, krbtgt->princ) ||
         !krb5_realm_compare(context, client, krbtgt->princ))) {
        return KRB5KDC_ERR_PATH_NOT_ACCEPTED;