mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Add option to turn off warning dialog for active but unused SSL settings. See https://www.heidisql.com/forum.php?t=40080
This commit is contained in:
@@ -162,7 +162,7 @@ type
|
||||
asUser, asPassword, asCleartextPluginEnabled, asWindowsAuth, asLoginPrompt, asPort, asLibrary, asAllProviders,
|
||||
asPlinkExecutable, asSshExecutable, asSSHtunnelHost, asSSHtunnelHostPort, asSSHtunnelPort, asSSHtunnelUser,
|
||||
asSSHtunnelPassword, asSSHtunnelTimeout, asSSHtunnelPrivateKey, asSSLActive, asSSLKey,
|
||||
asSSLCert, asSSLCA, asSSLCipher, asNetType, asCompressed, asLocalTimeZone, asQueryTimeout, asKeepAlive,
|
||||
asSSLCert, asSSLCA, asSSLCipher, asSSLWarnUnused, asNetType, asCompressed, asLocalTimeZone, asQueryTimeout, asKeepAlive,
|
||||
asStartupScriptFilename, asDatabases, asComment, asDatabaseFilter, asTableFilter, asExportSQLCreateDatabases,
|
||||
asExportSQLCreateTables, asExportSQLDataHow, asExportSQLDataInsertSize, asExportSQLFilenames, asExportZIPFilenames, asExportSQLDirectories,
|
||||
asExportSQLDatabase, asExportSQLServerDatabase, asExportSQLOutput, asExportSQLAddComments, asExportSQLRemoveAutoIncrement, asExportSQLRemoveDefiner,
|
||||
@@ -3620,6 +3620,7 @@ begin
|
||||
InitSetting(asSSLCert, 'SSL_Cert', 0, False, '', True);
|
||||
InitSetting(asSSLCA, 'SSL_CA', 0, False, '', True);
|
||||
InitSetting(asSSLCipher, 'SSL_Cipher', 0, False, '', True);
|
||||
InitSetting(asSSLWarnUnused, 'SSL_WarnUnused', 0, True);
|
||||
InitSetting(asNetType, 'NetType', Integer(ntMySQL_TCPIP), False, '', True);
|
||||
InitSetting(asCompressed, 'Compressed', 0, False, '', True);
|
||||
InitSetting(asLocalTimeZone, 'LocalTimeZone', 0, False, '', True);
|
||||
|
||||
@@ -4349,7 +4349,8 @@ begin
|
||||
MessageDialog(_('SSL not used.'),
|
||||
_('Your SSL settings were not accepted by the server, or the server does not support any SSL configuration.'),
|
||||
mtWarning,
|
||||
[mbOK]
|
||||
[mbOK],
|
||||
asSSLWarnUnused
|
||||
);
|
||||
end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user