summaryrefslogtreecommitdiff
path: root/mysql-test/t/openssl_1.test
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-03-29 11:40:38 +0200
committerunknown <msvensson@pilot.blaudden>2007-03-29 11:40:38 +0200
commit27f8d8304053820da0bdb3f71fed2e937286231b (patch)
treed6f8cd1ccf3d5718649409197921be95c3c5b186 /mysql-test/t/openssl_1.test
parent8b873c3f640722026eca5d35c847ac6a7959daba (diff)
parent40df5f68b53b67514cf45c4b7d241b8f31d5f368 (diff)
downloadmariadb-git-27f8d8304053820da0bdb3f71fed2e937286231b.tar.gz
Merge pilot.blaudden:/home/msvensson/mysql/bug25309/my50-bug25309
into pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint mysql-test/t/openssl_1.test: Auto merged
Diffstat (limited to 'mysql-test/t/openssl_1.test')
-rw-r--r--mysql-test/t/openssl_1.test9
1 files changed, 8 insertions, 1 deletions
diff --git a/mysql-test/t/openssl_1.test b/mysql-test/t/openssl_1.test
index 8772b8157e3..362443023e1 100644
--- a/mysql-test/t/openssl_1.test
+++ b/mysql-test/t/openssl_1.test
@@ -96,4 +96,11 @@ drop table t1;
--error 1
--exec $MYSQL_TEST --ssl-cert= --max-connect-retries=1 < $MYSQLTEST_VARDIR/tmp/test.sql 2>&1
-
+#
+# Bug#25309 SSL connections without CA certificate broken since MySQL 5.0.23
+#
+# Test that we can open encrypted connection to server without
+# verification of servers certificate by setting both ca certificate
+# and ca path to NULL
+#
+--exec $MYSQL --ssl --ssl-key=$MYSQL_TEST_DIR/std_data/client-key.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/client-cert.pem -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1