mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
don't run tls_version test if TLSv1.1 is disabled
in /etc/ssl/openssl.cnf as it happens to be on the buster builder
This commit is contained in:
parent
4bfb19d407
commit
e79b9005f1
1 changed files with 8 additions and 0 deletions
|
|
@ -74,6 +74,14 @@ sub skip_combinations {
|
|||
$skip{'main/ssl_verify_ip.test'} = 'x509v3 support required'
|
||||
unless $openssl_ver ge "1.0.2";
|
||||
|
||||
my $openssl_cnf='/etc/ssl/openssl.cnf';
|
||||
if ($openssl_ver and open my $f, '<', $openssl_cnf) {
|
||||
local $/;
|
||||
$_=<$f>;
|
||||
$skip{'main/tls_version.test'} = "TLSv1.1 disabled in $openssl_cnf"
|
||||
if /^\s*MinProtocol\s*=\s*TLSv1.[2-9]/m;
|
||||
}
|
||||
|
||||
%skip;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue