>>> libp11: Building testing/libp11 0.4.12-r0 (using abuild 3.13.0-r5) started Sat, 21 Sep 2024 11:22:41 +0000 >>> libp11: Checking sanity of /home/buildozer/aports/testing/libp11/APKBUILD... >>> libp11: Analyzing dependencies... >>> libp11: Installing for build: build-base openssl-dev (1/2) Installing openssl-dev (3.3.2-r1) (2/2) Installing .makedepends-libp11 (20240921.112242) OK: 285 MiB in 105 packages >>> libp11: Cleaning up srcdir >>> libp11: Cleaning up pkgdir >>> libp11: Cleaning up tmpdir >>> libp11: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libp11-0.4.12.tar.gz >>> libp11: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libp11-0.4.12.tar.gz >>> libp11: Checking sha512sums... libp11-0.4.12.tar.gz: OK libp11-0.4.12-openssl-3.patch: OK Remove-unused-execinfo.h-include-from-tests.patch: OK >>> libp11: Unpacking /var/cache/distfiles/edge/libp11-0.4.12.tar.gz... >>> libp11: libp11-0.4.12-openssl-3.patch patching file configure >>> libp11: Remove-unused-execinfo.h-include-from-tests.patch patching file tests/fork-change-slot.c checking build system type... armv7-alpine-linux-musleabihf checking host system type... armv7-alpine-linux-musleabihf checking target system type... armv7-alpine-linux-musleabihf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for armv7-alpine-linux-musleabihf-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for armv7-alpine-linux-musleabihf-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking if LD -Wl,--version-script works... yes checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/armv7-alpine-linux-musleabihf/bin/ld checking if the linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 98304 checking how to convert armv7-alpine-linux-musleabihf file names to armv7-alpine-linux-musleabihf format... func_convert_file_noop checking how to convert armv7-alpine-linux-musleabihf file names to toolchain format... func_convert_file_noop checking for /usr/armv7-alpine-linux-musleabihf/bin/ld option to reload object files... -r checking for armv7-alpine-linux-musleabihf-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7-alpine-linux-musleabihf-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7-alpine-linux-musleabihf-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7-alpine-linux-musleabihf-strip... no checking for strip... strip checking for armv7-alpine-linux-musleabihf-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for armv7-alpine-linux-musleabihf-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for armv7-alpine-linux-musleabihf-windres... no checking for windres... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for dlfcn.h... (cached) yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking for doxygen... no checking for library containing dlopen... none required checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for libcrypto >= 0.9.8... yes checking if libtool needs -no-undefined flag to build shared libraries... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/libp11.pc config.status: creating src/libp11.rc config.status: creating src/pkcs11.rc config.status: creating doc/Makefile config.status: creating doc/doxygen.conf config.status: creating examples/Makefile config.status: creating tests/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: creating src/libp11.map libp11 has been configured with the following options: Version: 0.4.12 libp11 directory: /usr/lib Engine directory: /usr/lib/engines-3 Default PKCS11 module: API doc support: no Host: armv7-alpine-linux-musleabihf Compiler: gcc Preprocessor flags: Compiler flags: -Os -fstack-clash-protection -Wformat -Werror=format-security -pthread Linker flags: -Wl,--as-needed,-O1,--sort-common Libraries: -lpthread OPENSSL_CFLAGS: OPENSSL_LIBS: -L/usr -lcrypto Making all in src make[1]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/src' make all-am make[2]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/src' CC pkcs11_la-eng_front.lo CC pkcs11_la-eng_back.lo CC pkcs11_la-eng_parse.lo CC pkcs11_la-eng_err.lo CC libp11_la-libpkcs11.lo CC libp11_la-p11_attr.lo CC libp11_la-p11_cert.lo CC libp11_la-p11_err.lo CC libp11_la-p11_ckr.lo CC libp11_la-p11_key.lo CC libp11_la-p11_misc.lo CC libp11_la-p11_rsa.lo CC libp11_la-p11_load.lo CC libp11_la-p11_ec.lo CC libp11_la-p11_pkey.lo CC libp11_la-p11_slot.lo CC libp11_la-p11_front.lo CC libp11_la-p11_atfork.lo p11_rsa.c: In function 'pkcs11_rsa': p11_rsa.c:38:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 38 | rsa = (RSA *)EVP_PKEY_get0_RSA(evp_key); | ^~~ In file included from /usr/include/openssl/x509.h:29, from libp11.h:32, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/evp.h:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_sign': p11_rsa.c:54:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 54 | return RSA_sign(type, m, m_len, sigret, siglen, rsa); | ^~~~~~ In file included from libp11.h:31: /usr/include/openssl/rsa.h:359:27: note: declared here 359 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ p11_ec.c: In function 'pkcs11_get_params': p11_ec.c:203:9: warning: 'd2i_ECParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 203 | rv = d2i_ECParameters(&ec, &a, (long)params_len) == NULL; | ^~ p11_rsa.c: In function 'pkcs11_get_rsa': In file included from /usr/include/openssl/x509.h:33, from libp11.h:32, from libp11-int.h:27, from p11_ec.c:27: /usr/include/openssl/ec.h:1230:31: note: declared here 1230 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECParameters(EC_KEY **key, | ^~~~~~~~~~~~~~~~ p11_rsa.c:235:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 235 | rsa = RSA_new(); | ^~~ p11_pkey.c: In function 'pkcs11_try_pkey_rsa_sign': /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ p11_ec.c: In function 'pkcs11_get_point_x509': p11_ec.c:224:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 224 | pubkey_ec = (EC_KEY *)EVP_PKEY_get0_EC_KEY(pubkey); | ^~~~~~~~~ p11_rsa.c:239:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | RSA_set0_key(rsa, rsa_n, rsa_e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_get_ex_data_rsa': p11_pkey.c:343:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 343 | rsa = (RSA *)EVP_PKEY_get0_RSA(pkey); | ^~~ p11_rsa.c:249:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 249 | return RSA_get_ex_data(rsa, rsa_ex_index); | ^~~~~~ /usr/include/openssl/rsa.h:457:29: note: declared here 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_set_ex_data_rsa': In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1382:25: note: declared here 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ p11_rsa.c:254:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 254 | RSA_set_ex_data(rsa, rsa_ex_index, key); | ^~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:456:27: note: declared here 456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ p11_ec.c:227:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | point = EC_KEY_get0_public_key(pubkey_ec); | ^~~~~ p11_rsa.c: In function 'pkcs11_get_evp_key_rsa': /usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:230:9: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 230 | if (EC_KEY_set_public_key(ec, point) == 0) | ^~ /usr/include/openssl/ec.h:1089:27: note: declared here 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:270:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 270 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ p11_ec.c: In function 'pkcs11_get_point': p11_rsa.c:274:17: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 274 | RSA_set_method(rsa, PKCS11_get_rsa_method()); | ^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:313:27: note: declared here 313 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ p11_ec.c:262:17: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 262 | rv = o2i_ECPublicKey(&ec, &a, os->length) == NULL; | ^~ In file included from /usr/include/openssl/x509.h:29, from libp11.h:32, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1255:31: note: declared here 1255 | OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key, | ^~~~~~~~~~~~~~~ p11_ec.c:267:17: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 267 | rv = o2i_ECPublicKey(&ec, &a, (long)point_len) == NULL; | ^~ /usr/include/openssl/ec.h:1255:31: note: declared here 1255 | OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key, | ^~~~~~~~~~~~~~~ p11_rsa.c:276:17: warning: 'RSA_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 276 | RSA_set_flags(rsa, RSA_FLAG_EXT_PKEY); | ^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:254:28: note: declared here 254 | OSSL_DEPRECATEDIN_3_0 void RSA_set_flags(RSA *r, int flags); | ^~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_get_ec': p11_rsa.c:290:9: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 290 | EVP_PKEY_set1_RSA(pk, rsa); /* Also increments the rsa ref count */ | ^~~~~~~~~~~~~~~~~ p11_ec.c:293:9: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 293 | ec = EC_KEY_new(); | ^~ /usr/include/openssl/evp.h:1354:5: note: declared here 1354 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ p11_ec.c:303:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 303 | EC_KEY_free(ec); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ p11_rsa.c:291:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 291 | RSA_free(rsa); /* Drops our reference to it */ | ^~~~~~~~ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ p11_pkey.c: In function 'pkcs11_try_pkey_rsa_decrypt': p11_pkey.c:444:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 444 | rsa = (RSA *)EVP_PKEY_get0_RSA(pkey); | ^~~ p11_rsa.c: In function 'pkcs11_get_key_modulus': /usr/include/openssl/evp.h:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_ec.c:314:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 314 | if (key->object_class == CKO_PRIVATE_KEY && EC_KEY_get0_private_key(ec) == NULL) { | ^~ /usr/include/openssl/ec.h:1067:37: note: declared here 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:304:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 304 | RSA_get0_key(rsa, &rsa_n, NULL, NULL); | ^~~~~~~~~~~~ p11_ec.c:316:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 316 | EC_KEY_set_private_key(ec, bn); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /usr/include/openssl/ec.h:1075:27: note: declared here 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:322:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 322 | EC_KEY_free(ec); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_get_key_exponent': p11_ec.c: In function 'pkcs11_get_ex_data_ec': p11_ec.c:332:9: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | return EC_KEY_get_ex_data(ec, ec_ex_index); | ^~~~~~ p11_rsa.c:321:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 321 | RSA_get0_key(rsa, NULL, &rsa_e, NULL); | ^~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_pkey_method_rsa': /usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /usr/include/openssl/ec.h:1103:29: note: declared here 1103 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | ^~~~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_set_ex_data_ec': p11_rsa.c: In function 'pkcs11_get_key_size': p11_pkey.c:527:9: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 527 | orig_meth = (EVP_PKEY_METHOD *)EVP_PKEY_meth_find(EVP_PKEY_RSA); | ^~~~~~~~~ p11_ec.c:341:9: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | EC_KEY_set_ex_data(ec, ec_ex_index, key); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1753:46: note: declared here 1753 | OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1102:27: note: declared here 1102 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ p11_rsa.c:335:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 335 | return RSA_size(rsa); | ^~~~~~ p11_ec.c: In function 'pkcs11_get_evp_key_ec': /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ p11_pkey.c:528:9: warning: 'EVP_PKEY_meth_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 528 | EVP_PKEY_meth_get_sign(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:366:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 366 | EC_KEY_free(ec); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:2092:28: note: declared here 2092 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_rsa_priv_dec_method': p11_ec.c:372:17: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 372 | EC_KEY_set_method(ec, PKCS11_get_ec_key_method()); | ^~~~~~~~~~~~~~~~~ p11_pkey.c:530:9: warning: 'EVP_PKEY_meth_get_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 530 | EVP_PKEY_meth_get_decrypt(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2120:28: note: declared here 2120 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_decrypt | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1302:27: note: declared here 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ p11_rsa.c:368:17: warning: 'RSA_meth_get_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 368 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); | ^~~~~~~~ p11_pkey.c:534:9: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 534 | new_meth = EVP_PKEY_meth_new(EVP_PKEY_RSA, | ^~~~~~~~ /usr/include/openssl/rsa.h:526:7: note: declared here 526 | int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth)) (int flen, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1754:40: note: declared here 1754 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); | ^~~~~~~~~~~~~~~~~ p11_ec.c:382:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 382 | EVP_PKEY_set1_EC_KEY(pk, ec); /* Also increments the ec ref count */ | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1380:5: note: declared here 1380 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ p11_ec.c:383:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 383 | EC_KEY_free(ec); /* Drops our reference to it */ | ^~~~~~~~~~~ p11_pkey.c:542:9: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 542 | EVP_PKEY_meth_copy(new_meth, orig_meth); | ^~~~~~~~~~~~~~~~~~ p11_rsa.c:368:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 368 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); | ^~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /usr/include/openssl/rsa.h:310:41: note: declared here 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1757:28: note: declared here 1757 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, | ^~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_rsa_priv_enc_method': p11_pkey.c:544:9: warning: 'EVP_PKEY_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 544 | EVP_PKEY_meth_set_sign(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2023:28: note: declared here 2023 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:381:17: warning: 'RSA_meth_get_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 381 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); | ^~~~~~~~ p11_pkey.c:546:9: warning: 'EVP_PKEY_meth_set_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 546 | EVP_PKEY_meth_set_decrypt(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:516:7: note: declared here 516 | int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) (int flen, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2050:28: note: declared here 2050 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_decrypt | ^~~~~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_try_pkey_ec_sign': p11_rsa.c:381:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 381 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); | ^~~~~~~~ /usr/include/openssl/rsa.h:310:41: note: declared here 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_ecdsa_sign_sig': p11_pkey.c:584:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 584 | eckey = (EC_KEY *)EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~ p11_rsa.c: In function 'pkcs11_rsa_free_method': /usr/include/openssl/evp.h:1382:25: note: declared here 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ p11_ec.c:466:17: warning: 'EC_KEY_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 466 | const EC_KEY_METHOD *meth = EC_KEY_OpenSSL(); | ^~~~~ p11_pkey.c:589:17: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 589 | *siglen = (size_t)ECDSA_size(eckey); | ^ /usr/include/openssl/ec.h:1298:44: note: declared here 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | ^~~~~~~~~~~~~~ p11_rsa.c:395:17: warning: 'RSA_meth_get_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | RSA_meth_get_finish(RSA_get_default_method()); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:563:7: note: declared here 563 | int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa); | ^~~~~~~~~~~~~~~~~~~ p11_ec.c:467:17: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 467 | EC_KEY_METHOD_get_sign((EC_KEY_METHOD *)meth, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1543:28: note: declared here 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:395:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | RSA_meth_get_finish(RSA_get_default_method()); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:310:41: note: declared here 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1474:27: note: declared here 1474 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); | ^~~~~~~~~~ p11_ec.c:479:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 479 | const EC_GROUP *group = EC_KEY_get0_group(ec); | ^~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ p11_pkey.c:594:9: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 594 | if (*siglen < (size_t)ECDSA_size(eckey)) | ^~ /usr/include/openssl/ec.h:1474:27: note: declared here 1474 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); | ^~~~~~~~~~ p11_rsa.c: In function 'PKCS11_get_rsa_method': p11_rsa.c:496:17: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 496 | ops = RSA_meth_dup(RSA_get_default_method()); | ^~~ /usr/include/openssl/rsa.h:486:35: note: declared here 486 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | ^~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_pkey_method_ec': p11_pkey.c:673:9: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 673 | orig_meth = (EVP_PKEY_METHOD *)EVP_PKEY_meth_find(EVP_PKEY_EC); | ^~~~~~~~~ p11_rsa.c:496:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 496 | ops = RSA_meth_dup(RSA_get_default_method()); | ^~~ /usr/include/openssl/rsa.h:310:41: note: declared here 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1753:46: note: declared here 1753 | OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); | ^~~~~~~~~~~~~~~~~~ p11_pkey.c:674:9: warning: 'EVP_PKEY_meth_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 674 | EVP_PKEY_meth_get_sign(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:499:17: warning: 'RSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 499 | RSA_meth_set1_name(ops, "libp11 RSA method"); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:488:27: note: declared here 488 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set1_name(RSA_METHOD *meth, | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2092:28: note: declared here 2092 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c:677:9: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 677 | new_meth = EVP_PKEY_meth_new(EVP_PKEY_EC, 0); | ^~~~~~~~ /usr/include/openssl/evp.h:1754:40: note: declared here 1754 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); | ^~~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_ecdh_compute_key': p11_rsa.c:500:17: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 500 | RSA_meth_set_flags(ops, 0); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:491:27: note: declared here 491 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set_flags(RSA_METHOD *meth, int flags); | ^~~~~~~~~~~~~~~~~~ p11_pkey.c:684:9: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 684 | EVP_PKEY_meth_copy(new_meth, orig_meth); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1757:28: note: declared here 1757 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, | ^~~~~~~~~~~~~~~~~~ p11_ec.c:642:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 642 | const EC_GROUP *group = EC_KEY_get0_group(ecdh); | ^~~~~ p11_rsa.c:501:17: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 501 | RSA_meth_set_priv_enc(ops, pkcs11_rsa_priv_enc_method); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:521:5: note: declared here 521 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ p11_pkey.c:686:9: warning: 'EVP_PKEY_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 686 | EVP_PKEY_meth_set_sign(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2023:28: note: declared here 2023 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:502:17: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 502 | RSA_meth_set_priv_dec(ops, pkcs11_rsa_priv_dec_method); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:531:5: note: declared here 531 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ p11_ec.c: In function 'PKCS11_get_ec_key_method': p11_rsa.c:503:17: warning: 'RSA_meth_set_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 503 | RSA_meth_set_finish(ops, pkcs11_rsa_free_method); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:565:5: note: declared here 565 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa)); | ^~~~~~~~~~~~~~~~~~~ p11_ec.c:752:17: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 752 | ops = EC_KEY_METHOD_new((EC_KEY_METHOD *)EC_KEY_OpenSSL()); | ^~~ /usr/include/openssl/ec.h:1480:38: note: declared here 1480 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ p11_ec.c:752:17: warning: 'EC_KEY_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 752 | ops = EC_KEY_METHOD_new((EC_KEY_METHOD *)EC_KEY_OpenSSL()); | ^~~ /usr/include/openssl/ec.h:1298:44: note: declared here 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | ^~~~~~~~~~~~~~ p11_ec.c:753:17: warning: 'EC_KEY_METHOD_get_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 753 | EC_KEY_METHOD_get_init(ops, &orig_init, &ossl_ec_finish, &orig_copy, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1524:28: note: declared here 1524 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_init | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:755:17: warning: 'EC_KEY_METHOD_set_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 755 | EC_KEY_METHOD_set_init(ops, orig_init, pkcs11_ec_finish, orig_copy, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1482:28: note: declared here 1482 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_init | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:757:17: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 757 | EC_KEY_METHOD_get_sign(ops, &orig_sign, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1543:28: note: declared here 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:758:17: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 758 | EC_KEY_METHOD_set_sign(ops, orig_sign, NULL, pkcs11_ecdsa_sign_sig); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1499:28: note: declared here 1499 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:759:17: warning: 'EC_KEY_METHOD_get_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 759 | EC_KEY_METHOD_get_compute_key(ops, &ossl_ecdh_compute_key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1536:28: note: declared here 1536 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_compute_key | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:760:17: warning: 'EC_KEY_METHOD_set_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 760 | EC_KEY_METHOD_set_compute_key(ops, pkcs11_ec_ckey); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1494:28: note: declared here 1494 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_compute_key | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c: In function 'get_ctx': eng_front.c:95:17: warning: 'ENGINE_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | ctx = ENGINE_get_ex_data(engine, pkcs11_idx); | ^~~ In file included from engine.h:41, from eng_front.c:16: /usr/include/openssl/engine.h:534:29: note: declared here 534 | OSSL_DEPRECATEDIN_3_0 void *ENGINE_get_ex_data(const ENGINE *e, int idx); | ^~~~~~~~~~~~~~~~~~ eng_front.c:99:17: warning: 'ENGINE_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 99 | ENGINE_set_ex_data(engine, pkcs11_idx, ctx); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:533:27: note: declared here 533 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ eng_front.c: In function 'engine_destroy': eng_front.c:126:9: warning: 'ENGINE_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 126 | ENGINE_set_ex_data(engine, pkcs11_idx, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:533:27: note: declared here 533 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ eng_front.c: In function 'load_privkey': eng_front.c:193:9: warning: 'EVP_PKEY_set1_engine' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 193 | if (pkey && !EVP_PKEY_set1_engine(pkey, engine)) { | ^~ In file included from /usr/include/openssl/x509.h:29, from libp11.h:32, from engine.h:35: /usr/include/openssl/evp.h:1333:5: note: declared here 1333 | int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e); | ^~~~~~~~~~~~~~~~~~~~ eng_front.c: In function 'bind_helper': eng_front.c:215:9: warning: 'ENGINE_set_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | if (!ENGINE_set_id(e, PKCS11_ENGINE_ID) || | ^~ /usr/include/openssl/engine.h:495:27: note: declared here 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); | ^~~~~~~~~~~~~ eng_front.c:216:25: warning: 'ENGINE_set_destroy_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | !ENGINE_set_destroy_function(e, engine_destroy) || | ^ /usr/include/openssl/engine.h:503:5: note: declared here 503 | int ENGINE_set_destroy_function(ENGINE *e,ENGINE_GEN_INT_FUNC_PTR destroy_f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:217:25: warning: 'ENGINE_set_init_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 217 | !ENGINE_set_init_function(e, engine_init) || | ^ /usr/include/openssl/engine.h:505:5: note: declared here 505 | int ENGINE_set_init_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR init_f); | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:218:25: warning: 'ENGINE_set_finish_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 218 | !ENGINE_set_finish_function(e, engine_finish) || | ^ /usr/include/openssl/engine.h:507:5: note: declared here 507 | int ENGINE_set_finish_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR finish_f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:219:25: warning: 'ENGINE_set_ctrl_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 219 | !ENGINE_set_ctrl_function(e, engine_ctrl) || | ^ /usr/include/openssl/engine.h:509:5: note: declared here 509 | int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f); | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:220:25: warning: 'ENGINE_set_cmd_defns' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 220 | !ENGINE_set_cmd_defns(e, engine_cmd_defns) || | ^ /usr/include/openssl/engine.h:526:27: note: declared here 526 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_cmd_defns(ENGINE *e, | ^~~~~~~~~~~~~~~~~~~~ eng_front.c:221:25: warning: 'ENGINE_set_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 221 | !ENGINE_set_name(e, PKCS11_ENGINE_NAME) || | ^ /usr/include/openssl/engine.h:496:27: note: declared here 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); | ^~~~~~~~~~~~~~~ eng_front.c:223:25: warning: 'ENGINE_set_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | !ENGINE_set_RSA(e, PKCS11_get_rsa_method()) || | ^ /usr/include/openssl/engine.h:497:27: note: declared here 497 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth); | ^~~~~~~~~~~~~~ eng_front.c:228:25: warning: 'ENGINE_set_EC' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 228 | !ENGINE_set_EC(e, PKCS11_get_ec_key_method()) || | ^ /usr/include/openssl/engine.h:499:27: note: declared here 499 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_EC(ENGINE *e, const EC_KEY_METHOD *ecdsa_meth); | ^~~~~~~~~~~~~ eng_front.c:238:25: warning: 'ENGINE_set_pkey_meths' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 238 | !ENGINE_set_pkey_meths(e, PKCS11_pkey_meths) || | ^ /usr/include/openssl/engine.h:522:5: note: declared here 522 | int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f); | ^~~~~~~~~~~~~~~~~~~~~ eng_front.c:239:25: warning: 'ENGINE_set_load_pubkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | !ENGINE_set_load_pubkey_function(e, load_pubkey) || | ^ /usr/include/openssl/engine.h:513:5: note: declared here 513 | int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:240:25: warning: 'ENGINE_set_load_privkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 240 | !ENGINE_set_load_privkey_function(e, load_privkey)) { | ^ /usr/include/openssl/engine.h:511:5: note: declared here 511 | int ENGINE_set_load_privkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpriv_f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_back.c: In function 'ctx_try_load_object': eng_back.c:554:85: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 554 | ctx_log(ctx, 0, "Multiple matching slots (%lu); will not try to" | ~~^ | | | long unsigned int | %u 555 | " login\n", matched_count); | ~~~~~~~~~~~~~ | | | size_t {aka unsigned int} p11_key.c: In function 'pkcs11_store_key': p11_key.c:367:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 367 | RSA *rsa = EVP_PKEY_get1_RSA(pk); | ^~~ In file included from /usr/include/openssl/x509.h:29, from libp11.h:32, from libp11-int.h:27, from p11_key.c:20: /usr/include/openssl/evp.h:1358:16: note: declared here 1358 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_key.c:368:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 368 | RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); | ^~~~~~~~~~~~ In file included from libp11.h:31: /usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ p11_key.c:369:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 369 | RSA_get0_factors(rsa, &rsa_p, &rsa_q); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ p11_key.c:370:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 370 | RSA_get0_crt_params(rsa, &rsa_dmp1, &rsa_dmq1, &rsa_iqmp); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:236:28: note: declared here 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ p11_key.c:371:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 371 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ CCLD libp11.la CCLD pkcs11.la make[2]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/src' make[1]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/src' Making all in doc make[1]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/doc' Making all in examples make[1]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/examples' CC auth.o CC decrypt.o CC getrandom.o CC listkeys.o decrypt.c: In function 'main': decrypt.c:172:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 172 | encrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); | ^~~~~~~~~ In file included from ../src/libp11.h:31, from decrypt.c:48: /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ decrypt.c:172:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 172 | encrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from ../src/libp11.h:32: /usr/include/openssl/evp.h:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ decrypt.c:183:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 183 | len = RSA_public_encrypt(RANDOM_SIZE, random, encrypted, | ^~~ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ decrypt.c:185:25: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 185 | (RSA *)EVP_PKEY_get0_RSA(pubkey), | ^ /usr/include/openssl/evp.h:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ auth.c: In function 'main': decrypt.c:252:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 252 | decrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); | ^~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ decrypt.c:252:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 252 | decrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); | ^~~~~~~~~ /usr/include/openssl/evp.h:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ auth.c:252:9: warning: 'PKCS11_sign' is deprecated: This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] 252 | rc = PKCS11_sign(NID_sha1, random, RANDOM_SIZE, | ^~ decrypt.c:261:9: warning: 'PKCS11_private_decrypt' is deprecated: This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] 261 | rc = PKCS11_private_decrypt(len, encrypted, | ^~ In file included from auth.c:48: ../src/libp11.h:477:32: note: declared here 477 | P11_DEPRECATED_FUNC extern int PKCS11_sign(int type, | ^~~~~~~~~~~ ../src/libp11.h:501:32: note: declared here 501 | P11_DEPRECATED_FUNC extern int PKCS11_private_decrypt( | ^~~~~~~~~~~~~~~~~~~~~~ auth.c:269:9: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 269 | rc = RSA_verify(NID_sha1, random, RANDOM_SIZE, | ^~ In file included from ../src/libp11.h:31: /usr/include/openssl/rsa.h:362:27: note: declared here 362 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ auth.c:271:25: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | signature, siglen, (RSA *)EVP_PKEY_get0_RSA(pubkey)); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from ../src/libp11.h:32: /usr/include/openssl/evp.h:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ CCLD getrandom CCLD listkeys CCLD decrypt CCLD auth make[1]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/examples' Making all in tests make[1]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/tests' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/tests' make[1]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12' >>> libp11: Entering fakeroot... Making install in src make[1]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/src' make[2]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/src' .././install-sh -c -d '/home/buildozer/aports/testing/libp11/pkg/libp11/usr/include' .././install-sh -c -d '/home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib/pkgconfig' .././install-sh -c -d '/home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib/engines-3' .././install-sh -c -d '/home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c pkcs11.la '/home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib/engines-3' /usr/bin/install -c -m 644 libp11.h p11_err.h '/home/buildozer/aports/testing/libp11/pkg/libp11/usr/include' /bin/sh ../libtool --mode=install /usr/bin/install -c libp11.la '/home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib' /usr/bin/install -c -m 644 libp11.pc '/home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib/pkgconfig' libtool: install: /usr/bin/install -c .libs/pkcs11.so /home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib/engines-3/pkcs11.so libtool: install: /usr/bin/install -c .libs/libp11.so.3.5.0 /home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib/libp11.so.3.5.0 libtool: install: (cd /home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib && { ln -s -f libp11.so.3.5.0 libp11.so.3 || { rm -f libp11.so.3 && ln -s libp11.so.3.5.0 libp11.so.3; }; }) libtool: install: /usr/bin/install -c .libs/pkcs11.lai /home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib/engines-3/pkcs11.la libtool: install: (cd /home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib && { ln -s -f libp11.so.3.5.0 libp11.so || { rm -f libp11.so && ln -s libp11.so.3.5.0 libp11.so; }; }) libtool: warning: remember to run 'libtool --finish /usr/lib/engines-3' libtool: install: /usr/bin/install -c .libs/libp11.lai /home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib/libp11.la libtool: warning: remember to run 'libtool --finish /usr/lib' make install-exec-hook make[3]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/src' cd '/home/buildozer/aports/testing/libp11/pkg/libp11/usr/lib/engines-3' && ln -s -f pkcs11.so libpkcs11.so make[3]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/src' make[2]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/src' make[1]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/src' Making install in doc make[1]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/doc' make[2]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/doc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/doc' make[1]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/doc' Making install in examples make[1]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/examples' make[2]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/examples' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/examples' make[1]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/examples' Making install in tests make[1]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/tests' make[2]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/tests' make[1]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12/tests' make[1]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12' make[2]: Entering directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12' make[2]: Nothing to be done for 'install-exec-am'. ./install-sh -c -d '/home/buildozer/aports/testing/libp11/pkg/libp11/usr/share/doc/libp11' /usr/bin/install -c -m 644 NEWS '/home/buildozer/aports/testing/libp11/pkg/libp11/usr/share/doc/libp11' make[2]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12' make[1]: Leaving directory '/home/buildozer/aports/testing/libp11/src/libp11-0.4.12' >>> libp11-dev*: Running split function dev... >>> libp11-dev*: Preparing subpackage libp11-dev... >>> libp11-dev*: Stripping binaries >>> libp11-dev*: Running postcheck for libp11-dev >>> libp11-doc*: Running split function doc... >>> libp11-doc*: Preparing subpackage libp11-doc... >>> libp11-doc*: Running postcheck for libp11-doc >>> libp11*: Running postcheck for libp11 >>> libp11*: Preparing package libp11... >>> libp11*: Stripping binaries >>> libp11-dev*: Scanning shared objects >>> libp11-doc*: Scanning shared objects >>> libp11*: Scanning shared objects >>> libp11-dev*: Tracing dependencies... libp11=0.4.12-r0 pkgconfig >>> libp11-dev*: Package size: 48.0 KB >>> libp11-dev*: Compressing data... >>> libp11-dev*: Create checksum... >>> libp11-dev*: Create libp11-dev-0.4.12-r0.apk >>> libp11-doc*: Tracing dependencies... >>> libp11-doc*: Package size: 32.0 KB >>> libp11-doc*: Compressing data... >>> libp11-doc*: Create checksum... >>> libp11-doc*: Create libp11-doc-0.4.12-r0.apk >>> libp11*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libcrypto.so.3 >>> libp11*: Package size: 108.0 KB >>> libp11*: Compressing data... >>> libp11*: Create checksum... >>> libp11*: Create libp11-0.4.12-r0.apk >>> libp11: Build complete at Sat, 21 Sep 2024 11:22:47 +0000 elapsed time 0h 0m 6s >>> libp11: Cleaning up srcdir >>> libp11: Cleaning up pkgdir >>> libp11: Uninstalling dependencies... (1/2) Purging .makedepends-libp11 (20240921.112242) (2/2) Purging openssl-dev (3.3.2-r1) OK: 283 MiB in 103 packages >>> libp11: Updating the testing/armv7 repository index... >>> libp11: Signing the index...