mirror of
https://github.com/MariaDB/server.git
synced 2025-08-11 09:43:05 +03:00
Introduce only one combinations file and and rule for aes_ctr to
suite.pm so that it is not used if not available.
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
[aes_cbc]
|
[cbc]
|
||||||
encryption-algorithm=aes_cbc
|
encryption-algorithm=aes_cbc
|
||||||
|
|
||||||
[aes_ecb]
|
[ecb]
|
||||||
encryption-algorithm=aes_ecb
|
encryption-algorithm=aes_ecb
|
||||||
|
|
||||||
[aes_ctr]
|
[ctr]
|
||||||
encryption-algorithm=aes_ctr
|
encryption-algorithm=aes_ctr
|
||||||
|
|
@@ -1,3 +1,5 @@
|
|||||||
|
-- source encryption_algorithms.inc
|
||||||
|
|
||||||
if (`select count(*) = 0 from information_schema.plugins
|
if (`select count(*) = 0 from information_schema.plugins
|
||||||
where plugin_name = 'example_key_management_plugin' and plugin_status='active'`)
|
where plugin_name = 'example_key_management_plugin' and plugin_status='active'`)
|
||||||
{
|
{
|
||||||
|
@@ -1,6 +0,0 @@
|
|||||||
[aes_cbc]
|
|
||||||
encryption-algorithm=aes_cbc
|
|
||||||
|
|
||||||
[aes_ecb]
|
|
||||||
encryption-algorithm=aes_ecb
|
|
||||||
|
|
@@ -1,3 +1,5 @@
|
|||||||
|
-- source encryption_algorithms.inc
|
||||||
|
|
||||||
if (`select count(*) = 0 from information_schema.plugins
|
if (`select count(*) = 0 from information_schema.plugins
|
||||||
where plugin_name = 'file_key_management_plugin' and plugin_status='active'`)
|
where plugin_name = 'file_key_management_plugin' and plugin_status='active'`)
|
||||||
{
|
{
|
||||||
|
@@ -66,7 +66,7 @@ sub skip_combinations {
|
|||||||
unless $::mysqld_variables{'version-ssl-library'} =~ /OpenSSL (\S+)/
|
unless $::mysqld_variables{'version-ssl-library'} =~ /OpenSSL (\S+)/
|
||||||
and $1 ge "1.0.1";
|
and $1 ge "1.0.1";
|
||||||
|
|
||||||
$skip{'include/have_openssl_ctr.inc'} = 'no or too old openssl'
|
$skip{'include/encryption_algorithms.combinations'} = [ 'ctr' ]
|
||||||
unless $::mysqld_variables{'version-ssl-library'} =~ /OpenSSL (\S+)/
|
unless $::mysqld_variables{'version-ssl-library'} =~ /OpenSSL (\S+)/
|
||||||
and $1 ge "1.0.1";
|
and $1 ge "1.0.1";
|
||||||
|
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
-- source include/have_innodb.inc
|
-- source include/have_innodb.inc
|
||||||
-- source include/have_openssl_ctr.inc
|
|
||||||
-- source include/have_example_key_management_plugin.inc
|
-- source include/have_example_key_management_plugin.inc
|
||||||
|
|
||||||
# embedded does not support restart
|
# embedded does not support restart
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
#
|
#
|
||||||
-- source include/have_innodb.inc
|
-- source include/have_innodb.inc
|
||||||
-- source include/have_example_key_management_plugin.inc
|
-- source include/have_example_key_management_plugin.inc
|
||||||
-- source include/have_openssl_ctr.inc
|
|
||||||
|
|
||||||
# embedded does not support restart
|
# embedded does not support restart
|
||||||
-- source include/not_embedded.inc
|
-- source include/not_embedded.inc
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
-- source include/have_innodb.inc
|
-- source include/have_innodb.inc
|
||||||
-- source include/have_example_key_management_plugin.inc
|
-- source include/have_example_key_management_plugin.inc
|
||||||
-- source include/have_openssl_ctr.inc
|
|
||||||
--source include/not_embedded.inc
|
--source include/not_embedded.inc
|
||||||
|
|
||||||
--disable_query_log
|
--disable_query_log
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
-- source include/have_innodb.inc
|
-- source include/have_innodb.inc
|
||||||
-- source include/not_embedded.inc
|
-- source include/not_embedded.inc
|
||||||
-- source include/have_example_key_management_plugin.inc
|
-- source include/have_example_key_management_plugin.inc
|
||||||
-- source include/have_openssl_ctr.inc
|
|
||||||
|
|
||||||
let $MYSQLD_DATADIR=`select @@datadir`;
|
let $MYSQLD_DATADIR=`select @@datadir`;
|
||||||
let ib1_IBD = $MYSQLD_DATADIR/ibdata1;
|
let ib1_IBD = $MYSQLD_DATADIR/ibdata1;
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
-- source include/have_innodb.inc
|
-- source include/have_innodb.inc
|
||||||
-- source include/not_embedded.inc
|
-- source include/not_embedded.inc
|
||||||
-- source include/have_example_key_management_plugin.inc
|
-- source include/have_example_key_management_plugin.inc
|
||||||
-- source include/have_openssl_ctr.inc
|
|
||||||
|
|
||||||
let $MYSQLD_DATADIR=`select @@datadir`;
|
let $MYSQLD_DATADIR=`select @@datadir`;
|
||||||
let ib1_IBD = $MYSQLD_DATADIR/ibdata1;
|
let ib1_IBD = $MYSQLD_DATADIR/ibdata1;
|
||||||
|
Reference in New Issue
Block a user