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/16 20:31:00 UTC
[jira] [Created] (IMPALA-12226) Impala code uses OpenSSL APIs deprecated in OpenSSL 3
Joe McDonnell created IMPALA-12226:
--------------------------------------
Summary: Impala code uses OpenSSL APIs deprecated in OpenSSL 3
Key: IMPALA-12226
URL: https://issues.apache.org/jira/browse/IMPALA-12226
Project: IMPALA
Issue Type: Bug
Components: Backend
Affects Versions: Impala 4.3.0
Reporter: Joe McDonnell
Various pieces of code hit warnings about deprecated declarations with OpenSSL3:
{noformat}
/home/joe/impala/be/src/kudu/util/openssl_util.cc: In function ‘std::string kudu::security::GetOpenSSLErrors()’:
/home/joe/impala/be/src/kudu/util/openssl_util.cc:307:66: warning: ‘long unsigned int ERR_get_error_line_data(const char**, int*, const char**, int*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
307 | while ((l = ERR_get_error_line_data(&file, &line, &data, &flags)) != 0) {
| ^
In file included from /home/joe/impala/be/src/kudu/util/openssl_util.h:21,
from /home/joe/impala/be/src/kudu/util/openssl_util.cc:18:
/usr/include/openssl/err.h:425:15: note: declared here
425 | unsigned long ERR_get_error_line_data(const char **file, int *line,
| ^~~~~~~~~~~~~~~~~~~~~~~{noformat}
This happens in several different files across the codebase. As a workaround, we specify -Wno-deprecated-declarations until these can be fixed.
To find all locations, edit be/CMakeLists.txt to disable -Werror and remove -Wno-deprecated-declarations.
Some of the locations come from jwt-cpp and can be addressed by upgrading jwt-cpp to 0.6.0.
--
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