Skip to content
Permalink
Browse files

Fix wrong writing of TLS protocol version. See https://www.heidisql.c…

  • Loading branch information...
ansgarbecker committed May 30, 2019
1 parent f26f2f7 commit 3d76db0f07d587a4128d6d929f0179f7f2aa346e
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/dbconnection.pas
@@ -1798,7 +1798,7 @@ procedure TMySQLConnection.SetActive( Value: Boolean );
// Define which TLS protocol versions are allowed.
// See https://www.heidisql.com/forum.php?t=27158
// See https://mariadb.com/kb/en/library/mysql_optionsv/
mysql_options(FHandle, Integer(MARIADB_OPT_TLS_VERSION), PAnsiChar('TLSv1.0,TLSv1.1,TLSv1.2,TLSv1.3'));
mysql_options(FHandle, Integer(MARIADB_OPT_TLS_VERSION), PAnsiChar('TLSv1,TLSv1.1,TLSv1.2,TLSv1.3'));

Connected := mysql_real_connect(
FHandle,

0 comments on commit 3d76db0

Please sign in to comment.
You can’t perform that action at this time.