mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Add "have_ssl" as synonym for "have_openssl"
This commit is contained in:
@ -1,4 +0,0 @@
|
||||
-- require r/have_openssl.require
|
||||
disable_query_log;
|
||||
show variables like "have_openssl";
|
||||
enable_query_log;
|
4
mysql-test/include/have_ssl.inc
Normal file
4
mysql-test/include/have_ssl.inc
Normal file
@ -0,0 +1,4 @@
|
||||
-- require r/have_ssl.require
|
||||
disable_query_log;
|
||||
show variables like "have_ssl";
|
||||
enable_query_log;
|
@ -1,2 +1,2 @@
|
||||
Variable_name Value
|
||||
have_openssl YES
|
||||
have_ssl YES
|
@ -1,4 +1,4 @@
|
||||
-- source include/have_openssl.inc
|
||||
-- source include/have_ssl.inc
|
||||
|
||||
# This test can't be in func_encrypt.test, because it requires
|
||||
# --des-key-file to not be set.
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- source include/have_openssl.inc
|
||||
-- source include/have_ssl.inc
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
|
@ -1,6 +1,7 @@
|
||||
# We test openssl. Result set is optimized to be compiled with --with-openssl.
|
||||
# Use mysql-test-run with --with-openssl option.
|
||||
-- source include/have_openssl.inc
|
||||
# Tests for SSL connections, only run if mysqld is compiled
|
||||
# with support for SSL.
|
||||
|
||||
-- source include/have_ssl.inc
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
|
@ -1,4 +1,4 @@
|
||||
source include/have_openssl.inc;
|
||||
source include/have_ssl.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
# We don't test all types of ssl auth params here since it's a bit hard
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Turn on ssl between the client and server
|
||||
# and run a number of tests
|
||||
|
||||
-- source include/have_openssl.inc
|
||||
-- source include/have_ssl.inc
|
||||
|
||||
connect (ssl_con,localhost,root,,,,,SSL);
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Turn on compression between the client and server
|
||||
# and run a number of tests
|
||||
|
||||
-- source include/have_openssl.inc
|
||||
-- source include/have_ssl.inc
|
||||
-- source include/have_compress.inc
|
||||
|
||||
connect (ssl_compress_con,localhost,root,,,,,SSL COMPRESS);
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
-- source include/have_openssl.inc
|
||||
-- source include/have_ssl.inc
|
||||
|
||||
# Repeat connect/disconnect
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# then turn on ssl between the client and server
|
||||
# and run a number of standard tests
|
||||
|
||||
-- source include/have_openssl.inc
|
||||
-- source include/have_ssl.inc
|
||||
|
||||
# Connect by ip to avoid turning on "ssl-verify-server-cert"
|
||||
connect (ssl_con,127.0.0.1,root,,,,$MASTER_MYPORT,SSL);
|
||||
|
Reference in New Issue
Block a user