Skip to content
Browse files

Set MARIADB_OPT_TLS_VERSION to define which TLS protocol versions are…

  • Loading branch information...
ansgarbecker committed May 22, 2019
1 parent 5613d66 commit 51da7c8efc890ebdb394dfa53f911b64223a53e8
Showing with 5 additions and 0 deletions.
  1. +5 −0 source/dbconnection.pas
@@ -1795,6 +1795,11 @@ procedure TMySQLConnection.SetActive( Value: Boolean );
raise EDatabaseError.Create(f_('Plugin directory %s could not be set.', [PluginDir]));

// Define which TLS protocol versions are allowed.
// See
// See
mysql_options(FHandle, Integer(MARIADB_OPT_TLS_VERSION), PAnsiChar('TLSv1.0,TLSv1.1,TLSv1.2,TLSv1.3'));

Connected := mysql_real_connect(

0 comments on commit 51da7c8

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