diff options
author | Simo Sorce <simo@redhat.com> | 2016-01-13 09:40:21 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2016-01-13 09:48:31 -0500 |
commit | 3652da99739cc95c8278ba726e7446ec1e9c9e0f (patch) | |
tree | 36b74057aa42791d6550195f204ee8b181389066 /src/mod_auth_gssapi.c | |
parent | ea848ec7ac001d2ea181e7f3e52c8c946cffd15c (diff) | |
download | mod_auth_gssapi-3652da99739cc95c8278ba726e7446ec1e9c9e0f.tar.gz mod_auth_gssapi-3652da99739cc95c8278ba726e7446ec1e9c9e0f.tar.xz mod_auth_gssapi-3652da99739cc95c8278ba726e7446ec1e9c9e0f.zip |
Fix build when cred store is not available.
Older distributions have versions of Kerberos that miss this feature.
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/mod_auth_gssapi.c')
-rw-r--r-- | src/mod_auth_gssapi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_auth_gssapi.c b/src/mod_auth_gssapi.c index 6d12036..088fb88 100644 --- a/src/mod_auth_gssapi.c +++ b/src/mod_auth_gssapi.c @@ -630,6 +630,7 @@ struct mag_req_cfg *mag_init_cfg(request_rec *req) return req_cfg; } +#ifdef HAVE_CRED_STORE static bool use_s4u2proxy(struct mag_req_cfg *req_cfg) { if (req_cfg->cfg->use_s4u2proxy) { if (req_cfg->cfg->deleg_ccache_dir != NULL) { @@ -642,6 +643,7 @@ static bool use_s4u2proxy(struct mag_req_cfg *req_cfg) { } return false; } +#endif static int mag_auth(request_rec *req) { |