@@ -, +, @@ --- 20018_all_mysql-5.7.25-fix-libressl-support.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/20018_all_mysql-5.7.25-fix-libressl-support.patch +++ a/20018_all_mysql-5.7.25-fix-libressl-support.patch @@ -1,6 +1,7 @@ https://bugs.gentoo.org/662826 https://bugs.gentoo.org/668832 https://bugs.gentoo.org/668894 +https://bugs.gentoo.org/685948 --- a/sql/auth/sha2_password_common.cc +++ b/sql/auth/sha2_password_common.cc @@ -22,7 +23,7 @@ https://bugs.gentoo.org/668894 #ifndef HAVE_YASSL -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2090000fL) ++ defined(LIBRESSL_VERSION_NUMBER) CRYPTO_malloc_init(); #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */ OPENSSL_malloc_init(); --