The module structure name used throughout the code didn't match the
name of the initialized structure, so the one used was always
uninitialized.
#include <apr_strings.h>
#include <apr_base64.h>
-module AP_MODULE_DECLARE_DATA mag_module;
+module AP_MODULE_DECLARE_DATA auth_gssapi_module;
struct mag_config {
bool ssl_only;
return DECLINED;
}
- cfg = ap_get_module_config(req->per_dir_config, &mag_module);
+ cfg = ap_get_module_config(req->per_dir_config, &auth_gssapi_module);
if (cfg->ssl_only) {
ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, req,