pull up r18974 from trunk
authorTom Yu <tlyu@mit.edu>
Tue, 19 Dec 2006 05:05:32 +0000 (05:05 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 19 Dec 2006 05:05:32 +0000 (05:05 +0000)
 r18974@cathode-dark-space:  raeburn | 2006-12-18 20:28:32 -0500
 ticket: 5121
 status: open

 krb5_is_referral_realm now takes a pointer to const krb5_data, since it doesn't
 modify it.

ticket: 5121
version_fixed: 1.6

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@18978 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/krb5.hin
src/lib/krb5/krb/princ_comp.c

index 9c6fd2311eb743de0636f8908e53936563be6576..13ab3fcfe8ae9cb31c140312bbf914de67e2995f 100644 (file)
@@ -267,7 +267,7 @@ typedef const krb5_principal_data *krb5_const_principal;
 /*
  * Referral-specific functions.
  */
-krb5_boolean KRB5_CALLCONV krb5_is_referral_realm(krb5_data *);
+krb5_boolean KRB5_CALLCONV krb5_is_referral_realm(const krb5_data *);
 
 /*
  * end "base-defs.h"
index 8b52330b34ebbe078c9359be4861d3cc54bb2699..cb1a652bd5a6c1ce05ce6024effa7f13bf48de07 100644 (file)
@@ -66,7 +66,7 @@ krb5_principal_compare(krb5_context context, krb5_const_principal princ1, krb5_c
     return TRUE;
 }
 
-krb5_boolean KRB5_CALLCONV krb5_is_referral_realm(krb5_data *r)
+krb5_boolean KRB5_CALLCONV krb5_is_referral_realm(const krb5_data *r)
 {
     /*
      * Check for a match with KRB5_REFERRAL_REALM.  Currently this relies