From: Tom Yu Date: Tue, 19 Dec 2006 05:05:32 +0000 (+0000) Subject: pull up r18974 from trunk X-Git-Tag: krb5-1.6-beta2~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eacfc15a886c32be5f7fa8d1b7b2e6863fe08d36;p=krb5.git pull up r18974 from trunk 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 --- diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index 9c6fd2311..13ab3fcfe 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -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" diff --git a/src/lib/krb5/krb/princ_comp.c b/src/lib/krb5/krb/princ_comp.c index 8b52330b3..cb1a652bd 100644 --- a/src/lib/krb5/krb/princ_comp.c +++ b/src/lib/krb5/krb/princ_comp.c @@ -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