diff options
author | Simo Sorce <simo@redhat.com> | 2015-06-01 17:55:34 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-06-01 18:12:08 -0400 |
commit | 75bba08a6fa21b0f121bf702ca5acf8533921681 (patch) | |
tree | 38f4cd031698e49b7067ab109516c16a9785b87c /src/mod_auth_gssapi.h | |
parent | 1fcfd83cda90bffae8bdfa01effc0008d1d111c6 (diff) | |
download | mod_auth_gssapi-75bba08a6fa21b0f121bf702ca5acf8533921681.tar.gz mod_auth_gssapi-75bba08a6fa21b0f121bf702ca5acf8533921681.tar.xz mod_auth_gssapi-75bba08a6fa21b0f121bf702ca5acf8533921681.zip |
More work on keeping cred_store functions optional
Some more definitions that depend on cred_store functions were
not properly ifdef-ed
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/mod_auth_gssapi.h')
-rw-r--r-- | src/mod_auth_gssapi.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mod_auth_gssapi.h b/src/mod_auth_gssapi.h index fc5f643..d540ee1 100644 --- a/src/mod_auth_gssapi.h +++ b/src/mod_auth_gssapi.h @@ -35,6 +35,12 @@ #define MIN_SESS_EXP_TIME 300 /* 5 minutes validity minimum */ +#ifdef HAVE_GSS_ACQUIRE_CRED_FROM +# ifdef HAVE_GSS_STORE_CRED_INTO +#define HAVE_CRED_STORE 1 +# endif +#endif + struct mag_config { apr_pool_t *pool; bool ssl_only; @@ -42,9 +48,11 @@ struct mag_config { bool gss_conn_ctx; bool send_persist; bool use_sessions; +#ifdef HAVE_CRED_STORE bool use_s4u2proxy; char *deleg_ccache_dir; gss_key_value_set_desc *cred_store; +#endif struct seal_key *mag_skey; bool use_basic_auth; }; |