Blame SOURCES/mod_auth_kerb-5.4-fixes.patch

0e5650
0e5650
Compiler warning fixes.
0e5650
0e5650
--- mod_auth_kerb-5.4/src/mod_auth_kerb.c.fixes
0e5650
+++ mod_auth_kerb-5.4/src/mod_auth_kerb.c
0e5650
@@ -677,7 +677,8 @@ end:
0e5650
 static krb5_error_code
0e5650
 verify_krb5_user(request_rec *r, krb5_context context, krb5_principal principal,
0e5650
       		 const char *password, krb5_principal server,
0e5650
-		 krb5_keytab keytab, int krb_verify_kdc, char *krb_service_name, krb5_ccache *ccache)
0e5650
+		 krb5_keytab keytab, int krb_verify_kdc, 
0e5650
+                 const char *krb_service_name, krb5_ccache *ccache)
0e5650
 {
0e5650
    krb5_creds creds;
0e5650
    krb5_get_init_creds_opt options;
0e5650
@@ -1280,6 +1281,7 @@ get_gss_creds(request_rec *r,
0e5650
    return 0;
0e5650
 }
0e5650
 
0e5650
+#ifndef GSSAPI_SUPPORTS_SPNEGO
0e5650
 static int
0e5650
 cmp_gss_type(gss_buffer_t token, gss_OID oid)
0e5650
 {
0e5650
@@ -1306,6 +1308,7 @@ cmp_gss_type(gss_buffer_t token, gss_OID
0e5650
 
0e5650
    return memcmp(p, oid->elements, oid->length);
0e5650
 }
0e5650
+#endif
0e5650
 
0e5650
 static int
0e5650
 authenticate_user_gss(request_rec *r, kerb_auth_config *conf,
0e5650
@@ -1722,7 +1725,7 @@ kerb_authenticate_user(request_rec *r)
0e5650
    return ret;
0e5650
 }
0e5650
 
0e5650
-int
0e5650
+static int
0e5650
 have_rcache_type(const char *type)
0e5650
 {
0e5650
    krb5_error_code ret;