const char *errmsg;
static struct ap_socache_hints authn_cache_hints = {64, 32, 60000000};
+ if (socache_provider == NULL) {
+ ap_log_perror(APLOG_MARK, APLOG_CRIT, 0, plog,
+ "Please select a socache provider with AuthnCacheSOCache "
+ "(no default found on this platform)");
+ return 500; /* An HTTP status would be a misnomer! */
+ }
+
rv = ap_global_mutex_create(&authn_cache_mutex, NULL,
authn_cache_id, NULL, s, pconf, 0);
if (rv != APR_SUCCESS) {