Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 685948
Collapse All | Expand All

(-)a/20018_all_mysql-5.7.25-fix-libressl-support.patch (-2 / +2 lines)
Lines 1-6 Link Here
1
https://bugs.gentoo.org/662826
1
https://bugs.gentoo.org/662826
2
https://bugs.gentoo.org/668832
2
https://bugs.gentoo.org/668832
3
https://bugs.gentoo.org/668894
3
https://bugs.gentoo.org/668894
4
https://bugs.gentoo.org/685948
4
5
5
--- a/sql/auth/sha2_password_common.cc
6
--- a/sql/auth/sha2_password_common.cc
6
+++ b/sql/auth/sha2_password_common.cc
7
+++ b/sql/auth/sha2_password_common.cc
Lines 22-28 https://bugs.gentoo.org/668894 Link Here
22
 #ifndef HAVE_YASSL
23
 #ifndef HAVE_YASSL
23
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
24
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
24
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
25
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
25
+    (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2090000fL)
26
+    defined(LIBRESSL_VERSION_NUMBER)
26
   CRYPTO_malloc_init();
27
   CRYPTO_malloc_init();
27
 #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */
28
 #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */
28
   OPENSSL_malloc_init();
29
   OPENSSL_malloc_init();
29
- 

Return to bug 685948