projects
/
mod_auth_kerb.cvs
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
78cad3b
)
remove some cc warnings (thanks to Joe Orton)
author
kouril
<kouril>
Tue, 11 Aug 2009 07:37:27 +0000
(07:37 +0000)
committer
kouril
<kouril>
Tue, 11 Aug 2009 07:37:27 +0000
(07:37 +0000)
src/mod_auth_kerb.c
patch
|
blob
|
history
diff --git
a/src/mod_auth_kerb.c
b/src/mod_auth_kerb.c
index
10230d8
..
13f7ad3
100644
(file)
--- a/
src/mod_auth_kerb.c
+++ b/
src/mod_auth_kerb.c
@@
-303,7
+303,7
@@
mod_auth_kerb_rc_store(krb5_context context, krb5_rcache rcache,
}
/* And this is the operations vector for our replay cache */
}
/* And this is the operations vector for our replay cache */
-const krb5_rc_ops_internal mod_auth_kerb_rc_ops = {
+
static
const krb5_rc_ops_internal mod_auth_kerb_rc_ops = {
0,
"dfl",
krb5_rc_dfl_init,
0,
"dfl",
krb5_rc_dfl_init,
@@
-682,7
+682,8
@@
end:
static krb5_error_code
verify_krb5_user(request_rec *r, krb5_context context, krb5_principal principal,
const char *password, krb5_principal server,
static krb5_error_code
verify_krb5_user(request_rec *r, krb5_context context, krb5_principal principal,
const char *password, krb5_principal server,
- krb5_keytab keytab, int krb_verify_kdc, const char *krb_service_name, krb5_ccache *ccache)
+ krb5_keytab keytab, int krb_verify_kdc,
+ const char *krb_service_name, krb5_ccache *ccache)
{
krb5_creds creds;
krb5_get_init_creds_opt options;
{
krb5_creds creds;
krb5_get_init_creds_opt options;
@@
-1284,6
+1285,7
@@
get_gss_creds(request_rec *r,
return 0;
}
return 0;
}
+#ifndef GSSAPI_SUPPORTS_SPNEGO
static int
cmp_gss_type(gss_buffer_t token, gss_OID oid)
{
static int
cmp_gss_type(gss_buffer_t token, gss_OID oid)
{
@@
-1310,6
+1312,7
@@
cmp_gss_type(gss_buffer_t token, gss_OID oid)
return memcmp(p, oid->elements, oid->length);
}
return memcmp(p, oid->elements, oid->length);
}
+#endif
static int
authenticate_user_gss(request_rec *r, kerb_auth_config *conf,
static int
authenticate_user_gss(request_rec *r, kerb_auth_config *conf,
@@
-1757,7
+1760,7
@@
kerb_authenticate_user(request_rec *r)
return ret;
}
return ret;
}
-int
+
static
int
have_rcache_type(const char *type)
{
krb5_error_code ret;
have_rcache_type(const char *type)
{
krb5_error_code ret;