1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-18131 MariaDB does not verify IP addresses from subject alternative

names

Added a call to X509_check_ip_asc() in case server_hostname represents
an IP address.
This commit is contained in:
Vladislav Vaintroub
2019-04-24 11:15:08 +02:00
parent eb9b03ab48
commit e116f11f0a
17 changed files with 488 additions and 471 deletions

View File

@ -72,10 +72,15 @@ sub skip_combinations {
unless $::mysqld_variables{'version-ssl-library'} =~ /OpenSSL (\S+)/
and $1 ge "1.0.1d";
$skip{'t/ssl_7937.combinations'} = [ 'x509v3' ]
unless $::mysqld_variables{'version-ssl-library'} =~ /OpenSSL (\S+)/
and $1 ge "1.0.2";
$skip{'t/ssl_verify_ip.test'} = 'x509v3 support required'
unless $::mysqld_variables{'version-ssl-library'} =~ /OpenSSL (\S+)/
and $1 ge "1.0.2";
%skip;
}