=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for pkcs11-helper-1.27.0nb10 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0' Making all in man gmake[2]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/man' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/man' Making all in include gmake[2]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/include' Making all in pkcs11-helper-1.0 gmake[3]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/include/pkcs11-helper-1.0' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/include/pkcs11-helper-1.0' gmake[3]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/include' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/include' gmake[2]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/include' Making all in lib gmake[2]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/lib' cat "./core.exports" > pkcs11-helper.exports cat "./certificate.exports" >> pkcs11-helper.exports cat "./data.exports" >> pkcs11-helper.exports cat "./openssl.exports" >> pkcs11-helper.exports cat "./slotevent.exports" >> pkcs11-helper.exports cat "./token.exports" >> pkcs11-helper.exports /usr/pkg/bin/gmake all-am gmake[3]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-mem.lo -MD -MP -MF .deps/pkcs11h-mem.Tpo -c -o pkcs11h-mem.lo pkcs11h-mem.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-sys.lo -MD -MP -MF .deps/pkcs11h-sys.Tpo -c -o pkcs11h-sys.lo pkcs11h-sys.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-crypto.lo -MD -MP -MF .deps/pkcs11h-crypto.Tpo -c -o pkcs11h-crypto.lo pkcs11h-crypto.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-mem.lo -MD -MP -MF .deps/pkcs11h-mem.Tpo -c pkcs11h-mem.c -fPIC -DPIC -o .libs/pkcs11h-mem.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-sys.lo -MD -MP -MF .deps/pkcs11h-sys.Tpo -c pkcs11h-sys.c -fPIC -DPIC -o .libs/pkcs11h-sys.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-crypto.lo -MD -MP -MF .deps/pkcs11h-crypto.Tpo -c pkcs11h-crypto.c -fPIC -DPIC -o .libs/pkcs11h-crypto.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-sys.lo -MD -MP -MF .deps/pkcs11h-sys.Tpo -c pkcs11h-sys.c -o pkcs11h-sys.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-crypto.lo -MD -MP -MF .deps/pkcs11h-crypto.Tpo -c pkcs11h-crypto.c -o pkcs11h-crypto.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-mem.lo -MD -MP -MF .deps/pkcs11h-mem.Tpo -c pkcs11h-mem.c -o pkcs11h-mem.o >/dev/null 2>&1 mv -f .deps/pkcs11h-crypto.Tpo .deps/pkcs11h-crypto.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-openssl.lo -MD -MP -MF .deps/_pkcs11h-crypto-openssl.Tpo -c -o _pkcs11h-crypto-openssl.lo _pkcs11h-crypto-openssl.c mv -f .deps/pkcs11h-mem.Tpo .deps/pkcs11h-mem.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-nss.lo -MD -MP -MF .deps/_pkcs11h-crypto-nss.Tpo -c -o _pkcs11h-crypto-nss.lo _pkcs11h-crypto-nss.c mv -f .deps/pkcs11h-sys.Tpo .deps/pkcs11h-sys.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-gnutls.lo -MD -MP -MF .deps/_pkcs11h-crypto-gnutls.Tpo -c -o _pkcs11h-crypto-gnutls.lo _pkcs11h-crypto-gnutls.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-openssl.lo -MD -MP -MF .deps/_pkcs11h-crypto-openssl.Tpo -c _pkcs11h-crypto-openssl.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-openssl.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-gnutls.lo -MD -MP -MF .deps/_pkcs11h-crypto-gnutls.Tpo -c _pkcs11h-crypto-gnutls.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-gnutls.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-nss.lo -MD -MP -MF .deps/_pkcs11h-crypto-nss.Tpo -c _pkcs11h-crypto-nss.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-nss.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-gnutls.lo -MD -MP -MF .deps/_pkcs11h-crypto-gnutls.Tpo -c _pkcs11h-crypto-gnutls.c -o _pkcs11h-crypto-gnutls.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-nss.lo -MD -MP -MF .deps/_pkcs11h-crypto-nss.Tpo -c _pkcs11h-crypto-nss.c -o _pkcs11h-crypto-nss.o >/dev/null 2>&1 mv -f .deps/_pkcs11h-crypto-gnutls.Tpo .deps/_pkcs11h-crypto-gnutls.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-mbedtls.lo -MD -MP -MF .deps/_pkcs11h-crypto-mbedtls.Tpo -c -o _pkcs11h-crypto-mbedtls.lo _pkcs11h-crypto-mbedtls.c mv -f .deps/_pkcs11h-crypto-nss.Tpo .deps/_pkcs11h-crypto-nss.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-cryptoapi.lo -MD -MP -MF .deps/_pkcs11h-crypto-cryptoapi.Tpo -c -o _pkcs11h-crypto-cryptoapi.lo _pkcs11h-crypto-cryptoapi.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-mbedtls.lo -MD -MP -MF .deps/_pkcs11h-crypto-mbedtls.Tpo -c _pkcs11h-crypto-mbedtls.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-mbedtls.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-cryptoapi.lo -MD -MP -MF .deps/_pkcs11h-crypto-cryptoapi.Tpo -c _pkcs11h-crypto-cryptoapi.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-cryptoapi.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-openssl.lo -MD -MP -MF .deps/_pkcs11h-crypto-openssl.Tpo -c _pkcs11h-crypto-openssl.c -o _pkcs11h-crypto-openssl.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-cryptoapi.lo -MD -MP -MF .deps/_pkcs11h-crypto-cryptoapi.Tpo -c _pkcs11h-crypto-cryptoapi.c -o _pkcs11h-crypto-cryptoapi.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-mbedtls.lo -MD -MP -MF .deps/_pkcs11h-crypto-mbedtls.Tpo -c _pkcs11h-crypto-mbedtls.c -o _pkcs11h-crypto-mbedtls.o >/dev/null 2>&1 mv -f .deps/_pkcs11h-crypto-cryptoapi.Tpo .deps/_pkcs11h-crypto-cryptoapi.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-threading.lo -MD -MP -MF .deps/pkcs11h-threading.Tpo -c -o pkcs11h-threading.lo pkcs11h-threading.c mv -f .deps/_pkcs11h-crypto-mbedtls.Tpo .deps/_pkcs11h-crypto-mbedtls.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-util.lo -MD -MP -MF .deps/pkcs11h-util.Tpo -c -o pkcs11h-util.lo pkcs11h-util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-threading.lo -MD -MP -MF .deps/pkcs11h-threading.Tpo -c pkcs11h-threading.c -fPIC -DPIC -o .libs/pkcs11h-threading.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-util.lo -MD -MP -MF .deps/pkcs11h-util.Tpo -c pkcs11h-util.c -fPIC -DPIC -o .libs/pkcs11h-util.o In file included from /usr/include/ctype.h:100, from common.h:65, from pkcs11h-util.c:51: pkcs11h-util.c: In function '_pkcs11h_util_escapeString': pkcs11h-util.c:165:76: warning: array subscript has type 'char' [-Wchar-subscripts] 165 | if (*s == '\\' || strchr (invalid_chars, (unsigned char)*s) || !isgraph (*s)) { | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-util.lo -MD -MP -MF .deps/pkcs11h-util.Tpo -c pkcs11h-util.c -o pkcs11h-util.o >/dev/null 2>&1 mv -f .deps/_pkcs11h-crypto-openssl.Tpo .deps/_pkcs11h-crypto-openssl.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-session.lo -MD -MP -MF .deps/pkcs11h-session.Tpo -c -o pkcs11h-session.lo pkcs11h-session.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-threading.lo -MD -MP -MF .deps/pkcs11h-threading.Tpo -c pkcs11h-threading.c -o pkcs11h-threading.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-session.lo -MD -MP -MF .deps/pkcs11h-session.Tpo -c pkcs11h-session.c -fPIC -DPIC -o .libs/pkcs11h-session.o mv -f .deps/pkcs11h-util.Tpo .deps/pkcs11h-util.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-token.lo -MD -MP -MF .deps/pkcs11h-token.Tpo -c -o pkcs11h-token.lo pkcs11h-token.c pkcs11h-session.c: In function '_pkcs11h_session_getObjectById': pkcs11h-session.c:790:15: warning: initializer element is not computable at load time [-Wpedantic] 790 | {CKA_CLASS, (void *)&class, sizeof (class)}, | ^ pkcs11h-session.c:790:3: warning: initializer element is not computable at load time [-Wpedantic] 790 | {CKA_CLASS, (void *)&class, sizeof (class)}, | ^ pkcs11h-session.c:791:12: warning: initializer element is not computable at load time [-Wpedantic] 791 | {CKA_ID, (void *)id, id_size} | ^ pkcs11h-session.c:791:24: warning: initializer element is not computable at load time [-Wpedantic] 791 | {CKA_ID, (void *)id, id_size} | ^~~~~~~ pkcs11h-session.c:791:3: warning: initializer element is not computable at load time [-Wpedantic] 791 | {CKA_ID, (void *)id, id_size} | ^ mv -f .deps/pkcs11h-threading.Tpo .deps/pkcs11h-threading.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-certificate.lo -MD -MP -MF .deps/pkcs11h-certificate.Tpo -c -o pkcs11h-certificate.lo pkcs11h-certificate.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-token.lo -MD -MP -MF .deps/pkcs11h-token.Tpo -c pkcs11h-token.c -fPIC -DPIC -o .libs/pkcs11h-token.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-certificate.lo -MD -MP -MF .deps/pkcs11h-certificate.Tpo -c pkcs11h-certificate.c -fPIC -DPIC -o .libs/pkcs11h-certificate.o pkcs11h-certificate.c: In function '__pkcs11h_certificate_loadCertificate': pkcs11h-certificate.c:235:15: warning: initializer element is not computable at load time [-Wpedantic] 235 | {CKA_CLASS, &cert_filter_class, sizeof (cert_filter_class)}, | ^ pkcs11h-certificate.c:235:3: warning: initializer element is not computable at load time [-Wpedantic] 235 | {CKA_CLASS, &cert_filter_class, sizeof (cert_filter_class)}, | ^ pkcs11h-certificate.c: In function '__pkcs11h_certificate_doPrivateOperation': pkcs11h-certificate.c:790:3: warning: initializer element is not computable at load time [-Wpedantic] 790 | mech_type, NULL, 0 | ^~~~~~~~~ pkcs11h-certificate.c:798:15: warning: initializer element is not computable at load time [-Wpedantic] 798 | {CKA_CLASS, &class, sizeof (class)}, | ^ pkcs11h-certificate.c:798:3: warning: initializer element is not computable at load time [-Wpedantic] 798 | {CKA_CLASS, &class, sizeof (class)}, | ^ pkcs11h-certificate.c:799:18: warning: initializer element is not computable at load time [-Wpedantic] 799 | {CKA_KEY_TYPE, &keytype, sizeof (keytype)}, | ^ pkcs11h-certificate.c:799:3: warning: initializer element is not computable at load time [-Wpedantic] 799 | {CKA_KEY_TYPE, &keytype, sizeof (keytype)}, | ^ pkcs11h-certificate.c:800:21: warning: initializer element is not computable at load time [-Wpedantic] 800 | {CKA_EXTRACTABLE, &wrap_attrs_true, sizeof (wrap_attrs_true)} | ^ pkcs11h-certificate.c:800:3: warning: initializer element is not computable at load time [-Wpedantic] 800 | {CKA_EXTRACTABLE, &wrap_attrs_true, sizeof (wrap_attrs_true)} | ^ pkcs11h-certificate.c:804:15: warning: initializer element is not computable at load time [-Wpedantic] 804 | {CKA_VALUE, target, 0} | ^~~~~~ pkcs11h-certificate.c:804:3: warning: initializer element is not computable at load time [-Wpedantic] 804 | {CKA_VALUE, target, 0} | ^ pkcs11h-certificate.c: In function '_pkcs11h_certificate_enumSessionCertificates': pkcs11h-certificate.c:2346:16: warning: initializer element is not computable at load time [-Wpedantic] 2346 | {CKA_CLASS, &cert_filter_class, sizeof (cert_filter_class)} | ^ pkcs11h-certificate.c:2346:4: warning: initializer element is not computable at load time [-Wpedantic] 2346 | {CKA_CLASS, &cert_filter_class, sizeof (cert_filter_class)} | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-session.lo -MD -MP -MF .deps/pkcs11h-session.Tpo -c pkcs11h-session.c -o pkcs11h-session.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-token.lo -MD -MP -MF .deps/pkcs11h-token.Tpo -c pkcs11h-token.c -o pkcs11h-token.o >/dev/null 2>&1 mv -f .deps/pkcs11h-session.Tpo .deps/pkcs11h-session.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-slotevent.lo -MD -MP -MF .deps/pkcs11h-slotevent.Tpo -c -o pkcs11h-slotevent.lo pkcs11h-slotevent.c mv -f .deps/pkcs11h-token.Tpo .deps/pkcs11h-token.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-core.lo -MD -MP -MF .deps/pkcs11h-core.Tpo -c -o pkcs11h-core.lo pkcs11h-core.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-slotevent.lo -MD -MP -MF .deps/pkcs11h-slotevent.Tpo -c pkcs11h-slotevent.c -fPIC -DPIC -o .libs/pkcs11h-slotevent.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-core.lo -MD -MP -MF .deps/pkcs11h-core.Tpo -c pkcs11h-core.c -fPIC -DPIC -o .libs/pkcs11h-core.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-slotevent.lo -MD -MP -MF .deps/pkcs11h-slotevent.Tpo -c pkcs11h-slotevent.c -o pkcs11h-slotevent.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-certificate.lo -MD -MP -MF .deps/pkcs11h-certificate.Tpo -c pkcs11h-certificate.c -o pkcs11h-certificate.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-core.lo -MD -MP -MF .deps/pkcs11h-core.Tpo -c pkcs11h-core.c -o pkcs11h-core.o >/dev/null 2>&1 mv -f .deps/pkcs11h-slotevent.Tpo .deps/pkcs11h-slotevent.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-data.lo -MD -MP -MF .deps/pkcs11h-data.Tpo -c -o pkcs11h-data.lo pkcs11h-data.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-data.lo -MD -MP -MF .deps/pkcs11h-data.Tpo -c pkcs11h-data.c -fPIC -DPIC -o .libs/pkcs11h-data.o pkcs11h-data.c: In function '_pkcs11h_data_getObject': pkcs11h-data.c:69:15: warning: initializer element is not computable at load time [-Wpedantic] 69 | {CKA_CLASS, (void *)&class, sizeof (class)}, | ^ pkcs11h-data.c:69:3: warning: initializer element is not computable at load time [-Wpedantic] 69 | {CKA_CLASS, (void *)&class, sizeof (class)}, | ^ pkcs11h-data.c:70:21: warning: initializer element is not computable at load time [-Wpedantic] 70 | {CKA_APPLICATION, (void *)application, application == NULL ? 0 : strlen (application)}, | ^ pkcs11h-data.c:70:42: warning: initializer element is not computable at load time [-Wpedantic] 70 | {CKA_APPLICATION, (void *)application, application == NULL ? 0 : strlen (application)}, | ^~~~~~~~~~~ pkcs11h-data.c:70:3: warning: initializer element is not computable at load time [-Wpedantic] 70 | {CKA_APPLICATION, (void *)application, application == NULL ? 0 : strlen (application)}, | ^ pkcs11h-data.c:71:15: warning: initializer element is not computable at load time [-Wpedantic] 71 | {CKA_LABEL, (void *)label, label == NULL ? 0 : strlen (label)} | ^ pkcs11h-data.c:71:30: warning: initializer element is not computable at load time [-Wpedantic] 71 | {CKA_LABEL, (void *)label, label == NULL ? 0 : strlen (label)} | ^~~~~ pkcs11h-data.c:71:3: warning: initializer element is not computable at load time [-Wpedantic] 71 | {CKA_LABEL, (void *)label, label == NULL ? 0 : strlen (label)} | ^ pkcs11h-data.c: In function 'pkcs11h_data_put': pkcs11h-data.c:307:15: warning: initializer element is not computable at load time [-Wpedantic] 307 | {CKA_CLASS, &class, sizeof (class)}, | ^ pkcs11h-data.c:307:3: warning: initializer element is not computable at load time [-Wpedantic] 307 | {CKA_CLASS, &class, sizeof (class)}, | ^ pkcs11h-data.c:308:15: warning: initializer element is not computable at load time [-Wpedantic] 308 | {CKA_TOKEN, &ck_true, sizeof (ck_true)}, | ^ pkcs11h-data.c:308:3: warning: initializer element is not computable at load time [-Wpedantic] 308 | {CKA_TOKEN, &ck_true, sizeof (ck_true)}, | ^ pkcs11h-data.c:309:17: warning: initializer element is not computable at load time [-Wpedantic] 309 | {CKA_PRIVATE, is_public ? &ck_false : &ck_true, sizeof (CK_BBOOL)}, | ^~~~~~~~~ pkcs11h-data.c:309:3: warning: initializer element is not computable at load time [-Wpedantic] 309 | {CKA_PRIVATE, is_public ? &ck_false : &ck_true, sizeof (CK_BBOOL)}, | ^ pkcs11h-data.c:310:21: warning: initializer element is not computable at load time [-Wpedantic] 310 | {CKA_APPLICATION, (void *)application, strlen (application)}, | ^ pkcs11h-data.c:310:42: warning: initializer element is not computable at load time [-Wpedantic] 310 | {CKA_APPLICATION, (void *)application, strlen (application)}, | ^~~~~~ pkcs11h-data.c:310:3: warning: initializer element is not computable at load time [-Wpedantic] 310 | {CKA_APPLICATION, (void *)application, strlen (application)}, | ^ pkcs11h-data.c:311:15: warning: initializer element is not computable at load time [-Wpedantic] 311 | {CKA_LABEL, (void *)label, strlen (label)}, | ^ pkcs11h-data.c:311:30: warning: initializer element is not computable at load time [-Wpedantic] 311 | {CKA_LABEL, (void *)label, strlen (label)}, | ^~~~~~ pkcs11h-data.c:311:3: warning: initializer element is not computable at load time [-Wpedantic] 311 | {CKA_LABEL, (void *)label, strlen (label)}, | ^ pkcs11h-data.c:312:15: warning: initializer element is not computable at load time [-Wpedantic] 312 | {CKA_VALUE, blob, blob_size} | ^~~~ pkcs11h-data.c:312:21: warning: initializer element is not computable at load time [-Wpedantic] 312 | {CKA_VALUE, blob, blob_size} | ^~~~~~~~~ pkcs11h-data.c:312:3: warning: initializer element is not computable at load time [-Wpedantic] 312 | {CKA_VALUE, blob, blob_size} | ^ pkcs11h-data.c: In function 'pkcs11h_data_enumDataObjects': pkcs11h-data.c:643:16: warning: initializer element is not computable at load time [-Wpedantic] 643 | {CKA_CLASS, (void *)&class, sizeof (class)} | ^ pkcs11h-data.c:643:4: warning: initializer element is not computable at load time [-Wpedantic] 643 | {CKA_CLASS, (void *)&class, sizeof (class)} | ^ mv -f .deps/pkcs11h-core.Tpo .deps/pkcs11h-core.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-serialization.lo -MD -MP -MF .deps/pkcs11h-serialization.Tpo -c -o pkcs11h-serialization.lo pkcs11h-serialization.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-data.lo -MD -MP -MF .deps/pkcs11h-data.Tpo -c pkcs11h-data.c -o pkcs11h-data.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-serialization.lo -MD -MP -MF .deps/pkcs11h-serialization.Tpo -c pkcs11h-serialization.c -fPIC -DPIC -o .libs/pkcs11h-serialization.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-serialization.lo -MD -MP -MF .deps/pkcs11h-serialization.Tpo -c pkcs11h-serialization.c -o pkcs11h-serialization.o >/dev/null 2>&1 mv -f .deps/pkcs11h-data.Tpo .deps/pkcs11h-data.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -mieee -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-openssl.lo -MD -MP -MF .deps/pkcs11h-openssl.Tpo -c -o pkcs11h-openssl.lo pkcs11h-openssl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mieee -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-openssl.lo -MD -MP -MF .deps/pkcs11h-openssl.Tpo -c pkcs11h-openssl.c -fPIC -DPIC -o .libs/pkcs11h-openssl.o mv -f .deps/pkcs11h-serialization.Tpo .deps/pkcs11h-serialization.Plo mv -f .deps/pkcs11h-certificate.Tpo .deps/pkcs11h-certificate.Plo pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_get_pkcs11h_certificate': pkcs11h-openssl.c:421:2: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | session = (pkcs11h_openssl_session_t)RSA_get_ex_data (rsa, __openssl_methods.rsa_index); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:446:29: note: declared here 446 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_dec': pkcs11h-openssl.c:477:8: error: 'RSA_SSLV23_PADDING' undeclared (first use in this function); did you mean 'RSA_PKCS1_PADDING'? 477 | case RSA_SSLV23_PADDING: | ^~~~~~~~~~~~~~~~~~ | RSA_PKCS1_PADDING pkcs11h-openssl.c:477:8: note: each undeclared identifier is reported only once for each function it appears in pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_enc': pkcs11h-openssl.c:586:2: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 586 | tlen = (size_t)RSA_size(rsa); | ^~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_session_setRSA': pkcs11h-openssl.c:648:3: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 648 | (rsa = EVP_PKEY_get1_RSA (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:28, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1350:16: note: declared here 1350 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:654:2: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 654 | RSA_set_method (rsa, __openssl_methods.rsa); | ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:302:27: note: declared here 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ pkcs11h-openssl.c:655:2: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 655 | RSA_set_ex_data (rsa, __openssl_methods.rsa_index, openssl_session); | ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:445:27: note: declared here 445 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c:674:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 674 | RSA_free (rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_dsa_get_pkcs11h_certificate': pkcs11h-openssl.c:700:2: warning: 'DSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 700 | session = (pkcs11h_openssl_session_t)DSA_get_ex_data (dsa, __openssl_methods.dsa_index); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:146:29: note: declared here 146 | OSSL_DEPRECATEDIN_3_0 void *DSA_get_ex_data(const DSA *d, int idx); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_session_setDSA': pkcs11h-openssl.c:835:3: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 835 | (dsa = EVP_PKEY_get1_DSA (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:28, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1359:16: note: declared here 1359 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:841:2: warning: 'DSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 841 | DSA_set_method (dsa, __openssl_methods.dsa); | ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:122:27: note: declared here 122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); | ^~~~~~~~~~~~~~ pkcs11h-openssl.c:842:2: warning: 'DSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 842 | DSA_set_ex_data (dsa, __openssl_methods.dsa_index, openssl_session); | ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:145:27: note: declared here 145 | OSSL_DEPRECATEDIN_3_0 int DSA_set_ex_data(DSA *d, int idx, void *arg); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c:849:3: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 849 | DSA_free (dsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_eckey_get_pkcs11h_certificate': pkcs11h-openssl.c:875:2: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 875 | session = (pkcs11h_openssl_session_t)EC_KEY_get_ex_data (ec, __openssl_methods.eckey_index); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:32, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1084:29: note: declared here 1084 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_session_setECDSA': pkcs11h-openssl.c:1022:3: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1022 | (ec = EVP_PKEY_get1_EC_KEY (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:28, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1376:19: note: declared here 1376 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1028:2: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | EC_KEY_set_method (ec, __openssl_methods.eckey); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1283:27: note: declared here 1283 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1029:2: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | EC_KEY_set_ex_data (ec, __openssl_methods.eckey_index, openssl_session); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1083:27: note: declared here 1083 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1036:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1036 | EC_KEY_free (ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ pkcs11h-openssl.c: In function '_pkcs11h_openssl_initialize': pkcs11h-openssl.c:1062:3: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1062 | RSA_meth_free (__openssl_methods.rsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:474:28: note: declared here 474 | OSSL_DEPRECATEDIN_3_0 void RSA_meth_free(RSA_METHOD *meth); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1064:2: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1064 | if ((__openssl_methods.rsa = RSA_meth_dup (RSA_get_default_method ())) == NULL) { | ^~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:475:35: note: declared here 475 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | ^~~~~~~~~~~~ pkcs11h-openssl.c:1064:2: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1064 | if ((__openssl_methods.rsa = RSA_meth_dup (RSA_get_default_method ())) == NULL) { | ^~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:299:41: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1067:2: warning: 'RSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1067 | RSA_meth_set1_name (__openssl_methods.rsa, "pkcs11h"); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:477:27: note: declared here 477 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set1_name(RSA_METHOD *meth, | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1068:2: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1068 | RSA_meth_set_priv_dec (__openssl_methods.rsa, __pkcs11h_openssl_rsa_dec); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:520:5: note: declared here 520 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1069:2: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1069 | RSA_meth_set_priv_enc (__openssl_methods.rsa, __pkcs11h_openssl_rsa_enc); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:510:5: note: declared here 510 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1070:2: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1070 | RSA_meth_set_flags (__openssl_methods.rsa, RSA_METHOD_FLAG_NO_CHECK | RSA_FLAG_EXT_PKEY); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:480:27: note: declared here 480 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set_flags(RSA_METHOD *meth, int flags); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1075:3: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 1075 | __pkcs11h_openssl_ex_data_dup, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *) {aka int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)} In file included from /usr/include/openssl/buffer.h:21, from /usr/include/openssl/x509.h:27, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/crypto.h:245:51: note: expected 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void **, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void **, int, long int, void *)'} but argument is of type 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)'} 245 | CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ pkcs11h-openssl.c:1081:3: warning: 'DSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | DSA_meth_free (__openssl_methods.dsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:219:28: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 void DSA_meth_free(DSA_METHOD *dsam); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1083:2: warning: 'DSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1083 | __openssl_methods.dsa = DSA_meth_dup (DSA_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:220:35: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 DSA_METHOD *DSA_meth_dup(const DSA_METHOD *dsam); | ^~~~~~~~~~~~ pkcs11h-openssl.c:1083:2: warning: 'DSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1083 | __openssl_methods.dsa = DSA_meth_dup (DSA_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:121:41: note: declared here 121 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1084:2: warning: 'DSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1084 | DSA_meth_set1_name (__openssl_methods.dsa, "pkcs11h"); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:222:27: note: declared here 222 | OSSL_DEPRECATEDIN_3_0 int DSA_meth_set1_name(DSA_METHOD *dsam, | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1085:2: warning: 'DSA_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1085 | DSA_meth_set_sign (__openssl_methods.dsa, __pkcs11h_openssl_dsa_do_sign); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:231:27: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 int DSA_meth_set_sign(DSA_METHOD *dsam, | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1090:3: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 1090 | __pkcs11h_openssl_ex_data_dup, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *) {aka int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)} In file included from /usr/include/openssl/buffer.h:21, from /usr/include/openssl/x509.h:27, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/crypto.h:245:51: note: expected 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void **, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void **, int, long int, void *)'} but argument is of type 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)'} 245 | CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ pkcs11h-openssl.c:1096:3: warning: 'EC_KEY_METHOD_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1096 | EC_KEY_METHOD_free(__openssl_methods.eckey); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1462:28: note: declared here 1462 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_free(EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1098:2: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1098 | __openssl_methods.eckey = EC_KEY_METHOD_new (EC_KEY_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1461:38: note: declared here 1461 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1098:2: warning: 'EC_KEY_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1098 | __openssl_methods.eckey = EC_KEY_METHOD_new (EC_KEY_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1280:44: note: declared here 1280 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1111:3: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1111 | EC_KEY_METHOD_get_sign(__openssl_methods.eckey, &sig, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1524:28: note: declared here 1524 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1112:3: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1112 | EC_KEY_METHOD_set_sign(__openssl_methods.eckey, sig, NULL, __pkcs11h_openssl_eckey_do_sign); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1480:28: note: declared here 1480 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1118:3: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 1118 | __pkcs11h_openssl_ex_data_dup, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *) {aka int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)} In file included from /usr/include/openssl/buffer.h:21, from /usr/include/openssl/x509.h:27, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/crypto.h:245:51: note: expected 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void **, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void **, int, long int, void *)'} but argument is of type 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)'} 245 | CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ pkcs11h-openssl.c: In function '_pkcs11h_openssl_terminate': pkcs11h-openssl.c:1141:3: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1141 | RSA_meth_free (__openssl_methods.rsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:474:28: note: declared here 474 | OSSL_DEPRECATEDIN_3_0 void RSA_meth_free(RSA_METHOD *meth); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1147:3: warning: 'DSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1147 | DSA_meth_free (__openssl_methods.dsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:219:28: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 void DSA_meth_free(DSA_METHOD *dsam); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1153:3: warning: 'EC_KEY_METHOD_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1153 | EC_KEY_METHOD_free(__openssl_methods.eckey); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1462:28: note: declared here 1462 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_free(EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function 'pkcs11h_openssl_session_getRSA': pkcs11h-openssl.c:1395:3: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1395 | (rsa = EVP_PKEY_get1_RSA (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:28, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1350:16: note: declared here 1350 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1411:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1411 | RSA_free (rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ gmake[3]: *** [Makefile:613: pkcs11h-openssl.lo] Error 1 gmake[3]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/lib' gmake[2]: *** [Makefile:491: all] Error 2 gmake[2]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0/lib' gmake[1]: *** [Makefile:546: all-recursive] Error 1 gmake[1]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.alpha/pkcs11-helper-1.27.0' gmake: *** [Makefile:455: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/security/pkcs11-helper *** Error code 1 Stop. make: stopped in /usr/pkgsrc/security/pkcs11-helper