diff options
author | Simo Sorce <simo@redhat.com> | 2016-10-07 10:01:26 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2016-10-11 08:59:32 -0400 |
commit | 1e3ebb21677943d7e79f77d31d21cfcdf51314f0 (patch) | |
tree | 6c610d573363322202ff1a58d06c88f731747180 | |
parent | 0c4d113b7379ac4eea6a51f1c510881095caf9e8 (diff) | |
download | mod_auth_gssapi-1e3ebb21677943d7e79f77d31d21cfcdf51314f0.tar.gz mod_auth_gssapi-1e3ebb21677943d7e79f77d31d21cfcdf51314f0.tar.xz mod_auth_gssapi-1e3ebb21677943d7e79f77d31d21cfcdf51314f0.zip |
Declare mag_complete outside the ifdef block
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Isaac Boukris <iboukris@gmail.com>
Reviewed-by: Robbie Harwood <rharwood@redhat.com>
Fixes #106
Closes #107
-rw-r--r-- | src/mod_auth_gssapi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mod_auth_gssapi.c b/src/mod_auth_gssapi.c index ecfd83b..1bd5ba7 100644 --- a/src/mod_auth_gssapi.c +++ b/src/mod_auth_gssapi.c @@ -612,6 +612,10 @@ struct mag_req_cfg *mag_init_cfg(request_rec *req) return req_cfg; } +static int mag_complete(struct mag_req_cfg *req_cfg, struct mag_conn *mc, + gss_name_t client, gss_OID mech_type, + uint32_t vtime, gss_cred_id_t delegated_cred); + #ifdef HAVE_CRED_STORE static bool use_s4u2proxy(struct mag_req_cfg *req_cfg) { if (req_cfg->cfg->use_s4u2proxy) { @@ -626,10 +630,6 @@ static bool use_s4u2proxy(struct mag_req_cfg *req_cfg) { return false; } -static int mag_complete(struct mag_req_cfg *req_cfg, struct mag_conn *mc, - gss_name_t client, gss_OID mech_type, - uint32_t vtime, gss_cred_id_t delegated_cred); - static apr_status_t mag_s4u2self(request_rec *req) { apr_status_t ret = DECLINED; |