Skip to content

Commit 1e3ebb2

Browse files
committed
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
1 parent 0c4d113 commit 1e3ebb2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/mod_auth_gssapi.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,10 @@ struct mag_req_cfg *mag_init_cfg(request_rec *req)
612612
return req_cfg;
613613
}
614614

615+
static int mag_complete(struct mag_req_cfg *req_cfg, struct mag_conn *mc,
616+
gss_name_t client, gss_OID mech_type,
617+
uint32_t vtime, gss_cred_id_t delegated_cred);
618+
615619
#ifdef HAVE_CRED_STORE
616620
static bool use_s4u2proxy(struct mag_req_cfg *req_cfg) {
617621
if (req_cfg->cfg->use_s4u2proxy) {
@@ -626,10 +630,6 @@ static bool use_s4u2proxy(struct mag_req_cfg *req_cfg) {
626630
return false;
627631
}
628632

629-
static int mag_complete(struct mag_req_cfg *req_cfg, struct mag_conn *mc,
630-
gss_name_t client, gss_OID mech_type,
631-
uint32_t vtime, gss_cred_id_t delegated_cred);
632-
633633
static apr_status_t mag_s4u2self(request_rec *req)
634634
{
635635
apr_status_t ret = DECLINED;

0 commit comments

Comments
 (0)