This is an automated email from the ASF dual-hosted git repository.
chenjinbao1989 pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
The following commit(s) were added to refs/heads/cbdb-postgres-merge by this
push:
new 03118909031 Fix compile errors for crypto
03118909031 is described below
commit 031189090319ca70a64b973b5785969c582a82e7
Author: Jinbao Chen <[email protected]>
AuthorDate: Fri Oct 3 22:45:12 2025 +0800
Fix compile errors for crypto
---
src/backend/crypto/bufenc.c | 2 +-
src/backend/crypto/kmgr.c | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/backend/crypto/bufenc.c b/src/backend/crypto/bufenc.c
index 36a6a9928c8..8c62943bcec 100644
--- a/src/backend/crypto/bufenc.c
+++ b/src/backend/crypto/bufenc.c
@@ -224,7 +224,7 @@ EncryptAOBLock(unsigned char *data_buf, const int buf_len,
/* Decrypt the given page with the relation key */
void
DecryptAOBlock(unsigned char *data_buf, const int buf_len,
- RelFileNode *file_node)
+ RelFileLocator *file_node)
{
int enclen;
Assert(BufDecCtx != NULL);
diff --git a/src/backend/crypto/kmgr.c b/src/backend/crypto/kmgr.c
index 0b6fce1304e..9c5b16da022 100644
--- a/src/backend/crypto/kmgr.c
+++ b/src/backend/crypto/kmgr.c
@@ -140,7 +140,6 @@ BootStrapKmgr(void)
if (bootstrap_old_key_datadir == NULL)
{
unsigned char *bootstrap_keys_wrap[KMGR_NUM_DATA_KEYS];
- int key_lens[KMGR_NUM_DATA_KEYS];
PgCipherCtx *cluster_key_ctx;
/* Create KEK encryption context */
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]