GUACAMOLE-1453: Reflect of indicate.(minor change)

This commit is contained in:
Tadashi Kanda
2021-10-29 00:39:17 +09:00
parent d722c3a759
commit 23b9d91d6f

View File

@@ -89,6 +89,7 @@ public class MySQLAuthenticationProviderModule implements Module {
// For compatibility, set legacy useSSL property when SSL is disabled. // For compatibility, set legacy useSSL property when SSL is disabled.
if (sslMode == MySQLSSLMode.DISABLED) if (sslMode == MySQLSSLMode.DISABLED)
driverProperties.setProperty("useSSL", "false"); driverProperties.setProperty("useSSL", "false");
// For compatibility, set legacy useSSL property when SSL is eisabled.(Required for mariadb connector/j)
else else
driverProperties.setProperty("useSSL", "true"); driverProperties.setProperty("useSSL", "true");