Commit e7b1d735 authored by Jan Lindström's avatar Jan Lindström

Introduce only one combinations file and and rule for aes_ctr to

suite.pm so that it is not used if not available.
parent 7c21ea9f
[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
-- 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'`)
{ {
......
[aes_cbc]
encryption-algorithm=aes_cbc
[aes_ecb]
encryption-algorithm=aes_ecb
-- 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 { ...@@ -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";
......
-- 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 @@ ...@@ -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
......
-- 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
......
-- 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;
......
-- 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment