mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1453: Reflect of indicate.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user