You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In OpenSSL 3.0.0 several functions which are used in r-exasol are declared as deprecated:
FAILED: CMakeFiles/r_exasol_tests.dir/home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.cpp.o
/usr/bin/c++ -I/home/runner/work/r-exasol/r-exasol/tests/cpp/../../src -I/usr/share/R/include -I/home/runner/work/r-exasol/b/_deps/catch-src/single_include -g -fno-omit-frame-pointer -fsanitize=address -Wall -Wextra -pedantic -Werror -Wno-deprecated -std=gnu++14 -MD -MT CMakeFiles/r_exasol_tests.dir/home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.cpp.o -MF CMakeFiles/r_exasol_tests.dir/home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.cpp.o.d -o CMakeFiles/r_exasol_tests.dir/home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.cpp.o -c /home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.cpp
/home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.cpp: In member function ‘void exa::ssl::Certificate::mkcert(int, int, int)’:
Error: /home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.cpp:97:18: error: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
97 | rsa = RSA_new();
| ~~~~~~~^~
In file included from /usr/include/openssl/x509.h:36,
from /home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.h:4,
from /home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.cpp:2:
/usr/include/openssl/rsa.h:201:28: note: declared here
201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
| ^~~~~~~
Error: /home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.cpp:102:34: error: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
102 | int ret = RSA_generate_key_ex(rsa, bits, bn, nullptr);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.h:4,
from /home/runner/work/r-exasol/r-exasol/src/r_exasol/ssl/certificate.cpp:2:
/usr/include/openssl/rsa.h:2[60](https://github.com/exasol/r-exasol/actions/runs/3759303716/jobs/6388707194#step:7:62):27: note: declared here
260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
| ^~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Background
In OpenSSL 3.0.0 several functions which are used in r-exasol are declared as deprecated:
The OpenSSL 3.0.0 migration guide claims:
Acceptance Criteria
The text was updated successfully, but these errors were encountered: