diff options
Diffstat (limited to '20018_all_mysql-5.6.44-fix-libressl-support.patch')
-rw-r--r-- | 20018_all_mysql-5.6.44-fix-libressl-support.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/20018_all_mysql-5.6.44-fix-libressl-support.patch b/20018_all_mysql-5.6.44-fix-libressl-support.patch index b180677..939459d 100644 --- a/20018_all_mysql-5.6.44-fix-libressl-support.patch +++ b/20018_all_mysql-5.6.44-fix-libressl-support.patch @@ -1,6 +1,6 @@ --- a/sql/mysqld.cc +++ b/sql/mysqld.cc -@@ -4358,7 +4358,10 @@ static int init_ssl() +@@ -4358,7 +4358,11 @@ static int init_ssl() { #ifdef HAVE_OPENSSL #ifndef HAVE_YASSL @@ -8,10 +8,11 @@ CRYPTO_malloc_init(); +#else /* OPENSSL_VERSION_NUMBER < 0x10100000L */ + OPENSSL_malloc_init(); ++#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ #endif ssl_start(); #ifndef EMBEDDED_LIBRARY -@@ -4372,7 +4375,9 @@ static int init_ssl() +@@ -4372,7 +4376,9 @@ static int init_ssl() opt_ssl_cipher, &error, opt_ssl_crl, opt_ssl_crlpath); DBUG_PRINT("info",("ssl_acceptor_fd: 0x%lx", (long) ssl_acceptor_fd)); |