summaryrefslogtreecommitdiff
path: root/mysql-test/t/openssl_1.test
diff options
context:
space:
mode:
authormsvensson@pilot.blaudden <>2007-03-29 11:48:05 +0200
committermsvensson@pilot.blaudden <>2007-03-29 11:48:05 +0200
commitcb806be68d15c6ea188057a0ee029fc48c21c6fe (patch)
tree58c785cfb0b77b3d873aede49cf158b9aa4bfd89 /mysql-test/t/openssl_1.test
parent37ffc0c391948ea58fd1385d91d706d7b4804103 (diff)
parentf47c4368dedc320ffaea7736e4908f7a96281da2 (diff)
downloadmariadb-git-cb806be68d15c6ea188057a0ee029fc48c21c6fe.tar.gz
Merge pilot.blaudden:/home/msvensson/mysql/bug25309/my51-bug25309
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
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