From: Sam Hartman Date: Tue, 9 Aug 2011 20:00:32 +0000 (+0000) Subject: Add 'const' to fix mismatched parameter warnings X-Git-Tag: krb5-1.10-alpha1~290 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5fca7cb0056278a2cbaab098f4908ad475be0aa2;p=krb5.git 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 --- 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;