mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
Welcome MySQL 9.1 What is new in MySQL9.1: https://dev.mysql.com/doc/relnotes/mysql/9.1/en/news-9-1-0.html MySQL8.4+ supports only 64-bit platforms! Sponsored by: Netzkommune GmbH Special thanks to: samm
11 lines
508 B
C++
11 lines
508 B
C++
--- sql/stream_cipher.cc.orig 2024-07-12 19:15:25 UTC
|
|
+++ sql/stream_cipher.cc
|
|
@@ -46,7 +46,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
|