This is an automated email from the ASF dual-hosted git repository.

leborchuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit 02d658a1435ab9b23ca010a883e9afec33904eb5
Author: Leonid Borchuk <[email protected]>
AuthorDate: Thu Apr 23 10:03:57 2026 +0000

    Fix copy for rocky linux
---
 devops/build/automation/cloudberry/scripts/configure-cloudberry.sh | 2 +-
 src/interfaces/libpq/fe-secure-openssl.c                           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/devops/build/automation/cloudberry/scripts/configure-cloudberry.sh 
b/devops/build/automation/cloudberry/scripts/configure-cloudberry.sh
index 80575309092..cc9e7376239 100755
--- a/devops/build/automation/cloudberry/scripts/configure-cloudberry.sh
+++ b/devops/build/automation/cloudberry/scripts/configure-cloudberry.sh
@@ -121,7 +121,7 @@ log_section "Initial Setup"
 execute_cmd sudo rm -rf ${BUILD_DESTINATION} || exit 2
 execute_cmd sudo chmod a+w /usr/local || exit 2
 execute_cmd sudo mkdir -p ${BUILD_DESTINATION}/lib || exit 2
-if [[ "$OS_ID" == "rocky" && "$OS_VERSION" =~ ^(8|9) ]]; then
+if [[ "$OS_ID" == "rocky" && "$OS_VERSION" =~ ^(8|9|10) ]]; then
     execute_cmd sudo cp /usr/local/xerces-c/lib/libxerces-c.so \
                 /usr/local/xerces-c/lib/libxerces-c-3.3.so \
                 ${BUILD_DESTINATION}/lib || exit 3
diff --git a/src/interfaces/libpq/fe-secure-openssl.c 
b/src/interfaces/libpq/fe-secure-openssl.c
index ccd886abb84..13eacc0764d 100644
--- a/src/interfaces/libpq/fe-secure-openssl.c
+++ b/src/interfaces/libpq/fe-secure-openssl.c
@@ -1132,7 +1132,7 @@ initialize_SSL(PGconn *conn)
                        /* Colon, but not in second character, treat as 
engine:key */
                        char       *engine_str = strdup(conn->sslkey);
                        char       *engine_colon;
-                       EVP_PKEY   *pkey;
+                       EVP_PKEY   *pkey = NULL;
 
                        if (engine_str == NULL)
                        {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to