]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix error message for invalid TLS version
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 24 Dec 2024 14:20:19 +0000 (15:20 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 16 Jan 2025 08:50:26 +0000 (09:50 +0100)
pdns/libssl.cc

index 8672ffc97b6b4643acb71d26452f67cb319fb216..4bb47d0ec2cade06174f1cb249725336abb19ee8 100644 (file)
@@ -551,7 +551,7 @@ LibsslTLSVersion libssl_tls_version_from_string(const std::string& str)
   if (str == "tls1.3") {
     return LibsslTLSVersion::TLS13;
   }
-  throw std::runtime_error("Unknown TLS version '" + str);
+  throw std::runtime_error("Unknown TLS version '" + str + "'");
 }
 
 const std::string& libssl_tls_version_to_string(LibsslTLSVersion version)