From eacfc15a886c32be5f7fa8d1b7b2e6863fe08d36 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 19 Dec 2006 05:05:32 +0000 Subject: [PATCH] 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 --- src/include/krb5/krb5.hin | 2 +- src/lib/krb5/krb/princ_comp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.26.2