From d722c3a759a0e12a2e30076548b5c003e4952c34 Mon Sep 17 00:00:00 2001 From: Tadashi Kanda Date: Thu, 28 Oct 2021 23:53:13 +0900 Subject: [PATCH] GUACAMOLE-1453: Reflect of indicate. --- .../auth/mysql/MySQLAuthenticationProviderModule.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java index 9fdae08fd..3cdac4ded 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java @@ -87,11 +87,10 @@ public class MySQLAuthenticationProviderModule implements Module { driverProperties.setProperty("sslMode", sslMode.getDriverValue()); // For compatibility, set legacy useSSL property when SSL is disabled. - if (sslMode == MySQLSSLMode.DISABLED) { + if (sslMode == MySQLSSLMode.DISABLED) driverProperties.setProperty("useSSL", "false"); - } else { + else driverProperties.setProperty("useSSL", "true"); - } // Check other SSL settings and set as required File trustStore = environment.getMySQLSSLTrustStore();