Add 'const' to fix mismatched parameter warnings
authorSam Hartman <hartmans@mit.edu>
Tue, 9 Aug 2011 20:00:32 +0000 (20:00 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 9 Aug 2011 20:00:32 +0000 (20:00 +0000)
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
Signed-off-by: Sam Hartman <hartmans@painless-security.com>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25085 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/krb5_gss_glue.c
src/lib/gssapi/krb5/set_ccache.c

index 0035d4fb02bde5e2992550a7ce57902644efee38..b35a2152344e3d8c5ae602c2be96ae2921601333 100644 (file)
@@ -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)
 {
index dcbe024e3fba6e73d95ad1bfbf81b38db020f0e2..8acf3ec90cded4724d694671d4b1b902ccf51b55 100644 (file)
@@ -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;