Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
}
g_maxCacheEntries = ::arg().asNum("max-cache-entries");
- cerr << "CALL LUACONFIG" << endl;
auto luaResult = luaconfig(false);
if (luaResult.d_ret != 0) {
log->error(Logr::Error, luaResult.d_str, "Cannot load Lua or equivalent YAML configuration");
#ifdef DNSDIST
return dnsdist::configuration::getCurrentRuntimeConfiguration().d_verbose;
#elif defined(RECURSOR)
- return true;
+ return false;
#else
return true;
#endif
X509_free(cert);
}
}
- const auto* errorMsg = X509_verify_cert_error_string(errorCode);
if (!certPresented) {
return {-1, "No certificate presented by peer"};
}
+ const auto* errorMsg = X509_verify_cert_error_string(errorCode);
return {errorCode, errorMsg != nullptr ? errorMsg : "No details available"};
}
return {0, ""};