diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-10-13 16:32:32 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-10-13 16:32:32 +0200 |
commit | 90f28c8ff5cf894d67240c6acaae538d9f564c19 (patch) | |
tree | 792e827b0bd9025746871732641a3bfb35a43167 | |
parent | client-libs: Add options to execute my_print_defaults from libexec (diff) | |
download | mysql-extras-90f28c8ff5cf894d67240c6acaae538d9f564c19.tar.gz mysql-extras-90f28c8ff5cf894d67240c6acaae538d9f564c19.tar.bz2 mysql-extras-90f28c8ff5cf894d67240c6acaae538d9f564c19.zip |
Add 20018_all_mysql-5.7.23-fix-libressl-support.patch
Bug: https://bugs.gentoo.org/662826
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r-- | 20018_all_mysql-5.7.23-fix-libressl-support.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/20018_all_mysql-5.7.23-fix-libressl-support.patch b/20018_all_mysql-5.7.23-fix-libressl-support.patch new file mode 100644 index 0000000..f6beecd --- /dev/null +++ b/20018_all_mysql-5.7.23-fix-libressl-support.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/662826 + +--- a/sql/auth/sha2_password_common.cc ++++ b/sql/auth/sha2_password_common.cc +@@ -146,7 +146,8 @@ bool SHA256_digest::retrieve_digest(unsigned char *digest, + DBUG_RETURN(true); + } + m_ok= EVP_DigestFinal_ex(md_context, m_digest, NULL); +-#if defined(HAVE_WOLFSSL) || OPENSSL_VERSION_NUMBER < 0x10100000L ++#if defined(HAVE_WOLFSSL) || OPENSSL_VERSION_NUMBER < 0x10100000L || \ ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x02070000fL) + EVP_MD_CTX_cleanup(md_context); + #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */ + EVP_MD_CTX_reset(md_context); |