]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3638] Added a comment explaining the code change
authorFrancis Dupont <fdupont@isc.org>
Fri, 13 Jun 2025 15:25:54 +0000 (17:25 +0200)
committerFrancis Dupont <fdupont@isc.org>
Mon, 16 Jun 2025 13:45:04 +0000 (15:45 +0200)
src/lib/mysql/testutils/mysql_schema.cc

index 9ecd4e70ccbf5e8ca606a813c789a7717b4ed6d2..bcf1af2bcdc2b239c2d1ebfc28ca38e2c6e8117a 100644 (file)
@@ -203,6 +203,10 @@ string getMySQLTlsServer() {
             value = "UNCONFIGURED";
         }
     } else if (value.empty()) {
+        // MySQL 9.x does not support the 'have_ssl' global variable
+        // so trying the 'ssl_ciper' status which returns the cipher name
+        // or the empty value. It is also on the long term a good
+        // candidate for remplacing the 'have_ssl' check...
         value = getMySQLTlsStatusVariable("ssl_cipher");
         if (value.empty() || !isMySQLTlsConfigured()) {
             value = "UNCONFIGURED";