1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/databases/mariadb101-client
Michael Gmelin bee1386bfa Fix databases/mariadb* hostname verification when building against LibreSSL
LibreSSL imported X509_check_host from BoringSSL. Unlike OpenSSL,
it doesn't calculate the length of the hostname passed in case
chklen/namelen == 0. This means that the check in MariaDB always
fails if built against LibreSSL. This forces adminstrators to disable
hostname verification, which weakens security (hence the MFH request below).

Note that the fix has no negative implications if built against OpenSSL,
as its implementation calls strlen(hostname) in case namelen == 0.

See also https://github.com/MariaDB/server/pull/562

Approved by:	ssl blanket
MFH:		2018Q1
2018-01-24 01:03:03 +00:00
..
files Fix databases/mariadb* hostname verification when building against LibreSSL 2018-01-24 01:03:03 +00:00
Makefile databases/madiadb101-server: Update to 10.1.22 2017-03-18 11:05:32 +00:00
pkg-plist databases/mariadb101-server: Update to 10.1.23 2017-05-04 06:46:26 +00:00