From 5fca7cb0056278a2cbaab098f4908ad475be0aa2 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Tue, 9 Aug 2011 20:00:32 +0000 Subject: [PATCH] Add 'const' to fix mismatched parameter warnings Signed-off-by: Kevin Wasserman Signed-off-by: Sam Hartman git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25085 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/krb5_gss_glue.c | 2 +- src/lib/gssapi/krb5/set_ccache.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/gssapi/krb5/krb5_gss_glue.c b/src/lib/gssapi/krb5/krb5_gss_glue.c index 0035d4fb0..b35a21523 100644 --- a/src/lib/gssapi/krb5/krb5_gss_glue.c +++ b/src/lib/gssapi/krb5/krb5_gss_glue.c @@ -336,7 +336,7 @@ krb5_gss_use_kdc_context(void) */ OM_uint32 KRB5_CALLCONV gsskrb5_extract_authz_data_from_sec_context(OM_uint32 *minor_status, - gss_ctx_id_t context_handle, + const gss_ctx_id_t context_handle, int ad_type, gss_buffer_t ad_data) { diff --git a/src/lib/gssapi/krb5/set_ccache.c b/src/lib/gssapi/krb5/set_ccache.c index dcbe024e3..8acf3ec90 100644 --- a/src/lib/gssapi/krb5/set_ccache.c +++ b/src/lib/gssapi/krb5/set_ccache.c @@ -36,7 +36,7 @@ OM_uint32 gss_krb5int_ccache_name(OM_uint32 *minor_status, const gss_OID desired_mech, const gss_OID desired_object, - gss_buffer_t value) + const gss_buffer_t value) { char *old_name = NULL; OM_uint32 err = 0; -- 2.26.2