summaryrefslogtreecommitdiff
path: root/mariadb-ssl-cipher-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mariadb-ssl-cipher-tests.patch')
-rw-r--r--mariadb-ssl-cipher-tests.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/mariadb-ssl-cipher-tests.patch b/mariadb-ssl-cipher-tests.patch
new file mode 100644
index 0000000..b860cec
--- /dev/null
+++ b/mariadb-ssl-cipher-tests.patch
@@ -0,0 +1,13 @@
+diff -up mariadb-10.5.22/mysql-test/main/ssl_cipher.test.fixtest mariadb-10.3.9/mysql-test/main/ssl_cipher.test
+--- mariadb-10.5.22/mysql-test/main/ssl_cipher.test 2019-02-20 08:59:09.000000000 +0100
++++ mariadb-10.5.22/mysql-test/main/ssl_cipher.test_patched 2019-02-22 11:22:01.250256060 +0100
+@@ -97,7 +97,9 @@ drop user mysqltest_1@localhost;
+ let $restart_parameters=--ssl-cipher=AES128-SHA;
+ source include/restart_mysqld.inc;
+ connect (ssl_con,localhost,root,,,,,SSL);
++--replace_regex /TLS_AES_.*/AES128-SHA/
+ SHOW STATUS LIKE 'Ssl_cipher';
++--replace_regex /TLS_AES_.*/AES128-SHA/
+ SELECT VARIABLE_VALUE like '%AES128-SHA%' FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher_list';
+ disconnect ssl_con;
+ connection default;