summaryrefslogtreecommitdiff
path: root/databases/xtrabackup80/files/patch-sql_stream__cipher.cc
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2025-07-02 15:13:41 +0700
committerEugene Grosbein <eugen@FreeBSD.org>2025-07-02 15:40:25 +0700
commit47f39553742ab470850e8b16c8c0de2f3a4030e2 (patch)
tree81239b619e9447ea542382adcd0ded19da02898e /databases/xtrabackup80/files/patch-sql_stream__cipher.cc
parentx11-drivers/xorgxrdp: rebuild against xrdp 0.10.4 (diff)
databases/xtrabackup80: fix build with llvm-19
PORTREVISION not bumped as this fixes build. PR: 287958 Reported by: Eugene M. Zheganin (maintainer) Tested by: Eugene M. Zheganin (maintainer)
Diffstat (limited to 'databases/xtrabackup80/files/patch-sql_stream__cipher.cc')
-rw-r--r--databases/xtrabackup80/files/patch-sql_stream__cipher.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/xtrabackup80/files/patch-sql_stream__cipher.cc b/databases/xtrabackup80/files/patch-sql_stream__cipher.cc
new file mode 100644
index 000000000000..e9b1b0e5a573
--- /dev/null
+++ b/databases/xtrabackup80/files/patch-sql_stream__cipher.cc
@@ -0,0 +1,11 @@
+--- sql/stream_cipher.cc.orig 2023-11-24 10:33:10 UTC
++++ sql/stream_cipher.cc
+@@ -45,7 +45,7 @@ bool Aes_ctr_cipher<TYPE>::open(const Key_string &pass
+ m_header_size = header_size;
+ #ifdef HAVE_BYTESTOKEY_SHA512_HANDLING
+ if (EVP_BytesToKey(Aes_ctr::get_evp_cipher(), Aes_ctr::get_evp_md(), nullptr,
+- password.data(), password.length(), 1, m_file_key,
++ password.data(), password.size(), 1, m_file_key,
+ m_iv) == 0)
+ return true;
+ #else