summaryrefslogtreecommitdiff
path: root/mysql-test/main/MDEV-26015.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/MDEV-26015.test')
-rw-r--r--mysql-test/main/MDEV-26015.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/main/MDEV-26015.test b/mysql-test/main/MDEV-26015.test
new file mode 100644
index 00000000000..ed2f9b38345
--- /dev/null
+++ b/mysql-test/main/MDEV-26015.test
@@ -0,0 +1,11 @@
+# Tests for SSL connections, only run if mysqld is compiled
+# with support for SSL.
+
+-- source include/have_ssl_communication.inc
+
+#
+# MDEV-26015 - using DHE cipher will fail if DH public key size doesn't match
+# RSA key size of server certificate
+#
+--exec $MYSQL -uroot --ssl-cipher=DHE-RSA-AES128-SHA256 --tls_version=TLSv1.2 -e"show status like 'ssl_cipher'" 2>&1
+