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/15 17:13:00 UTC

[jira] [Resolved] (IMPALA-12211) OpenSSL 3 doesn't provide FIPS_mode()

     [ https://issues.apache.org/jira/browse/IMPALA-12211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe McDonnell resolved IMPALA-12211.
------------------------------------
    Fix Version/s: Impala 4.3.0
         Assignee: Joe McDonnell
       Resolution: Fixed

> 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
>            Assignee: Joe McDonnell
>            Priority: Major
>             Fix For: Impala 4.3.0
>
>
> 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