Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken compiling by deprecated functions #94

Open
rmbeer opened this issue Sep 21, 2024 · 0 comments
Open

Broken compiling by deprecated functions #94

rmbeer opened this issue Sep 21, 2024 · 0 comments

Comments

@rmbeer
Copy link

rmbeer commented Sep 21, 2024

libtool: compile: gcc -I. -I../../../src/libpki -I../.. -DENABLE_ECDSA=1 -D__LIB_BUILD__ -g -O2 -maccumulate-outgoing-args -Wno-deprecated -Wall -Wmissing-field-initializers -Wmissing-parameter-type -Wtype-limits -Wuninitialized -Wconversion -Wfatal-errors -Wunused-variable -Werror -Wno-switch -DENABLE_ECDSA=1 -DENABLE_COMPOSITE=1 -I/usr/include/libxml2 -DLINUX -g -O2 -maccumulate-outgoing-args -Wno-deprecated -Wall -Wmissing-field-initializers -Wmissing-parameter-type -Wtype-limits -Wuninitialized -Wconversion -Wfatal-errors -Wunused-variable -Werror -MT libpki_token_openssl_la-openssl_hsm_pkey.lo -MD -MP -MF .deps/libpki_token_openssl_la-openssl_hsm_pkey.Tpo -c openssl_hsm_pkey.c -fPIC -DPIC -o .libs/libpki_token_openssl_la-openssl_hsm_pkey.o
openssl_hsm_pkey.c: In function ‘_pki_rsakey_new’:
openssl_hsm_pkey.c:193:5: error: ‘EVP_PKEY_get1_RSA’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
193 | rsa = EVP_PKEY_get1_RSA(pkey);
| ^~~
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors
make[3]: *** [Makefile:553: libpki_token_openssl_la-openssl_hsm_pkey.lo] Error 1
make[3]: Leaving directory '/home/pkisrv/libpki/src/drivers/openssl'
make[2]: *** [Makefile:627: all-recursive] Error 1
make[2]: Leaving directory '/home/pkisrv/libpki/src/drivers'
make[1]: *** [Makefile:966: all-recursive] Error 1
make[1]: Leaving directory '/home/pkisrv/libpki/src'
make: *** [Makefile:675: all-recursive] Error 1

OpenSSL version: 8.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant