summaryrefslogtreecommitdiffstats
path: root/src/environ.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2016-01-13 09:40:21 -0500
committerSimo Sorce <simo@redhat.com>2016-01-13 09:48:31 -0500
commit3652da99739cc95c8278ba726e7446ec1e9c9e0f (patch)
tree36b74057aa42791d6550195f204ee8b181389066 /src/environ.c
parentea848ec7ac001d2ea181e7f3e52c8c946cffd15c (diff)
downloadmod_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/environ.c')
-rw-r--r--src/environ.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/environ.c b/src/environ.c
index 49b648c..1ea72e0 100644
--- a/src/environ.c
+++ b/src/environ.c
@@ -276,6 +276,7 @@ void mag_set_req_data(request_rec *req,
mag_set_name_attributes(req, mc);
}
+#ifdef HAVE_CRED_STORE
if (cfg->deleg_ccache_dir && mc->delegated) {
char *ccname;
ccname = mag_gss_name_to_ccache_name(req,
@@ -285,4 +286,5 @@ void mag_set_req_data(request_rec *req,
mag_set_KRB5CCANME(req, ccname);
}
}
+#endif
}