Skip to content

Commit 9002fcc

Browse files
Leonid Borchukleborchuk
authored andcommitted
Fix copy for rocky linux
1 parent cab1d2f commit 9002fcc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

devops/build/automation/cloudberry/scripts/configure-cloudberry.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ log_section "Initial Setup"
121121
execute_cmd sudo rm -rf ${BUILD_DESTINATION} || exit 2
122122
execute_cmd sudo chmod a+w /usr/local || exit 2
123123
execute_cmd sudo mkdir -p ${BUILD_DESTINATION}/lib || exit 2
124-
if [[ "$OS_ID" == "rocky" && "$OS_VERSION" =~ ^(8|9) ]]; then
124+
if [[ "$OS_ID" == "rocky" && "$OS_VERSION" =~ ^(8|9|10) ]]; then
125125
execute_cmd sudo cp /usr/local/xerces-c/lib/libxerces-c.so \
126126
/usr/local/xerces-c/lib/libxerces-c-3.3.so \
127127
${BUILD_DESTINATION}/lib || exit 3

src/interfaces/libpq/fe-secure-openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ initialize_SSL(PGconn *conn)
11321132
/* Colon, but not in second character, treat as engine:key */
11331133
char *engine_str = strdup(conn->sslkey);
11341134
char *engine_colon;
1135-
EVP_PKEY *pkey;
1135+
EVP_PKEY *pkey = NULL;
11361136

11371137
if (engine_str == NULL)
11381138
{

0 commit comments

Comments
 (0)