blob: 53acbc1a18d1a9528b714df55b8dad7149438b64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- storage/innobase/xtrabackup/src/keyring_plugins.cc.orig 2024-11-11 11:46:47 UTC
+++ storage/innobase/xtrabackup/src/keyring_plugins.cc
@@ -863,7 +863,7 @@ bool xb_binlog_password_reencrypt(const char *binlog_f
return (false);
}
- Key_string file_password(key, Encryption::KEY_LEN);
+ Key_string file_password(key, key + Encryption::KEY_LEN);
header->encrypt_file_password(file_password);
IO_CACHE_ostream ostream;
|