You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2023/06/13 21:22:00 UTC
[jira] [Created] (IMPALA-12211) OpenSSL 3 doesn't provide FIPS_mode()
Joe McDonnell created IMPALA-12211:
--------------------------------------
Summary: OpenSSL 3 doesn't provide FIPS_mode()
Key: IMPALA-12211
URL: https://issues.apache.org/jira/browse/IMPALA-12211
Project: IMPALA
Issue Type: Bug
Components: Backend
Affects Versions: Impala 4.3.0
Reporter: Joe McDonnell
OpenSSL 3 doesn't provide FIPS_mode(). Instead, it provides EVP_default_properties_is_fips_enabled(). To compile against OpenSSL 3 (needed for Ubuntu 22 and Redhat 9), the existing references to FIPS_mode() will need to handle this.
Current FIPS_mode() references:
{noformat}
be/src/exprs/expr-test.cc: if (FIPS_mode()) {
be/src/exprs/expr-test.cc: if (!FIPS_mode()) {
be/src/exprs/expr-test.cc: if (FIPS_mode()) {
be/src/exprs/expr-test.cc: if (FIPS_mode()) {
be/src/exprs/mask-functions-ir.cc: if (FIPS_mode()) {
be/src/exprs/utility-functions-ir.cc: if (FIPS_mode()) {
be/src/exprs/utility-functions-ir.cc: if (FIPS_mode() && (bit_len.val == 224 || bit_len.val == 256)) {
be/src/exprs/utility-functions-ir.cc: if (UNLIKELY(FIPS_mode())) {
be/src/kudu/util/openssl_util.cc: auto fips_mode = FIPS_mode();
be/src/util/webserver-test.cc: if (FIPS_mode()) {
be/src/util/webserver-test.cc: if (FIPS_mode()) return;
be/src/util/webserver.cc: if (FIPS_mode()) {{noformat}
We also need to pull in these two Kudu fixes for the KRPC code:
[https://github.com/apache/kudu/commit/c24629083e520614af50d0c4242e3d30f55689b6]
[https://github.com/apache/kudu/commit/acac73ecda83ec2390b5990cc132ca6968bfefdf]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org