Yida Wu has uploaded a new patch set (#4). ( 
http://gerrit.cloudera.org:8080/24110 )

Change subject: IMPALA-14807: Fix squeasel MD5 issue in OpenSSL 3.0
......................................................................

IMPALA-14807: Fix squeasel MD5 issue in OpenSSL 3.0

OpenSSL 3.0 deprecates low-level hashing APIs such as MD5_Init() and
SHA1_Init(). Building in FIPS-compliant environments would fail.

This change replaces both MD5 and SHA1 implementations in squeasel.c
with the EVP digest interface using EVP APIs. This ensures the
compatibility with OpenSSL 3.0 to support FIPS 140-3.

Also, because the new EVP_MD_CTX_new() and EVP_MD_CTX_free() were
introduced in OpenSSL 1.1.0, this patch adds macros to map these
calls to old EVP_MD_CTX_create() and EVP_MD_CTX_destroy() on older
OpenSSL versions.

Tests:
Passed exhaustive build.
Tests the old interface also working in RHEL 7 with OpenSSL 1.0.2.

Change-Id: I806394633eaa73d973c27988fd303004487ddb4a
---
M be/src/thirdparty/squeasel/squeasel.c
1 file changed, 80 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/10/24110/4
--
To view, visit http://gerrit.cloudera.org:8080/24110
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I806394633eaa73d973c27988fd303004487ddb4a
Gerrit-Change-Number: 24110
Gerrit-PatchSet: 4
Gerrit-Owner: Yida Wu <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Yida Wu <[email protected]>

Reply via email to