From: Remi Gacogne Date: Mon, 30 Jun 2025 13:58:07 +0000 (+0200) Subject: dnsdist: Lowercase the TLS provider name for YAML-originated backends X-Git-Tag: rec-5.3.0-alpha2~21^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15754%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Lowercase the TLS provider name for YAML-originated backends Signed-off-by: Remi Gacogne --- diff --git a/pdns/dnsdistdist/dnsdist-configuration-yaml.cc b/pdns/dnsdistdist/dnsdist-configuration-yaml.cc index 3b219a90fa..0f1ebd5a85 100644 --- a/pdns/dnsdistdist/dnsdist-configuration-yaml.cc +++ b/pdns/dnsdistdist/dnsdist-configuration-yaml.cc @@ -449,6 +449,7 @@ static std::shared_ptr createBackendFromConfiguration(const dns auto protocol = boost::to_lower_copy(std::string(config.protocol)); if (protocol == "dot" || protocol == "doh") { backendConfig.d_tlsParams.d_provider = std::string(tlsConf.provider); + boost::algorithm::to_lower(backendConfig.d_tlsParams.d_provider); backendConfig.d_tlsParams.d_ciphers = std::string(tlsConf.ciphers); backendConfig.d_tlsParams.d_ciphers13 = std::string(tlsConf.ciphers_tls_13); backendConfig.d_tlsParams.d_caStore = std::string(tlsConf.ca_store);