mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
mtr check for openssl support for AES_CTR
This commit is contained in:
3
mysql-test/include/have_openssl_ctr.inc
Normal file
3
mysql-test/include/have_openssl_ctr.inc
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#
|
||||||
|
# See suite.pm for the actual check
|
||||||
|
#
|
1
mysql-test/include/have_openssl_ctr.opt
Normal file
1
mysql-test/include/have_openssl_ctr.opt
Normal file
@ -0,0 +1 @@
|
|||||||
|
--encryption-algorithm=aes_ctr
|
@ -66,6 +66,10 @@ 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'
|
||||||
|
unless $::mysqld_variables{'version-ssl-library'} =~ /OpenSSL (\S+)/
|
||||||
|
and $1 ge "1.0.1";
|
||||||
|
|
||||||
%skip;
|
%skip;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
--aria-encrypt-tables=ON
|
--aria-encrypt-tables=ON
|
||||||
--encryption-algorithm=aes_ctr
|
|
||||||
--encrypt-tmp-disk-tables=ON
|
--encrypt-tmp-disk-tables=ON
|
||||||
--innodb-encrypt-tables=ON
|
--innodb-encrypt-tables=ON
|
||||||
--innodb-encryption-rotate-key-age=15
|
--innodb-encryption-rotate-key-age=15
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
-- 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,6 +3,7 @@
|
|||||||
#
|
#
|
||||||
-- 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
|
||||||
|
Reference in New Issue
Block a user