summaryrefslogtreecommitdiff
path: root/mysql-test/main/ssl_8k_key.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/ssl_8k_key.test')
-rw-r--r--mysql-test/main/ssl_8k_key.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/main/ssl_8k_key.test b/mysql-test/main/ssl_8k_key.test
new file mode 100644
index 00000000000..edfead46658
--- /dev/null
+++ b/mysql-test/main/ssl_8k_key.test
@@ -0,0 +1,11 @@
+# schannel does not support keys longer than 4k
+-- source include/not_windows.inc
+
+-- source include/have_ssl_communication.inc
+#
+# Bug#29784 YaSSL assertion failure when reading 8k key.
+#
+--exec $MYSQL --connect-timeout=180 --ssl --ssl-key=$MYSQL_TEST_DIR/std_data/client-key.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/client-cert.pem -e "SELECT (VARIABLE_VALUE <> '') as have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher'" 2>&1
+
+## This test file is for testing encrypted communication only, not other
+## encryption routines that the SSL library happens to provide!