MCPcopy Create free account
hub / github.com/Icinga/icinga2 / ValidateTlsProtocolmin

Method ValidateTlsProtocolmin

lib/icingadb/icingadb.cpp:211–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211void IcingaDB::ValidateTlsProtocolmin(const Lazy<String>& lvalue, const ValidationUtils& utils)
212{
213 ObjectImpl<IcingaDB>::ValidateTlsProtocolmin(lvalue, utils);
214
215 try {
216 ResolveTlsProtocolVersion(lvalue());
217 } catch (const std::exception& ex) {
218 BOOST_THROW_EXCEPTION(ValidationError(this, { "tls_protocolmin" }, ex.what()));
219 }
220}
221
222void IcingaDB::ValidateConnectTimeout(const Lazy<double>& lvalue, const ValidationUtils& utils)
223{

Callers

nothing calls this directly

Calls 3

ValidationErrorClass · 0.85
whatMethod · 0.45

Tested by

no test coverage detected