mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 17:06:32 -04:00
* When using skip-innodb_doublewrite in my.cnf, a parallel doublewrite buffer is still created. Bugs fixed #3411. * During a binlogging replication event, if the master crashes after the multi-threaded slave has begun copying to the slave’s relay log and before the process has completed, a STOP SLAVE on the slave takes longer than expected. Bug fixed #5824. * If pam_krb5 is configured to allow the user to change their password, and the password expired, the server crashed after receiving the new password. Bug fixed #6023. - Provide LibreSSL support [2] - Take maintainership. feld@ didn't pet the ports for almost two years, all updates was committed with maintainer timeout PR: 242649 Submitted by: Igor Zabelin [1]. fluffy@ [2] Approved by: maintainer (feld@, timeout >2 weeks)
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
--- sql/mysqld.cc.orig 2016-11-27 19:44:54 UTC
|
|
+++ sql/mysqld.cc
|
|
@@ -1517,6 +1517,16 @@ static void clean_up_mutexes()
|
|
****************************************************************************/
|
|
|
|
/* Initialise proxy protocol. */
|
|
+
|
|
+/* At least OpenBSD and NexentaCore do not
|
|
+* define s6_addr32 for user land settings.
|
|
+*/
|
|
+#if !defined s6_addr32 && defined __sun__
|
|
+# define s6_addr32 _S6_un._S6_u32
|
|
+#elif !defined s6_addr32 && ( defined __OpenBSD__ || defined __FreeBSD__ )
|
|
+# define s6_addr32 __u6_addr.__u6_addr32
|
|
+#endif /* !defined s6_addr32 */
|
|
+
|
|
static void set_proxy()
|
|
{
|
|
const char *p;
|
|
@@ -3678,6 +3688,7 @@ static int init_ssl()
|
|
{
|
|
#ifdef HAVE_OPENSSL
|
|
+#ifndef LIBRESSL_VERSION_NUMBER
|
|
int fips_mode= FIPS_mode();
|
|
if (fips_mode != 0)
|
|
{
|
|
/* FIPS is enabled, Log warning and Disable it now */
|
|
@@ -3687,7 +3698,9 @@ static int init_ssl()
|
|
" Disabling FIPS.");
|
|
FIPS_mode_set(0);
|
|
}
|
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
+#endif
|
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
|
|
+ defined(LIBRESSL_VERSION_NUMBER)
|
|
CRYPTO_malloc_init();
|
|
#else /* OPENSSL_VERSION_NUMBER < 0x10100000L */
|
|
OPENSSL_malloc_init();
|