diff --git a/src/hooks/dhcp/pgsql/pgsql_cb_impl.cc b/src/hooks/dhcp/pgsql/pgsql_cb_impl.cc index 4d91d9de4d..40f6aa2705 100644 --- a/src/hooks/dhcp/pgsql/pgsql_cb_impl.cc +++ b/src/hooks/dhcp/pgsql/pgsql_cb_impl.cc @@ -82,13 +82,6 @@ PgSqlConfigBackendImpl::PgSqlConfigBackendImpl(const std::string& space, audit_revision_ref_count_(0), parameters_(parameters), last_insert_id_index_(last_insert_id_index) { - // Check TLS support. - size_t tls(0); - tls += parameters.count("trust-anchor"); - tls += parameters.count("cert-file"); - tls += parameters.count("key-file"); - tls += parameters.count("cipher-list"); - // Create unique timer name per instance. timer_name_ = "PgSqlConfigBackend"; timer_name_ += space; diff --git a/src/hooks/dhcp/pgsql/pgsql_host_data_source.cc b/src/hooks/dhcp/pgsql/pgsql_host_data_source.cc index 6995bc70c1..37cca250d0 100644 --- a/src/hooks/dhcp/pgsql/pgsql_host_data_source.cc +++ b/src/hooks/dhcp/pgsql/pgsql_host_data_source.cc @@ -2316,13 +2316,6 @@ PgSqlHostDataSource::PgSqlHostContextAlloc::~PgSqlHostContextAlloc() { PgSqlHostDataSourceImpl::PgSqlHostDataSourceImpl(const DatabaseConnection::ParameterMap& parameters) : parameters_(parameters), ip_reservations_unique_(true), unusable_(false) { - // Check TLS support. - size_t tls(0); - tls += parameters.count("trust-anchor"); - tls += parameters.count("cert-file"); - tls += parameters.count("key-file"); - tls += parameters.count("cipher-list"); - // Create unique timer name per instance. timer_name_ = "PgSqlHostMgr["; timer_name_ += boost::lexical_cast(reinterpret_cast(this)); diff --git a/src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc b/src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc index 9d0884eafe..33eb67ae1e 100644 --- a/src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc +++ b/src/hooks/dhcp/pgsql/pgsql_lease_mgr.cc @@ -1619,13 +1619,6 @@ PgSqlLeaseMgr::PgSqlLeaseMgr(const DatabaseConnection::ParameterMap& parameters) // Check if the extended info tables are enabled. setExtendedInfoTablesEnabled(parameters); - // Check TLS support. - size_t tls(0); - tls += parameters.count("trust-anchor"); - tls += parameters.count("cert-file"); - tls += parameters.count("key-file"); - tls += parameters.count("cipher-list"); - // Create unique timer name per instance. timer_name_ = "PgSqlLeaseMgr["; timer_name_ += boost::lexical_cast(reinterpret_cast(this)); diff --git a/src/hooks/dhcp/pgsql/pgsql_legal_log.cc b/src/hooks/dhcp/pgsql/pgsql_legal_log.cc index a1599a1992..5b4aef5cdf 100644 --- a/src/hooks/dhcp/pgsql/pgsql_legal_log.cc +++ b/src/hooks/dhcp/pgsql/pgsql_legal_log.cc @@ -180,14 +180,6 @@ PgSqlStore::PgSqlStore(const DatabaseConnection::ParameterMap& parameters) void PgSqlStore::open() { LegalLogDbLogger pushed(pgsql_legal_log_db_logger); - // Check TLS support. - size_t tls(0); - auto const& parameters = LegalLogMgr::getParameters(); - tls += parameters.count("trust-anchor"); - tls += parameters.count("cert-file"); - tls += parameters.count("key-file"); - tls += parameters.count("cipher-list"); - // Test schema version first. pair code_version(PGSQL_SCHEMA_VERSION_MAJOR, PGSQL_SCHEMA_VERSION_MINOR);