-
Notifications
You must be signed in to change notification settings - Fork 33
Description
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