Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 577544 Details for
Bug 669216
dev-db/percona-server-5.7.23.23-r1 : /.../my_crypt.cc:173:19: error: EVP_CIPHER_CTX_buf_noconst was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Update-LibreSSL-patch-for-percona-server.patch
Update-LibreSSL-patch-for-percona-server.patch (text/plain), 2.13 KB, created by
Stefan Strogin
on 2019-05-22 03:58:56 UTC
(
hide
)
Description:
Update-LibreSSL-patch-for-percona-server.patch
Filename:
MIME Type:
Creator:
Stefan Strogin
Created:
2019-05-22 03:58:56 UTC
Size:
2.13 KB
patch
obsolete
>From a5afe40bdc25dc89c39fc655991e20793dbc4f93 Mon Sep 17 00:00:00 2001 >From: Stefan Strogin <steils@gentoo.org> >Date: Wed, 22 May 2019 06:55:50 +0300 >Subject: [PATCH] Update LibreSSL patch for percona-server > >Closes: https://bugs.gentoo.org/669216 >Signed-off-by: Stefan Strogin <steils@gentoo.org> >--- > ...a-server-5.7.25-fix-libressl-support.patch | 23 +++++++++++++++++-- > 1 file changed, 21 insertions(+), 2 deletions(-) > >diff --git a/20018_all_percona-server-5.7.25-fix-libressl-support.patch b/20018_all_percona-server-5.7.25-fix-libressl-support.patch >index 8ff17b9..c147bf0 100644 >--- a/20018_all_percona-server-5.7.25-fix-libressl-support.patch >+++ b/20018_all_percona-server-5.7.25-fix-libressl-support.patch >@@ -2,9 +2,19 @@ https://bugs.gentoo.org/662826 > https://bugs.gentoo.org/668832 > https://bugs.gentoo.org/668818 > https://bugs.gentoo.org/668894 >+https://bugs.gentoo.org/669216 > > --- a/mysys_ssl/my_crypt.cc > +++ b/mysys_ssl/my_crypt.cc >+@@ -30,7 +30,7 @@ >+ #include <boost/move/unique_ptr.hpp> >+ #include <boost/core/noncopyable.hpp> >+ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000L >++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) >+ #define EVP_CIPHER_CTX_buf_noconst(ctx) ((ctx)->buf) >+ #define RAND_OpenSSL() RAND_SSLeay() >+ #endif > @@ -95,7 +95,8 @@ MyEncryptionCTX::MyEncryptionCTX() > MyEncryptionCTX::~MyEncryptionCTX() > { >@@ -29,13 +39,22 @@ https://bugs.gentoo.org/668894 > EVP_MD_CTX_reset(md_context); > --- a/sql/mysqld.cc > +++ b/sql/mysqld.cc >-@@ -3679,7 +3679,8 @@ static int init_ssl() >+@@ -3678,6 +3678,7 @@ static int init_ssl() >+ { >+ #ifdef HAVE_OPENSSL >+ #ifndef HAVE_YASSL >++#ifndef LIBRESSL_VERSION_NUMBER >+ int fips_mode= FIPS_mode(); >+ if (fips_mode != 0) >+ { >+@@ -3687,7 +3688,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) && LIBRESSL_VERSION_NUMBER < 0x02090000fL) >++ defined(LIBRESSL_VERSION_NUMBER) > CRYPTO_malloc_init(); > #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */ > OPENSSL_malloc_init(); >-- >2.21.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 669216
:
552134
|
552136
|
552138
|
552140
|
552142
|
552144
|
552146
| 577544