+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/softhsm2-2.6.1nb21/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/softhsm2-2.6.1nb21/work.log ===> Building for softhsm2-2.6.1nb21 --- ./aclocal.m4 --- CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/bash /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1/missing aclocal-1.16 -I m4 WARNING: 'aclocal' is missing on your system. You should only need it if you modified 'acinclude.m4' or 'configure.ac'. You might want to install the Automake and Perl packages. Grab them from any GNU archive site. --- ./configure --- --- ./config.h.in --- --- ./configure --- CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/bash /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1/missing autoconf --- ./config.h.in --- (CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/bash /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1/missing autoheader) --- ./configure --- WARNING: 'autoconf' is missing on your system. You should only need it if you modified 'configure.ac'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- ./config.status --- --- ./config.h.in --- WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.ac'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- ./config.status --- /usr/bin/bash ./config.status --recheck --- ./config.h.in --- rm -f stamp-h1 touch ./config.h.in --- stamp-h1 --- cd . && /usr/bin/bash ./config.status config.h config.status: creating config.h config.status: config.h is unchanged --- config.h --- --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- all-recursive --- Making all in lib --- all-recursive --- Making all in common --- ./Makefile.in --- --- ../../../config.status --- --- Configuration.lo --- --- fatal.lo --- --- ../../../config.status --- cd ../../.. && /opt/pkg/bin/bmake am--refresh --- Configuration.lo --- depbase=`echo Configuration.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT Configuration.lo -MD -MP -MF $depbase.Tpo -c -o Configuration.lo Configuration.cpp && mv -f $depbase.Tpo $depbase.Plo --- fatal.lo --- depbase=`echo fatal.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT fatal.lo -MD -MP -MF $depbase.Tpo -c -o fatal.lo fatal.cpp && mv -f $depbase.Tpo $depbase.Plo --- ../../../config.status --- --- ./Makefile.in --- cd . && /usr/bin/bash /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1/missing automake-1.16 --foreign --- ./Makefile.in --- --- ./Makefile.in --- cd . && /usr/bin/bash /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1/missing automake-1.16 --foreign WARNING: 'automake' is missing on your system. You should only need it if you modified 'Makefile.am', 'acinclude.m4' or 'configure.ac'. You might want to install the Automake and Perl packages. Grab them from any GNU archive site. --- ../../../config.status --- WARNING: 'automake' is missing on your system. You should only need it if you modified 'Makefile.am', 'acinclude.m4' or 'configure.ac'. You might want to install the Automake and Perl packages. Grab them from any GNU archive site. --- ./Makefile.in --- --- ./config.status --- /usr/bin/bash ./config.status --recheck --- Configuration.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT Configuration.lo -MD -MP -MF .deps/Configuration.Tpo -c Configuration.cpp -fPIC -DPIC -o .libs/Configuration.o --- fatal.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT fatal.lo -MD -MP -MF .deps/fatal.Tpo -c fatal.cpp -fPIC -DPIC -o .libs/fatal.o --- ./Makefile.in --- --- Makefile --- cd . && /usr/bin/bash ./config.status Makefile --- ../../../config.status --- --- ./config.status --- /usr/bin/bash ./config.status --recheck --- Makefile --- cd . && /usr/bin/bash ./config.status Makefile --- ./Makefile.in --- config.status: creating Makefile --- ../../../config.status --- config.status: creating Makefile --- ./Makefile.in --- --- am--refresh --- --- log.lo --- depbase=`echo log.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT log.lo -MD -MP -MF $depbase.Tpo -c -o log.lo log.cpp && mv -f $depbase.Tpo $depbase.Plo --- ../../../config.status --- --- am--refresh --- --- osmutex.lo --- depbase=`echo osmutex.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT osmutex.lo -MD -MP -MF $depbase.Tpo -c -o osmutex.lo osmutex.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT osmutex.lo -MD -MP -MF .deps/osmutex.Tpo -c osmutex.cpp -fPIC -DPIC -o .libs/osmutex.o --- log.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.cpp -fPIC -DPIC -o .libs/log.o --- fatal.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT fatal.lo -MD -MP -MF .deps/fatal.Tpo -c fatal.cpp -o fatal.o >/dev/null 2>&1 --- osmutex.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT osmutex.lo -MD -MP -MF .deps/osmutex.Tpo -c osmutex.cpp -o osmutex.o >/dev/null 2>&1 --- SimpleConfigLoader.lo --- depbase=`echo SimpleConfigLoader.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT SimpleConfigLoader.lo -MD -MP -MF $depbase.Tpo -c -o SimpleConfigLoader.lo SimpleConfigLoader.cpp && mv -f $depbase.Tpo $depbase.Plo --- log.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.cpp -o log.o >/dev/null 2>&1 --- SimpleConfigLoader.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SimpleConfigLoader.lo -MD -MP -MF .deps/SimpleConfigLoader.Tpo -c SimpleConfigLoader.cpp -fPIC -DPIC -o .libs/SimpleConfigLoader.o --- MutexFactory.lo --- depbase=`echo MutexFactory.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT MutexFactory.lo -MD -MP -MF $depbase.Tpo -c -o MutexFactory.lo MutexFactory.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT MutexFactory.lo -MD -MP -MF .deps/MutexFactory.Tpo -c MutexFactory.cpp -fPIC -DPIC -o .libs/MutexFactory.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT MutexFactory.lo -MD -MP -MF .deps/MutexFactory.Tpo -c MutexFactory.cpp -o MutexFactory.o >/dev/null 2>&1 --- Configuration.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT Configuration.lo -MD -MP -MF .deps/Configuration.Tpo -c Configuration.cpp -o Configuration.o >/dev/null 2>&1 --- Makefile --- cd ../../.. && /usr/bin/bash ./config.status src/lib/common/Makefile depfiles --- SimpleConfigLoader.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SimpleConfigLoader.lo -MD -MP -MF .deps/SimpleConfigLoader.Tpo -c SimpleConfigLoader.cpp -o SimpleConfigLoader.o >/dev/null 2>&1 --- Makefile --- config.status: creating src/lib/common/Makefile config.status: executing depfiles commands --- libsofthsm_common.la --- /usr/bin/bash ../../../libtool --tag=CXX --mode=link g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -pthread -L/usr/lib/amd64 -o libsofthsm_common.la Configuration.lo fatal.lo log.lo osmutex.lo SimpleConfigLoader.lo MutexFactory.lo -lpthread -lrt libtool: link: ar cr .libs/libsofthsm_common.a .libs/Configuration.o .libs/fatal.o .libs/log.o .libs/osmutex.o .libs/SimpleConfigLoader.o .libs/MutexFactory.o libtool: link: ranlib .libs/libsofthsm_common.a libtool: link: ( cd ".libs" && rm -f "libsofthsm_common.la" && ln -s "../libsofthsm_common.la" "libsofthsm_common.la" ) Making all in crypto --- all-recursive --- Making all in test --- ../../../../config.status --- cd ../../../.. && /opt/pkg/bin/bmake am--refresh --- ./config.status --- /usr/bin/bash ./config.status --recheck --- am--refresh --- --- Makefile --- cd ../../../.. && /usr/bin/bash ./config.status src/lib/crypto/test/Makefile depfiles config.status: creating src/lib/crypto/test/Makefile config.status: executing depfiles commands --- ../../../config.status --- --- AESKey.lo --- --- AsymmetricAlgorithm.lo --- --- AsymmetricKeyPair.lo --- --- ../../../config.status --- cd ../../.. && /opt/pkg/bin/bmake am--refresh --- AESKey.lo --- depbase=`echo AESKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT AESKey.lo -MD -MP -MF $depbase.Tpo -c -o AESKey.lo AESKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- AsymmetricAlgorithm.lo --- depbase=`echo AsymmetricAlgorithm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT AsymmetricAlgorithm.lo -MD -MP -MF $depbase.Tpo -c -o AsymmetricAlgorithm.lo AsymmetricAlgorithm.cpp && mv -f $depbase.Tpo $depbase.Plo --- AsymmetricKeyPair.lo --- depbase=`echo AsymmetricKeyPair.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT AsymmetricKeyPair.lo -MD -MP -MF $depbase.Tpo -c -o AsymmetricKeyPair.lo AsymmetricKeyPair.cpp && mv -f $depbase.Tpo $depbase.Plo --- ../../../config.status --- --- ./config.status --- /usr/bin/bash ./config.status --recheck --- am--refresh --- --- CryptoFactory.lo --- depbase=`echo CryptoFactory.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT CryptoFactory.lo -MD -MP -MF $depbase.Tpo -c -o CryptoFactory.lo CryptoFactory.cpp && mv -f $depbase.Tpo $depbase.Plo --- AESKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT AESKey.lo -MD -MP -MF .deps/AESKey.Tpo -c AESKey.cpp -fPIC -DPIC -o .libs/AESKey.o --- AsymmetricKeyPair.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT AsymmetricKeyPair.lo -MD -MP -MF .deps/AsymmetricKeyPair.Tpo -c AsymmetricKeyPair.cpp -fPIC -DPIC -o .libs/AsymmetricKeyPair.o --- AsymmetricAlgorithm.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT AsymmetricAlgorithm.lo -MD -MP -MF .deps/AsymmetricAlgorithm.Tpo -c AsymmetricAlgorithm.cpp -fPIC -DPIC -o .libs/AsymmetricAlgorithm.o --- CryptoFactory.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT CryptoFactory.lo -MD -MP -MF .deps/CryptoFactory.Tpo -c CryptoFactory.cpp -fPIC -DPIC -o .libs/CryptoFactory.o --- AsymmetricKeyPair.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT AsymmetricKeyPair.lo -MD -MP -MF .deps/AsymmetricKeyPair.Tpo -c AsymmetricKeyPair.cpp -o AsymmetricKeyPair.o >/dev/null 2>&1 --- AESKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT AESKey.lo -MD -MP -MF .deps/AESKey.Tpo -c AESKey.cpp -o AESKey.o >/dev/null 2>&1 --- CryptoFactory.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT CryptoFactory.lo -MD -MP -MF .deps/CryptoFactory.Tpo -c CryptoFactory.cpp -o CryptoFactory.o >/dev/null 2>&1 --- AsymmetricAlgorithm.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT AsymmetricAlgorithm.lo -MD -MP -MF .deps/AsymmetricAlgorithm.Tpo -c AsymmetricAlgorithm.cpp -o AsymmetricAlgorithm.o >/dev/null 2>&1 --- DerUtil.lo --- depbase=`echo DerUtil.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT DerUtil.lo -MD -MP -MF $depbase.Tpo -c -o DerUtil.lo DerUtil.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DerUtil.lo -MD -MP -MF .deps/DerUtil.Tpo -c DerUtil.cpp -fPIC -DPIC -o .libs/DerUtil.o --- DESKey.lo --- depbase=`echo DESKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT DESKey.lo -MD -MP -MF $depbase.Tpo -c -o DESKey.lo DESKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DESKey.lo -MD -MP -MF .deps/DESKey.Tpo -c DESKey.cpp -fPIC -DPIC -o .libs/DESKey.o --- DHParameters.lo --- depbase=`echo DHParameters.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT DHParameters.lo -MD -MP -MF $depbase.Tpo -c -o DHParameters.lo DHParameters.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DHParameters.lo -MD -MP -MF .deps/DHParameters.Tpo -c DHParameters.cpp -fPIC -DPIC -o .libs/DHParameters.o --- DHPublicKey.lo --- depbase=`echo DHPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT DHPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o DHPublicKey.lo DHPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DHPublicKey.lo -MD -MP -MF .deps/DHPublicKey.Tpo -c DHPublicKey.cpp -fPIC -DPIC -o .libs/DHPublicKey.o --- DerUtil.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DerUtil.lo -MD -MP -MF .deps/DerUtil.Tpo -c DerUtil.cpp -o DerUtil.o >/dev/null 2>&1 --- DESKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DESKey.lo -MD -MP -MF .deps/DESKey.Tpo -c DESKey.cpp -o DESKey.o >/dev/null 2>&1 --- DHPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DHPublicKey.lo -MD -MP -MF .deps/DHPublicKey.Tpo -c DHPublicKey.cpp -o DHPublicKey.o >/dev/null 2>&1 --- DHParameters.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DHParameters.lo -MD -MP -MF .deps/DHParameters.Tpo -c DHParameters.cpp -o DHParameters.o >/dev/null 2>&1 --- DHPrivateKey.lo --- depbase=`echo DHPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT DHPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o DHPrivateKey.lo DHPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- DSAParameters.lo --- depbase=`echo DSAParameters.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT DSAParameters.lo -MD -MP -MF $depbase.Tpo -c -o DSAParameters.lo DSAParameters.cpp && mv -f $depbase.Tpo $depbase.Plo --- DHPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DHPrivateKey.lo -MD -MP -MF .deps/DHPrivateKey.Tpo -c DHPrivateKey.cpp -fPIC -DPIC -o .libs/DHPrivateKey.o --- DSAParameters.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DSAParameters.lo -MD -MP -MF .deps/DSAParameters.Tpo -c DSAParameters.cpp -fPIC -DPIC -o .libs/DSAParameters.o --- DSAPublicKey.lo --- depbase=`echo DSAPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT DSAPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o DSAPublicKey.lo DSAPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- DSAPrivateKey.lo --- depbase=`echo DSAPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT DSAPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o DSAPrivateKey.lo DSAPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DSAPrivateKey.lo -MD -MP -MF .deps/DSAPrivateKey.Tpo -c DSAPrivateKey.cpp -fPIC -DPIC -o .libs/DSAPrivateKey.o --- DSAPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DSAPublicKey.lo -MD -MP -MF .deps/DSAPublicKey.Tpo -c DSAPublicKey.cpp -fPIC -DPIC -o .libs/DSAPublicKey.o --- DSAParameters.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DSAParameters.lo -MD -MP -MF .deps/DSAParameters.Tpo -c DSAParameters.cpp -o DSAParameters.o >/dev/null 2>&1 --- DHPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DHPrivateKey.lo -MD -MP -MF .deps/DHPrivateKey.Tpo -c DHPrivateKey.cpp -o DHPrivateKey.o >/dev/null 2>&1 --- DSAPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DSAPrivateKey.lo -MD -MP -MF .deps/DSAPrivateKey.Tpo -c DSAPrivateKey.cpp -o DSAPrivateKey.o >/dev/null 2>&1 --- DSAPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DSAPublicKey.lo -MD -MP -MF .deps/DSAPublicKey.Tpo -c DSAPublicKey.cpp -o DSAPublicKey.o >/dev/null 2>&1 --- ECParameters.lo --- depbase=`echo ECParameters.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT ECParameters.lo -MD -MP -MF $depbase.Tpo -c -o ECParameters.lo ECParameters.cpp && mv -f $depbase.Tpo $depbase.Plo --- ECPublicKey.lo --- depbase=`echo ECPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT ECPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o ECPublicKey.lo ECPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- ECParameters.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ECParameters.lo -MD -MP -MF .deps/ECParameters.Tpo -c ECParameters.cpp -fPIC -DPIC -o .libs/ECParameters.o --- ECPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ECPublicKey.lo -MD -MP -MF .deps/ECPublicKey.Tpo -c ECPublicKey.cpp -fPIC -DPIC -o .libs/ECPublicKey.o --- ECPrivateKey.lo --- depbase=`echo ECPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT ECPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o ECPrivateKey.lo ECPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ECPrivateKey.lo -MD -MP -MF .deps/ECPrivateKey.Tpo -c ECPrivateKey.cpp -fPIC -DPIC -o .libs/ECPrivateKey.o --- EDPublicKey.lo --- depbase=`echo EDPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT EDPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o EDPublicKey.lo EDPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT EDPublicKey.lo -MD -MP -MF .deps/EDPublicKey.Tpo -c EDPublicKey.cpp -fPIC -DPIC -o .libs/EDPublicKey.o --- ECParameters.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ECParameters.lo -MD -MP -MF .deps/ECParameters.Tpo -c ECParameters.cpp -o ECParameters.o >/dev/null 2>&1 --- ECPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ECPublicKey.lo -MD -MP -MF .deps/ECPublicKey.Tpo -c ECPublicKey.cpp -o ECPublicKey.o >/dev/null 2>&1 --- ECPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ECPrivateKey.lo -MD -MP -MF .deps/ECPrivateKey.Tpo -c ECPrivateKey.cpp -o ECPrivateKey.o >/dev/null 2>&1 --- EDPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT EDPublicKey.lo -MD -MP -MF .deps/EDPublicKey.Tpo -c EDPublicKey.cpp -o EDPublicKey.o >/dev/null 2>&1 --- EDPrivateKey.lo --- depbase=`echo EDPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT EDPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o EDPrivateKey.lo EDPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- GOSTPublicKey.lo --- depbase=`echo GOSTPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT GOSTPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o GOSTPublicKey.lo GOSTPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- GOSTPrivateKey.lo --- depbase=`echo GOSTPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT GOSTPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o GOSTPrivateKey.lo GOSTPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- EDPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT EDPrivateKey.lo -MD -MP -MF .deps/EDPrivateKey.Tpo -c EDPrivateKey.cpp -fPIC -DPIC -o .libs/EDPrivateKey.o --- GOSTPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT GOSTPublicKey.lo -MD -MP -MF .deps/GOSTPublicKey.Tpo -c GOSTPublicKey.cpp -fPIC -DPIC -o .libs/GOSTPublicKey.o --- GOSTPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT GOSTPrivateKey.lo -MD -MP -MF .deps/GOSTPrivateKey.Tpo -c GOSTPrivateKey.cpp -fPIC -DPIC -o .libs/GOSTPrivateKey.o --- HashAlgorithm.lo --- depbase=`echo HashAlgorithm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT HashAlgorithm.lo -MD -MP -MF $depbase.Tpo -c -o HashAlgorithm.lo HashAlgorithm.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT HashAlgorithm.lo -MD -MP -MF .deps/HashAlgorithm.Tpo -c HashAlgorithm.cpp -fPIC -DPIC -o .libs/HashAlgorithm.o --- GOSTPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT GOSTPrivateKey.lo -MD -MP -MF .deps/GOSTPrivateKey.Tpo -c GOSTPrivateKey.cpp -o GOSTPrivateKey.o >/dev/null 2>&1 --- EDPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT EDPrivateKey.lo -MD -MP -MF .deps/EDPrivateKey.Tpo -c EDPrivateKey.cpp -o EDPrivateKey.o >/dev/null 2>&1 --- GOSTPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT GOSTPublicKey.lo -MD -MP -MF .deps/GOSTPublicKey.Tpo -c GOSTPublicKey.cpp -o GOSTPublicKey.o >/dev/null 2>&1 --- HashAlgorithm.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT HashAlgorithm.lo -MD -MP -MF .deps/HashAlgorithm.Tpo -c HashAlgorithm.cpp -o HashAlgorithm.o >/dev/null 2>&1 --- MacAlgorithm.lo --- depbase=`echo MacAlgorithm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT MacAlgorithm.lo -MD -MP -MF $depbase.Tpo -c -o MacAlgorithm.lo MacAlgorithm.cpp && mv -f $depbase.Tpo $depbase.Plo --- RSAParameters.lo --- depbase=`echo RSAParameters.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT RSAParameters.lo -MD -MP -MF $depbase.Tpo -c -o RSAParameters.lo RSAParameters.cpp && mv -f $depbase.Tpo $depbase.Plo --- MacAlgorithm.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT MacAlgorithm.lo -MD -MP -MF .deps/MacAlgorithm.Tpo -c MacAlgorithm.cpp -fPIC -DPIC -o .libs/MacAlgorithm.o --- RSAParameters.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT RSAParameters.lo -MD -MP -MF .deps/RSAParameters.Tpo -c RSAParameters.cpp -fPIC -DPIC -o .libs/RSAParameters.o --- RSAPrivateKey.lo --- depbase=`echo RSAPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT RSAPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o RSAPrivateKey.lo RSAPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT RSAPrivateKey.lo -MD -MP -MF .deps/RSAPrivateKey.Tpo -c RSAPrivateKey.cpp -fPIC -DPIC -o .libs/RSAPrivateKey.o --- RSAPublicKey.lo --- depbase=`echo RSAPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT RSAPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o RSAPublicKey.lo RSAPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT RSAPublicKey.lo -MD -MP -MF .deps/RSAPublicKey.Tpo -c RSAPublicKey.cpp -fPIC -DPIC -o .libs/RSAPublicKey.o --- MacAlgorithm.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT MacAlgorithm.lo -MD -MP -MF .deps/MacAlgorithm.Tpo -c MacAlgorithm.cpp -o MacAlgorithm.o >/dev/null 2>&1 --- RSAParameters.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT RSAParameters.lo -MD -MP -MF .deps/RSAParameters.Tpo -c RSAParameters.cpp -o RSAParameters.o >/dev/null 2>&1 --- RSAPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT RSAPublicKey.lo -MD -MP -MF .deps/RSAPublicKey.Tpo -c RSAPublicKey.cpp -o RSAPublicKey.o >/dev/null 2>&1 --- RSAPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT RSAPrivateKey.lo -MD -MP -MF .deps/RSAPrivateKey.Tpo -c RSAPrivateKey.cpp -o RSAPrivateKey.o >/dev/null 2>&1 --- SymmetricAlgorithm.lo --- depbase=`echo SymmetricAlgorithm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT SymmetricAlgorithm.lo -MD -MP -MF $depbase.Tpo -c -o SymmetricAlgorithm.lo SymmetricAlgorithm.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SymmetricAlgorithm.lo -MD -MP -MF .deps/SymmetricAlgorithm.Tpo -c SymmetricAlgorithm.cpp -fPIC -DPIC -o .libs/SymmetricAlgorithm.o --- SymmetricKey.lo --- depbase=`echo SymmetricKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT SymmetricKey.lo -MD -MP -MF $depbase.Tpo -c -o SymmetricKey.lo SymmetricKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SymmetricKey.lo -MD -MP -MF .deps/SymmetricKey.Tpo -c SymmetricKey.cpp -fPIC -DPIC -o .libs/SymmetricKey.o --- OSSLAES.lo --- depbase=`echo OSSLAES.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLAES.lo -MD -MP -MF $depbase.Tpo -c -o OSSLAES.lo OSSLAES.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLAES.lo -MD -MP -MF .deps/OSSLAES.Tpo -c OSSLAES.cpp -fPIC -DPIC -o .libs/OSSLAES.o --- OSSLComp.lo --- depbase=`echo OSSLComp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLComp.lo -MD -MP -MF $depbase.Tpo -c -o OSSLComp.lo OSSLComp.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLComp.lo -MD -MP -MF .deps/OSSLComp.Tpo -c OSSLComp.cpp -fPIC -DPIC -o .libs/OSSLComp.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLComp.lo -MD -MP -MF .deps/OSSLComp.Tpo -c OSSLComp.cpp -o OSSLComp.o >/dev/null 2>&1 --- OSSLCryptoFactory.lo --- depbase=`echo OSSLCryptoFactory.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLCryptoFactory.lo -MD -MP -MF $depbase.Tpo -c -o OSSLCryptoFactory.lo OSSLCryptoFactory.cpp && mv -f $depbase.Tpo $depbase.Plo --- SymmetricAlgorithm.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SymmetricAlgorithm.lo -MD -MP -MF .deps/SymmetricAlgorithm.Tpo -c SymmetricAlgorithm.cpp -o SymmetricAlgorithm.o >/dev/null 2>&1 --- SymmetricKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SymmetricKey.lo -MD -MP -MF .deps/SymmetricKey.Tpo -c SymmetricKey.cpp -o SymmetricKey.o >/dev/null 2>&1 --- OSSLCryptoFactory.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLCryptoFactory.lo -MD -MP -MF .deps/OSSLCryptoFactory.Tpo -c OSSLCryptoFactory.cpp -fPIC -DPIC -o .libs/OSSLCryptoFactory.o --- OSSLAES.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLAES.lo -MD -MP -MF .deps/OSSLAES.Tpo -c OSSLAES.cpp -o OSSLAES.o >/dev/null 2>&1 --- OSSLDES.lo --- depbase=`echo OSSLDES.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLDES.lo -MD -MP -MF $depbase.Tpo -c -o OSSLDES.lo OSSLDES.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLCryptoFactory.lo --- OSSLCryptoFactory.cpp: In constructor 'OSSLCryptoFactory::OSSLCryptoFactory()': OSSLCryptoFactory.cpp:149:37: warning: 'ENGINE* ENGINE_by_id(const char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 149 | rdrand_engine = ENGINE_by_id("rdrand"); | ~~~~~~~~~~~~^~~~~~~~~~ In file included from OSSLCryptoFactory.h:45, from OSSLCryptoFactory.cpp:35: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ OSSLCryptoFactory.cpp:154:33: warning: 'int ENGINE_init(ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 154 | if (!ENGINE_init(rdrand_engine)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ OSSLCryptoFactory.cpp:159:45: warning: 'int ENGINE_set_default(ENGINE*, unsigned int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 159 | else if (!ENGINE_set_default(rdrand_engine, ENGINE_METHOD_RAND)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/engine.h:708:27: note: declared here 708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags); | ^~~~~~~~~~~~~~~~~~ OSSLCryptoFactory.cpp: In destructor 'virtual OSSLCryptoFactory::~OSSLCryptoFactory()': OSSLCryptoFactory.cpp:240:22: warning: 'int ENGINE_finish(ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 240 | ENGINE_finish(rdrand_engine); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/engine.h:628:27: note: declared here 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); | ^~~~~~~~~~~~~ OSSLCryptoFactory.cpp:241:20: warning: 'int ENGINE_free(ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 241 | ENGINE_free(rdrand_engine); | ~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ --- OSSLDH.lo --- depbase=`echo OSSLDH.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLDH.lo -MD -MP -MF $depbase.Tpo -c -o OSSLDH.lo OSSLDH.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLDES.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDES.lo -MD -MP -MF .deps/OSSLDES.Tpo -c OSSLDES.cpp -fPIC -DPIC -o .libs/OSSLDES.o --- OSSLDH.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDH.lo -MD -MP -MF .deps/OSSLDH.Tpo -c OSSLDH.cpp -fPIC -DPIC -o .libs/OSSLDH.o --- OSSLDHKeyPair.lo --- depbase=`echo OSSLDHKeyPair.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLDHKeyPair.lo -MD -MP -MF $depbase.Tpo -c -o OSSLDHKeyPair.lo OSSLDHKeyPair.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLCryptoFactory.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLCryptoFactory.lo -MD -MP -MF .deps/OSSLCryptoFactory.Tpo -c OSSLCryptoFactory.cpp -o OSSLCryptoFactory.o >/dev/null 2>&1 --- OSSLDHKeyPair.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDHKeyPair.lo -MD -MP -MF .deps/OSSLDHKeyPair.Tpo -c OSSLDHKeyPair.cpp -fPIC -DPIC -o .libs/OSSLDHKeyPair.o --- OSSLDH.lo --- OSSLDH.cpp: In member function 'virtual bool OSSLDH::generateKeyPair(AsymmetricKeyPair**, AsymmetricParameters*, RNG*)': OSSLDH.cpp:130:24: warning: 'DH* DH_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 130 | DH* dh = DH_new(); | ~~~~~~^~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ OSSLDH.cpp:141:25: warning: 'int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | if (!DH_set0_pqg(dh, bn_p, NULL, bn_g)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ OSSLDH.cpp:147:24: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 147 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDH.cpp:154:35: warning: 'int DH_set_length(DH*, long int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 154 | if (!DH_set_length(dh, params->getXBitLength())) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:280:27: note: declared here 280 | OSSL_DEPRECATEDIN_3_0 int DH_set_length(DH *dh, long length); | ^~~~~~~~~~~~~ OSSLDH.cpp:158:32: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDH.cpp:164:28: warning: 'int DH_generate_key(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 164 | if (DH_generate_key(dh) != 1) | ~~~~~~~~~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:234:27: note: declared here 234 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ OSSLDH.cpp:168:24: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 168 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDH.cpp:182:16: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 182 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDH.cpp: In member function 'virtual bool OSSLDH::deriveKey(SymmetricKey**, PublicKey*, PrivateKey*)': OSSLDH.cpp:207:20: warning: 'void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | DH_get0_key(pub, &bn_pub_key, NULL); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:267:28: note: declared here 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ OSSLDH.cpp:217:27: warning: 'int DH_size(const DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 217 | int size = DH_size(priv); | ~~~~~~~^~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ OSSLDH.cpp:220:37: warning: 'int DH_compute_key(unsigned char*, const BIGNUM*, DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 220 | int keySize = DH_compute_key(&derivedSecret[0], bn_pub_key, priv); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:235:27: note: declared here 235 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ OSSLDH.cpp: In member function 'virtual bool OSSLDH::generateParameters(AsymmetricParameters**, void*, RNG*)': OSSLDH.cpp:276:24: warning: 'DH* DH_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 276 | DH* dh = DH_new(); | ~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ OSSLDH.cpp:284:39: warning: 'int DH_generate_parameters_ex(DH*, int, int, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 284 | if (!DH_generate_parameters_ex(dh, bitLen, 2, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:223:27: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~ OSSLDH.cpp:288:24: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDH.cpp:299:20: warning: 'void DH_get0_pqg(const DH*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 299 | DH_get0_pqg(dh, &bn_p, NULL, &bn_g); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:264:28: note: declared here 264 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ OSSLDH.cpp:305:16: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 305 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ --- OSSLDES.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDES.lo -MD -MP -MF .deps/OSSLDES.Tpo -c OSSLDES.cpp -o OSSLDES.o >/dev/null 2>&1 --- OSSLDH.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDH.lo -MD -MP -MF .deps/OSSLDH.Tpo -c OSSLDH.cpp -o OSSLDH.o >/dev/null 2>&1 --- OSSLDHPrivateKey.lo --- depbase=`echo OSSLDHPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLDHPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLDHPrivateKey.lo OSSLDHPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLDHKeyPair.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDHKeyPair.lo -MD -MP -MF .deps/OSSLDHKeyPair.Tpo -c OSSLDHKeyPair.cpp -o OSSLDHKeyPair.o >/dev/null 2>&1 --- OSSLDHPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDHPrivateKey.lo -MD -MP -MF .deps/OSSLDHPrivateKey.Tpo -c OSSLDHPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLDHPrivateKey.o --- OSSLDHPublicKey.lo --- depbase=`echo OSSLDHPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLDHPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLDHPublicKey.lo OSSLDHPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDHPublicKey.lo -MD -MP -MF .deps/OSSLDHPublicKey.Tpo -c OSSLDHPublicKey.cpp -fPIC -DPIC -o .libs/OSSLDHPublicKey.o --- OSSLDHPrivateKey.lo --- OSSLDHPrivateKey.cpp: In destructor 'virtual OSSLDHPrivateKey::~OSSLDHPrivateKey()': OSSLDHPrivateKey.cpp:61:16: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 61 | DH_free(dh); | ~~~~~~~^~~~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDHPrivateKey.cpp: In member function 'virtual void OSSLDHPrivateKey::setFromOSSL(const DH*)': OSSLDHPrivateKey.cpp:74:20: warning: 'void DH_get0_pqg(const DH*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 74 | DH_get0_pqg(inDH, &bn_p, NULL, &bn_g); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:264:28: note: declared here 264 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ OSSLDHPrivateKey.cpp:75:20: warning: 'void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 75 | DH_get0_key(inDH, NULL, &bn_priv_key); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:267:28: note: declared here 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ OSSLDHPrivateKey.cpp: In member function 'virtual void OSSLDHPrivateKey::setX(const ByteString&)': OSSLDHPrivateKey.cpp:107:24: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 107 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDHPrivateKey.cpp: In member function 'virtual void OSSLDHPrivateKey::setP(const ByteString&)': OSSLDHPrivateKey.cpp:120:24: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 120 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDHPrivateKey.cpp: In member function 'virtual void OSSLDHPrivateKey::setG(const ByteString&)': OSSLDHPrivateKey.cpp:131:24: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 131 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDHPrivateKey.cpp: In member function 'virtual ByteString OSSLDHPrivateKey::PKCS8Encode()': OSSLDHPrivateKey.cpp:144:30: warning: 'int EVP_PKEY_set1_DH(EVP_PKEY*, dh_st*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | if (!EVP_PKEY_set1_DH(pkey, dh)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/x509.h:29, from OSSLDHPrivateKey.cpp:39: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/evp.h:1372:27: note: declared here 1372 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); | ^~~~~~~~~~~~~~~~ OSSLDHPrivateKey.cpp: In member function 'virtual bool OSSLDHPrivateKey::PKCS8Decode(const ByteString&)': OSSLDHPrivateKey.cpp:177:35: warning: 'dh_st* EVP_PKEY_get1_DH(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 177 | DH* key = EVP_PKEY_get1_DH(pkey); | ~~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/evp.h:1374:37: note: declared here 1374 | OSSL_DEPRECATEDIN_3_0 struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ OSSLDHPrivateKey.cpp:181:16: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 181 | DH_free(key); | ~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDHPrivateKey.cpp: In member function 'void OSSLDHPrivateKey::createOSSLKey()': OSSLDHPrivateKey.cpp:205:20: warning: 'DH* DH_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 205 | dh = DH_new(); | ~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ OSSLDHPrivateKey.cpp:225:37: warning: 'const DH_METHOD* DH_OpenSSL()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 225 | DH_set_method(dh, DH_OpenSSL()); | ~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:203:40: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 const DH_METHOD *DH_OpenSSL(void); | ^~~~~~~~~~ OSSLDHPrivateKey.cpp:225:22: warning: 'int DH_set_method(DH*, const DH_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 225 | DH_set_method(dh, DH_OpenSSL()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int DH_set_method(DH *dh, const DH_METHOD *meth); | ^~~~~~~~~~~~~ OSSLDHPrivateKey.cpp:236:20: warning: 'int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 236 | DH_set0_pqg(dh, bn_p, NULL, bn_g); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ OSSLDHPrivateKey.cpp:237:20: warning: 'int DH_set0_key(DH*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 237 | DH_set0_key(dh, bn_pub_key, bn_priv_key); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:269:27: note: declared here 269 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ --- OSSLDSA.lo --- depbase=`echo OSSLDSA.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSA.lo -MD -MP -MF $depbase.Tpo -c -o OSSLDSA.lo OSSLDSA.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSA.lo -MD -MP -MF .deps/OSSLDSA.Tpo -c OSSLDSA.cpp -fPIC -DPIC -o .libs/OSSLDSA.o --- OSSLDSAKeyPair.lo --- depbase=`echo OSSLDSAKeyPair.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSAKeyPair.lo -MD -MP -MF $depbase.Tpo -c -o OSSLDSAKeyPair.lo OSSLDSAKeyPair.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSAKeyPair.lo -MD -MP -MF .deps/OSSLDSAKeyPair.Tpo -c OSSLDSAKeyPair.cpp -fPIC -DPIC -o .libs/OSSLDSAKeyPair.o --- OSSLDHPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDHPrivateKey.lo -MD -MP -MF .deps/OSSLDHPrivateKey.Tpo -c OSSLDHPrivateKey.cpp -o OSSLDHPrivateKey.o >/dev/null 2>&1 --- OSSLDHPublicKey.lo --- OSSLDHPublicKey.cpp: In destructor 'virtual OSSLDHPublicKey::~OSSLDHPublicKey()': OSSLDHPublicKey.cpp:60:16: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | DH_free(dh); | ~~~~~~~^~~~ In file included from OSSLDHPublicKey.h:38, from OSSLDHPublicKey.cpp:36: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDHPublicKey.cpp: In member function 'virtual void OSSLDHPublicKey::setFromOSSL(const DH*)': OSSLDHPublicKey.cpp:73:20: warning: 'void DH_get0_pqg(const DH*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 73 | DH_get0_pqg(inDH, &bn_p, NULL, &bn_g); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:264:28: note: declared here 264 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ OSSLDHPublicKey.cpp:74:20: warning: 'void DH_get0_key(const DH*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 74 | DH_get0_key(inDH, &bn_pub_key, NULL); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:267:28: note: declared here 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ OSSLDHPublicKey.cpp: In member function 'virtual void OSSLDHPublicKey::setP(const ByteString&)': OSSLDHPublicKey.cpp:106:24: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 106 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDHPublicKey.cpp: In member function 'virtual void OSSLDHPublicKey::setG(const ByteString&)': OSSLDHPublicKey.cpp:117:24: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 117 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDHPublicKey.cpp: In member function 'virtual void OSSLDHPublicKey::setY(const ByteString&)': OSSLDHPublicKey.cpp:128:24: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 128 | DH_free(dh); | ~~~~~~~^~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ OSSLDHPublicKey.cpp: In member function 'void OSSLDHPublicKey::createOSSLKey()': OSSLDHPublicKey.cpp:146:20: warning: 'DH* DH_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | dh = DH_new(); | ~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ OSSLDHPublicKey.cpp:166:37: warning: 'const DH_METHOD* DH_OpenSSL()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 166 | DH_set_method(dh, DH_OpenSSL()); | ~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:203:40: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 const DH_METHOD *DH_OpenSSL(void); | ^~~~~~~~~~ OSSLDHPublicKey.cpp:166:22: warning: 'int DH_set_method(DH*, const DH_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 166 | DH_set_method(dh, DH_OpenSSL()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int DH_set_method(DH *dh, const DH_METHOD *meth); | ^~~~~~~~~~~~~ OSSLDHPublicKey.cpp:173:20: warning: 'int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 173 | DH_set0_pqg(dh, bn_p, NULL, bn_g); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ OSSLDHPublicKey.cpp:174:20: warning: 'int DH_set0_key(DH*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 174 | DH_set0_key(dh, bn_pub_key, NULL); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dh.h:269:27: note: declared here 269 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDHPublicKey.lo -MD -MP -MF .deps/OSSLDHPublicKey.Tpo -c OSSLDHPublicKey.cpp -o OSSLDHPublicKey.o >/dev/null 2>&1 --- OSSLDSA.lo --- OSSLDSA.cpp: In member function 'virtual bool OSSLDSA::sign(PrivateKey*, const ByteString&, ByteString&, AsymMech::Type, const void*, std::size_t)': OSSLDSA.cpp:86:43: warning: 'DSA_SIG* DSA_do_sign(const unsigned char*, int, DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 86 | DSA_SIG* sig = DSA_do_sign(dataToSign.const_byte_str(), dLen, dsa); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:118:32: note: declared here 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ OSSLDSA.cpp: In member function 'virtual bool OSSLDSA::signFinal(ByteString&)': OSSLDSA.cpp:225:35: warning: 'DSA_SIG* DSA_do_sign(const unsigned char*, int, DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 225 | DSA_SIG* sig = DSA_do_sign(&hash[0], hash.size(), dsa); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:118:32: note: declared here 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ OSSLDSA.cpp: In member function 'virtual bool OSSLDSA::verify(PublicKey*, const ByteString&, const ByteString&, AsymMech::Type, const void*, std::size_t)': OSSLDSA.cpp:273:40: warning: 'int DSA_do_verify(const unsigned char*, int, DSA_SIG*, DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 273 | int ret = DSA_do_verify(originalData.const_byte_str(), dLen, sig, pk->getOSSLKey()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:120:27: note: declared here 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ OSSLDSA.cpp: In member function 'virtual bool OSSLDSA::verifyFinal(const ByteString&)': OSSLDSA.cpp:424:32: warning: 'int DSA_do_verify(const unsigned char*, int, DSA_SIG*, DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 424 | int ret = DSA_do_verify(&hash[0], hash.size(), sig, pk->getOSSLKey()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:120:27: note: declared here 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ OSSLDSA.cpp: In member function 'virtual bool OSSLDSA::generateKeyPair(AsymmetricKeyPair**, AsymmetricParameters*, RNG*)': OSSLDSA.cpp:476:27: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 476 | DSA* dsa = DSA_new(); | ~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ OSSLDSA.cpp:485:51: warning: 'const DSA_METHOD* DSA_get_default_method()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 485 | DSA_set_method(dsa, DSA_get_default_method()); | ~~~~~~~~~~~~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:126:41: note: declared here 126 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ OSSLDSA.cpp:485:23: warning: 'int DSA_set_method(DSA*, const DSA_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 485 | DSA_set_method(dsa, DSA_get_default_method()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:127:27: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); | ^~~~~~~~~~~~~~ OSSLDSA.cpp:490:21: warning: 'int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 490 | DSA_set0_pqg(dsa, bn_p, bn_q, bn_g); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ OSSLDSA.cpp:492:29: warning: 'int DSA_generate_key(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 492 | if (DSA_generate_key(dsa) != 1) | ~~~~~~~~~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:179:27: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ OSSLDSA.cpp:496:25: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 496 | DSA_free(dsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSA.cpp:510:17: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 510 | DSA_free(dsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSA.cpp: In member function 'virtual bool OSSLDSA::generateParameters(AsymmetricParameters**, void*, RNG*)': OSSLDSA.cpp:546:27: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 546 | DSA* dsa = DSA_new(); | ~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ OSSLDSA.cpp:549:40: warning: 'int DSA_generate_parameters_ex(DSA*, int, const unsigned char*, int, int*, long unsigned int*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 549 | !DSA_generate_parameters_ex(dsa, bitLen, NULL, 0, NULL, NULL, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:172:27: note: declared here 172 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OSSLDSA.cpp:562:21: warning: 'void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 562 | DSA_get0_pqg(dsa, &bn_p, &bn_q, &bn_g); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ OSSLDSA.cpp:570:17: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 570 | DSA_free(dsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ --- OSSLDSAKeyPair.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSAKeyPair.lo -MD -MP -MF .deps/OSSLDSAKeyPair.Tpo -c OSSLDSAKeyPair.cpp -o OSSLDSAKeyPair.o >/dev/null 2>&1 --- OSSLDSAPrivateKey.lo --- depbase=`echo OSSLDSAPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSAPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLDSAPrivateKey.lo OSSLDSAPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSAPrivateKey.lo -MD -MP -MF .deps/OSSLDSAPrivateKey.Tpo -c OSSLDSAPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLDSAPrivateKey.o --- OSSLDSA.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSA.lo -MD -MP -MF .deps/OSSLDSA.Tpo -c OSSLDSA.cpp -o OSSLDSA.o >/dev/null 2>&1 --- OSSLDSAPublicKey.lo --- depbase=`echo OSSLDSAPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSAPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLDSAPublicKey.lo OSSLDSAPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLECDH.lo --- depbase=`echo OSSLECDH.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLECDH.lo -MD -MP -MF $depbase.Tpo -c -o OSSLECDH.lo OSSLECDH.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLDSAPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSAPublicKey.lo -MD -MP -MF .deps/OSSLDSAPublicKey.Tpo -c OSSLDSAPublicKey.cpp -fPIC -DPIC -o .libs/OSSLDSAPublicKey.o --- OSSLECDH.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLECDH.lo -MD -MP -MF .deps/OSSLECDH.Tpo -c OSSLECDH.cpp -fPIC -DPIC -o .libs/OSSLECDH.o --- OSSLDSAPrivateKey.lo --- OSSLDSAPrivateKey.cpp: In destructor 'virtual OSSLDSAPrivateKey::~OSSLDSAPrivateKey()': OSSLDSAPrivateKey.cpp:61:17: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 61 | DSA_free(dsa); | ~~~~~~~~^~~~~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSAPrivateKey.cpp: In member function 'virtual void OSSLDSAPrivateKey::setFromOSSL(const DSA*)': OSSLDSAPrivateKey.cpp:75:21: warning: 'void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 75 | DSA_get0_pqg(inDSA, &bn_p, &bn_q, &bn_g); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ OSSLDSAPrivateKey.cpp:76:21: warning: 'void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | DSA_get0_key(inDSA, NULL, &bn_priv_key); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ OSSLDSAPrivateKey.cpp: In member function 'virtual void OSSLDSAPrivateKey::setX(const ByteString&)': OSSLDSAPrivateKey.cpp:113:25: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | DSA_free(dsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSAPrivateKey.cpp: In member function 'virtual void OSSLDSAPrivateKey::setP(const ByteString&)': OSSLDSAPrivateKey.cpp:126:25: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 126 | DSA_free(dsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSAPrivateKey.cpp: In member function 'virtual void OSSLDSAPrivateKey::setQ(const ByteString&)': OSSLDSAPrivateKey.cpp:137:25: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 137 | DSA_free(dsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSAPrivateKey.cpp: In member function 'virtual void OSSLDSAPrivateKey::setG(const ByteString&)': OSSLDSAPrivateKey.cpp:148:25: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 148 | DSA_free(dsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSAPrivateKey.cpp: In member function 'virtual ByteString OSSLDSAPrivateKey::PKCS8Encode()': OSSLDSAPrivateKey.cpp:161:31: warning: 'int EVP_PKEY_set1_DSA(EVP_PKEY*, dsa_st*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | if (!EVP_PKEY_set1_DSA(pkey, dsa)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/x509.h:29, from OSSLDSAPrivateKey.cpp:39: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/evp.h:1363:5: note: declared here 1363 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ OSSLDSAPrivateKey.cpp: In member function 'virtual bool OSSLDSAPrivateKey::PKCS8Decode(const ByteString&)': OSSLDSAPrivateKey.cpp:194:37: warning: 'dsa_st* EVP_PKEY_get1_DSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 194 | DSA* key = EVP_PKEY_get1_DSA(pkey); | ~~~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/evp.h:1367:16: note: declared here 1367 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ OSSLDSAPrivateKey.cpp:198:17: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 198 | DSA_free(key); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSAPrivateKey.cpp: In member function 'void OSSLDSAPrivateKey::createOSSLKey()': OSSLDSAPrivateKey.cpp:222:22: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 222 | dsa = DSA_new(); | ~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ OSSLDSAPrivateKey.cpp:242:40: warning: 'const DSA_METHOD* DSA_OpenSSL()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | DSA_set_method(dsa, DSA_OpenSSL()); | ~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:123:41: note: declared here 123 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_OpenSSL(void); | ^~~~~~~~~~~ OSSLDSAPrivateKey.cpp:242:23: warning: 'int DSA_set_method(DSA*, const DSA_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | DSA_set_method(dsa, DSA_OpenSSL()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:127:27: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); | ^~~~~~~~~~~~~~ OSSLDSAPrivateKey.cpp:254:21: warning: 'int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 254 | DSA_set0_pqg(dsa, bn_p, bn_q, bn_g); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ OSSLDSAPrivateKey.cpp:255:21: warning: 'int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 255 | DSA_set0_key(dsa, bn_pub_key, bn_priv_key); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSAPrivateKey.lo -MD -MP -MF .deps/OSSLDSAPrivateKey.Tpo -c OSSLDSAPrivateKey.cpp -o OSSLDSAPrivateKey.o >/dev/null 2>&1 --- OSSLDSAPublicKey.lo --- OSSLDSAPublicKey.cpp: In destructor 'virtual OSSLDSAPublicKey::~OSSLDSAPublicKey()': OSSLDSAPublicKey.cpp:60:17: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | DSA_free(dsa); | ~~~~~~~~^~~~~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSAPublicKey.cpp: In member function 'virtual void OSSLDSAPublicKey::setFromOSSL(const DSA*)': OSSLDSAPublicKey.cpp:74:21: warning: 'void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 74 | DSA_get0_pqg(inDSA, &bn_p, &bn_q, &bn_g); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ OSSLDSAPublicKey.cpp:75:21: warning: 'void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 75 | DSA_get0_key(inDSA, &bn_pub_key, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ OSSLDSAPublicKey.cpp: In member function 'virtual void OSSLDSAPublicKey::setP(const ByteString&)': OSSLDSAPublicKey.cpp:112:25: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 112 | DSA_free(dsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSAPublicKey.cpp: In member function 'virtual void OSSLDSAPublicKey::setQ(const ByteString&)': OSSLDSAPublicKey.cpp:123:25: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 123 | DSA_free(dsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSAPublicKey.cpp: In member function 'virtual void OSSLDSAPublicKey::setG(const ByteString&)': OSSLDSAPublicKey.cpp:134:25: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | DSA_free(dsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSAPublicKey.cpp: In member function 'virtual void OSSLDSAPublicKey::setY(const ByteString&)': OSSLDSAPublicKey.cpp:145:25: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | DSA_free(dsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ OSSLDSAPublicKey.cpp: In member function 'void OSSLDSAPublicKey::createOSSLKey()': OSSLDSAPublicKey.cpp:163:22: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 163 | dsa = DSA_new(); | ~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ OSSLDSAPublicKey.cpp:183:40: warning: 'const DSA_METHOD* DSA_OpenSSL()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 183 | DSA_set_method(dsa, DSA_OpenSSL()); | ~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:123:41: note: declared here 123 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_OpenSSL(void); | ^~~~~~~~~~~ OSSLDSAPublicKey.cpp:183:23: warning: 'int DSA_set_method(DSA*, const DSA_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 183 | DSA_set_method(dsa, DSA_OpenSSL()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:127:27: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); | ^~~~~~~~~~~~~~ OSSLDSAPublicKey.cpp:191:21: warning: 'int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | DSA_set0_pqg(dsa, bn_p, bn_q, bn_g); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ OSSLDSAPublicKey.cpp:192:21: warning: 'int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 192 | DSA_set0_key(dsa, bn_pub_key, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ --- OSSLECDH.lo --- OSSLECDH.cpp: In member function 'virtual bool OSSLECDH::generateKeyPair(AsymmetricKeyPair**, AsymmetricParameters*, RNG*)': OSSLECDH.cpp:133:35: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | EC_KEY* eckey = EC_KEY_new(); | ~~~~~~~~~~^~ In file included from /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ OSSLECDH.cpp:143:25: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 143 | EC_KEY_set_group(eckey, grp); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ OSSLECDH.cpp:146:33: warning: 'int EC_KEY_generate_key(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | if (!EC_KEY_generate_key(eckey)) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ OSSLECDH.cpp:150:28: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 150 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ OSSLECDH.cpp:164:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 164 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ OSSLECDH.cpp: In member function 'virtual bool OSSLECDH::deriveKey(SymmetricKey**, PublicKey*, PrivateKey*)': OSSLECDH.cpp:182:50: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 182 | if (pub == NULL || EC_KEY_get0_public_key(pub) == NULL || priv == NULL) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~~~~~~ OSSLECDH.cpp:209:46: warning: 'const EC_KEY_METHOD* EC_KEY_OpenSSL()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 209 | EC_KEY_set_method(pub, EC_KEY_OpenSSL()); | ~~~~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1298:44: note: declared here 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | ^~~~~~~~~~~~~~ OSSLECDH.cpp:209:26: warning: 'int EC_KEY_set_method(EC_KEY*, const EC_KEY_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 209 | EC_KEY_set_method(pub, EC_KEY_OpenSSL()); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~ OSSLECDH.cpp:210:47: warning: 'const EC_KEY_METHOD* EC_KEY_OpenSSL()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 210 | EC_KEY_set_method(priv, EC_KEY_OpenSSL()); | ~~~~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1298:44: note: declared here 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | ^~~~~~~~~~~~~~ OSSLECDH.cpp:210:26: warning: 'int EC_KEY_set_method(EC_KEY*, const EC_KEY_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 210 | EC_KEY_set_method(priv, EC_KEY_OpenSSL()); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~ OSSLECDH.cpp:218:103: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 218 | int keySize = ECDH_compute_key(&derivedSecret[0], derivedSecret.size(), EC_KEY_get0_public_key(pub), priv, NULL); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~~~~~~ OSSLECDH.cpp:218:39: warning: 'int ECDH_compute_key(void*, std::size_t, const EC_POINT*, const EC_KEY*, void* (*)(const void*, std::size_t, void*, std::size_t*))' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 218 | int keySize = ECDH_compute_key(&derivedSecret[0], derivedSecret.size(), EC_KEY_get0_public_key(pub), priv, NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1315:27: note: declared here 1315 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen, | ^~~~~~~~~~~~~~~~ --- OSSLECDSA.lo --- depbase=`echo OSSLECDSA.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLECDSA.lo -MD -MP -MF $depbase.Tpo -c -o OSSLECDSA.lo OSSLECDSA.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLDSAPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLDSAPublicKey.lo -MD -MP -MF .deps/OSSLDSAPublicKey.Tpo -c OSSLDSAPublicKey.cpp -o OSSLDSAPublicKey.o >/dev/null 2>&1 --- OSSLECDSA.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLECDSA.lo -MD -MP -MF .deps/OSSLECDSA.Tpo -c OSSLECDSA.cpp -fPIC -DPIC -o .libs/OSSLECDSA.o --- OSSLECDH.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLECDH.lo -MD -MP -MF .deps/OSSLECDH.Tpo -c OSSLECDH.cpp -o OSSLECDH.o >/dev/null 2>&1 --- OSSLECKeyPair.lo --- depbase=`echo OSSLECKeyPair.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLECKeyPair.lo -MD -MP -MF $depbase.Tpo -c -o OSSLECKeyPair.lo OSSLECKeyPair.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLECKeyPair.lo -MD -MP -MF .deps/OSSLECKeyPair.Tpo -c OSSLECKeyPair.cpp -fPIC -DPIC -o .libs/OSSLECKeyPair.o --- OSSLECDSA.lo --- OSSLECDSA.cpp: In member function 'virtual bool OSSLECDSA::sign(PrivateKey*, const ByteString&, ByteString&, AsymMech::Type, const void*, std::size_t)': OSSLECDSA.cpp:93:48: warning: 'const EC_KEY_METHOD* EC_KEY_OpenSSL()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 93 | EC_KEY_set_method(eckey, EC_KEY_OpenSSL()); | ~~~~~~~~~~~~~~^~ In file included from /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1298:44: note: declared here 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | ^~~~~~~~~~~~~~ OSSLECDSA.cpp:93:26: warning: 'int EC_KEY_set_method(EC_KEY*, const EC_KEY_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 93 | EC_KEY_set_method(eckey, EC_KEY_OpenSSL()); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~ OSSLECDSA.cpp:105:39: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 105 | ECDSA_SIG *sig = ECDSA_do_sign(dataToSign.const_byte_str(), dataToSign.size(), eckey); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1384:34: note: declared here 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ OSSLECDSA.cpp: In member function 'virtual bool OSSLECDSA::verify(PublicKey*, const ByteString&, const ByteString&, AsymMech::Type, const void*, std::size_t)': OSSLECDSA.cpp:185:48: warning: 'const EC_KEY_METHOD* EC_KEY_OpenSSL()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 185 | EC_KEY_set_method(eckey, EC_KEY_OpenSSL()); | ~~~~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1298:44: note: declared here 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | ^~~~~~~~~~~~~~ OSSLECDSA.cpp:185:26: warning: 'int EC_KEY_set_method(EC_KEY*, const EC_KEY_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 185 | EC_KEY_set_method(eckey, EC_KEY_OpenSSL()); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~ OSSLECDSA.cpp:216:34: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | int ret = ECDSA_do_verify(originalData.const_byte_str(), originalData.size(), sig, eckey); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1410:27: note: declared here 1410 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ OSSLECDSA.cpp: In member function 'virtual bool OSSLECDSA::generateKeyPair(AsymmetricKeyPair**, AsymmetricParameters*, RNG*)': OSSLECDSA.cpp:290:35: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 290 | EC_KEY* eckey = EC_KEY_new(); | ~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ OSSLECDSA.cpp:299:25: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 299 | EC_KEY_set_group(eckey, grp); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ OSSLECDSA.cpp:302:33: warning: 'int EC_KEY_generate_key(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 302 | if (!EC_KEY_generate_key(eckey)) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ OSSLECDSA.cpp:306:28: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 306 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ OSSLECDSA.cpp:320:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 320 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ --- OSSLECPrivateKey.lo --- depbase=`echo OSSLECPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLECPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLECPrivateKey.lo OSSLECPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLECPrivateKey.lo -MD -MP -MF .deps/OSSLECPrivateKey.Tpo -c OSSLECPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLECPrivateKey.o --- OSSLECPublicKey.lo --- depbase=`echo OSSLECPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLECPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLECPublicKey.lo OSSLECPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLECDSA.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLECDSA.lo -MD -MP -MF .deps/OSSLECDSA.Tpo -c OSSLECDSA.cpp -o OSSLECDSA.o >/dev/null 2>&1 --- OSSLECPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLECPublicKey.lo -MD -MP -MF .deps/OSSLECPublicKey.Tpo -c OSSLECPublicKey.cpp -fPIC -DPIC -o .libs/OSSLECPublicKey.o --- OSSLECKeyPair.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLECKeyPair.lo -MD -MP -MF .deps/OSSLECKeyPair.Tpo -c OSSLECKeyPair.cpp -o OSSLECKeyPair.o >/dev/null 2>&1 --- OSSLECPublicKey.lo --- OSSLECPublicKey.cpp: In constructor 'OSSLECPublicKey::OSSLECPublicKey()': OSSLECPublicKey.cpp:44:27: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 44 | eckey = EC_KEY_new(); | ~~~~~~~~~~^~ In file included from OSSLECPublicKey.h:38, from OSSLECPublicKey.cpp:36: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ OSSLECPublicKey.cpp: In constructor 'OSSLECPublicKey::OSSLECPublicKey(const EC_KEY*)': OSSLECPublicKey.cpp:49:27: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 49 | eckey = EC_KEY_new(); | ~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ OSSLECPublicKey.cpp: In destructor 'virtual OSSLECPublicKey::~OSSLECPublicKey()': OSSLECPublicKey.cpp:57:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 57 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ OSSLECPublicKey.cpp: In member function 'virtual long unsigned int OSSLECPublicKey::getOrderLength() const': OSSLECPublicKey.cpp:66:48: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 66 | const EC_GROUP* grp = EC_KEY_get0_group(eckey); | ~~~~~~~~~~~~~~~~~^~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~ OSSLECPublicKey.cpp: In member function 'virtual void OSSLECPublicKey::setFromOSSL(const EC_KEY*)': OSSLECPublicKey.cpp:87:48: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 87 | const EC_GROUP* grp = EC_KEY_get0_group(inECKEY); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~ OSSLECPublicKey.cpp:93:53: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 93 | const EC_POINT* pub = EC_KEY_get0_public_key(inECKEY); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~~~~~~ OSSLECPublicKey.cpp: In member function 'virtual void OSSLECPublicKey::setEC(const ByteString&)': OSSLECPublicKey.cpp:113:25: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_set_group(eckey, grp); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ OSSLECPublicKey.cpp: In member function 'virtual void OSSLECPublicKey::setQ(const ByteString&)': OSSLECPublicKey.cpp:121:67: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | EC_POINT* pub = OSSL::byteString2pt(inQ, EC_KEY_get0_group(eckey)); | ~~~~~~~~~~~~~~~~~^~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~ OSSLECPublicKey.cpp:122:30: warning: 'int EC_KEY_set_public_key(EC_KEY*, const EC_POINT*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | EC_KEY_set_public_key(eckey, pub); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~~~~~ --- OSSLECPrivateKey.lo --- OSSLECPrivateKey.cpp: In constructor 'OSSLECPrivateKey::OSSLECPrivateKey()': OSSLECPrivateKey.cpp:44:27: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 44 | eckey = EC_KEY_new(); | ~~~~~~~~~~^~ In file included from OSSLECPrivateKey.h:39, from OSSLECPrivateKey.cpp:36: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ OSSLECPrivateKey.cpp:47:29: warning: 'void EC_KEY_set_enc_flags(EC_KEY*, unsigned int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 47 | EC_KEY_set_enc_flags(eckey, EC_PKEY_NO_PUBKEY); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1092:28: note: declared here 1092 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags); | ^~~~~~~~~~~~~~~~~~~~ OSSLECPrivateKey.cpp: In constructor 'OSSLECPrivateKey::OSSLECPrivateKey(const EC_KEY*)': OSSLECPrivateKey.cpp:52:27: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 52 | eckey = EC_KEY_new(); | ~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ OSSLECPrivateKey.cpp:55:29: warning: 'void EC_KEY_set_enc_flags(EC_KEY*, unsigned int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 55 | EC_KEY_set_enc_flags(eckey, EC_PKEY_NO_PUBKEY); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1092:28: note: declared here 1092 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags); | ^~~~~~~~~~~~~~~~~~~~ OSSLECPrivateKey.cpp: In destructor 'virtual OSSLECPrivateKey::~OSSLECPrivateKey()': OSSLECPrivateKey.cpp:63:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 63 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ OSSLECPrivateKey.cpp: In member function 'virtual long unsigned int OSSLECPrivateKey::getOrderLength() const': OSSLECPrivateKey.cpp:72:48: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 72 | const EC_GROUP* grp = EC_KEY_get0_group(eckey); | ~~~~~~~~~~~~~~~~~^~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~ OSSLECPrivateKey.cpp: In member function 'virtual void OSSLECPrivateKey::setFromOSSL(const EC_KEY*)': OSSLECPrivateKey.cpp:93:48: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 93 | const EC_GROUP* grp = EC_KEY_get0_group(inECKEY); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~ OSSLECPrivateKey.cpp:99:51: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 99 | const BIGNUM* pk = EC_KEY_get0_private_key(inECKEY); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~~~~~~~ OSSLECPrivateKey.cpp: In member function 'virtual void OSSLECPrivateKey::setD(const ByteString&)': OSSLECPrivateKey.cpp:119:31: warning: 'int EC_KEY_set_private_key(EC_KEY*, const BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_set_private_key(eckey, pk); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~~~~~~ OSSLECPrivateKey.cpp: In member function 'virtual void OSSLECPrivateKey::setEC(const ByteString&)': OSSLECPrivateKey.cpp:130:25: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 130 | EC_KEY_set_group(eckey, grp); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ OSSLECPrivateKey.cpp: In member function 'virtual ByteString OSSLECPrivateKey::PKCS8Encode()': OSSLECPrivateKey.cpp:141:34: warning: 'int EVP_PKEY_set1_EC_KEY(EVP_PKEY*, ec_key_st*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | if (!EVP_PKEY_set1_EC_KEY(pkey, eckey)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/x509.h:29, from OSSLECPrivateKey.cpp:39: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/evp.h:1380:5: note: declared here 1380 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ OSSLECPrivateKey.cpp: In member function 'virtual bool OSSLECPrivateKey::PKCS8Decode(const ByteString&)': OSSLECPrivateKey.cpp:174:43: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 174 | EC_KEY* key = EVP_PKEY_get1_EC_KEY(pkey); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/evp.h:1384:19: note: declared here 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ OSSLECPrivateKey.cpp:178:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 178 | EC_KEY_free(key); | ~~~~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLECPrivateKey.lo -MD -MP -MF .deps/OSSLECPrivateKey.Tpo -c OSSLECPrivateKey.cpp -o OSSLECPrivateKey.o >/dev/null 2>&1 --- OSSLECPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLECPublicKey.lo -MD -MP -MF .deps/OSSLECPublicKey.Tpo -c OSSLECPublicKey.cpp -o OSSLECPublicKey.o >/dev/null 2>&1 --- OSSLEDDSA.lo --- depbase=`echo OSSLEDDSA.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDDSA.lo -MD -MP -MF $depbase.Tpo -c -o OSSLEDDSA.lo OSSLEDDSA.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLEDKeyPair.lo --- depbase=`echo OSSLEDKeyPair.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDKeyPair.lo -MD -MP -MF $depbase.Tpo -c -o OSSLEDKeyPair.lo OSSLEDKeyPair.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLEDDSA.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDDSA.lo -MD -MP -MF .deps/OSSLEDDSA.Tpo -c OSSLEDDSA.cpp -fPIC -DPIC -o .libs/OSSLEDDSA.o --- OSSLEDKeyPair.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDKeyPair.lo -MD -MP -MF .deps/OSSLEDKeyPair.Tpo -c OSSLEDKeyPair.cpp -fPIC -DPIC -o .libs/OSSLEDKeyPair.o --- OSSLEDPrivateKey.lo --- depbase=`echo OSSLEDPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLEDPrivateKey.lo OSSLEDPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDPrivateKey.lo -MD -MP -MF .deps/OSSLEDPrivateKey.Tpo -c OSSLEDPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLEDPrivateKey.o --- OSSLEDPublicKey.lo --- depbase=`echo OSSLEDPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLEDPublicKey.lo OSSLEDPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDPublicKey.lo -MD -MP -MF .deps/OSSLEDPublicKey.Tpo -c OSSLEDPublicKey.cpp -fPIC -DPIC -o .libs/OSSLEDPublicKey.o --- OSSLEDKeyPair.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDKeyPair.lo -MD -MP -MF .deps/OSSLEDKeyPair.Tpo -c OSSLEDKeyPair.cpp -o OSSLEDKeyPair.o >/dev/null 2>&1 --- OSSLEDDSA.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDDSA.lo -MD -MP -MF .deps/OSSLEDDSA.Tpo -c OSSLEDDSA.cpp -o OSSLEDDSA.o >/dev/null 2>&1 --- OSSLEDPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDPrivateKey.lo -MD -MP -MF .deps/OSSLEDPrivateKey.Tpo -c OSSLEDPrivateKey.cpp -o OSSLEDPrivateKey.o >/dev/null 2>&1 --- OSSLEVPHashAlgorithm.lo --- depbase=`echo OSSLEVPHashAlgorithm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPHashAlgorithm.lo -MD -MP -MF $depbase.Tpo -c -o OSSLEVPHashAlgorithm.lo OSSLEVPHashAlgorithm.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLEDPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEDPublicKey.lo -MD -MP -MF .deps/OSSLEDPublicKey.Tpo -c OSSLEDPublicKey.cpp -o OSSLEDPublicKey.o >/dev/null 2>&1 --- OSSLEVPHashAlgorithm.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPHashAlgorithm.lo -MD -MP -MF .deps/OSSLEVPHashAlgorithm.Tpo -c OSSLEVPHashAlgorithm.cpp -fPIC -DPIC -o .libs/OSSLEVPHashAlgorithm.o --- OSSLEVPMacAlgorithm.lo --- depbase=`echo OSSLEVPMacAlgorithm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPMacAlgorithm.lo -MD -MP -MF $depbase.Tpo -c -o OSSLEVPMacAlgorithm.lo OSSLEVPMacAlgorithm.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPMacAlgorithm.lo -MD -MP -MF .deps/OSSLEVPMacAlgorithm.Tpo -c OSSLEVPMacAlgorithm.cpp -fPIC -DPIC -o .libs/OSSLEVPMacAlgorithm.o --- OSSLEVPHashAlgorithm.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPHashAlgorithm.lo -MD -MP -MF .deps/OSSLEVPHashAlgorithm.Tpo -c OSSLEVPHashAlgorithm.cpp -o OSSLEVPHashAlgorithm.o >/dev/null 2>&1 --- OSSLEVPCMacAlgorithm.lo --- depbase=`echo OSSLEVPCMacAlgorithm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPCMacAlgorithm.lo -MD -MP -MF $depbase.Tpo -c -o OSSLEVPCMacAlgorithm.lo OSSLEVPCMacAlgorithm.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPCMacAlgorithm.lo -MD -MP -MF .deps/OSSLEVPCMacAlgorithm.Tpo -c OSSLEVPCMacAlgorithm.cpp -fPIC -DPIC -o .libs/OSSLEVPCMacAlgorithm.o --- OSSLEVPSymmetricAlgorithm.lo --- depbase=`echo OSSLEVPSymmetricAlgorithm.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPSymmetricAlgorithm.lo -MD -MP -MF $depbase.Tpo -c -o OSSLEVPSymmetricAlgorithm.lo OSSLEVPSymmetricAlgorithm.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPSymmetricAlgorithm.lo -MD -MP -MF .deps/OSSLEVPSymmetricAlgorithm.Tpo -c OSSLEVPSymmetricAlgorithm.cpp -fPIC -DPIC -o .libs/OSSLEVPSymmetricAlgorithm.o --- OSSLEVPMacAlgorithm.lo --- OSSLEVPMacAlgorithm.cpp: In destructor 'virtual OSSLEVPMacAlgorithm::~OSSLEVPMacAlgorithm()': OSSLEVPMacAlgorithm.cpp:42:22: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 42 | HMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPMacAlgorithm::signInit(const SymmetricKey*)': OSSLEVPMacAlgorithm.cpp:55:30: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 55 | curCTX = HMAC_CTX_new(); | ~~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp:64:26: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 64 | if (!HMAC_Init_ex(curCTX, key->getKeyBits().const_byte_str(), key->getKeyBits().size(), getEVPHash(), NULL)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp:68:30: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 68 | HMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPMacAlgorithm::signUpdate(const ByteString&)': OSSLEVPMacAlgorithm.cpp:90:25: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, std::size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 90 | if (!HMAC_Update(curCTX, dataToSign.const_byte_str(), dataToSign.size())) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp:94:30: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | HMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPMacAlgorithm::signFinal(ByteString&)': OSSLEVPMacAlgorithm.cpp:116:24: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 116 | if (!HMAC_Final(curCTX, &signature[0], &outLen)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ OSSLEVPMacAlgorithm.cpp:120:30: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 120 | HMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp:128:22: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 128 | HMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPMacAlgorithm::verifyInit(const SymmetricKey*)': OSSLEVPMacAlgorithm.cpp:144:30: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | curCTX = HMAC_CTX_new(); | ~~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp:153:26: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | if (!HMAC_Init_ex(curCTX, key->getKeyBits().const_byte_str(), key->getKeyBits().size(), getEVPHash(), NULL)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp:157:30: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 157 | HMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPMacAlgorithm::verifyUpdate(const ByteString&)': OSSLEVPMacAlgorithm.cpp:179:25: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, std::size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 179 | if (!HMAC_Update(curCTX, originalData.const_byte_str(), originalData.size())) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp:183:30: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 183 | HMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPMacAlgorithm::verifyFinal(ByteString&)': OSSLEVPMacAlgorithm.cpp:206:24: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 206 | if (!HMAC_Final(curCTX, &macResult[0], &outLen)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ OSSLEVPMacAlgorithm.cpp:210:30: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 210 | HMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPMacAlgorithm.cpp:216:22: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | HMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPMacAlgorithm.lo -MD -MP -MF .deps/OSSLEVPMacAlgorithm.Tpo -c OSSLEVPMacAlgorithm.cpp -o OSSLEVPMacAlgorithm.o >/dev/null 2>&1 --- OSSLGOST.lo --- depbase=`echo OSSLGOST.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOST.lo -MD -MP -MF $depbase.Tpo -c -o OSSLGOST.lo OSSLGOST.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOST.lo -MD -MP -MF .deps/OSSLGOST.Tpo -c OSSLGOST.cpp -fPIC -DPIC -o .libs/OSSLGOST.o --- OSSLEVPCMacAlgorithm.lo --- OSSLEVPCMacAlgorithm.cpp: In destructor 'virtual OSSLEVPCMacAlgorithm::~OSSLEVPCMacAlgorithm()': OSSLEVPCMacAlgorithm.cpp:44:30: warning: 'void CMAC_CTX_free(CMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 44 | CMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPCMacAlgorithm::signInit(const SymmetricKey*)': OSSLEVPCMacAlgorithm.cpp:69:30: warning: 'CMAC_CTX* CMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 69 | curCTX = CMAC_CTX_new(); | ~~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:32:33: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 CMAC_CTX *CMAC_CTX_new(void); | ^~~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp:78:23: warning: 'int CMAC_Init(CMAC_CTX*, const void*, std::size_t, const EVP_CIPHER*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 78 | if (!CMAC_Init(curCTX, key->getKeyBits().const_byte_str(), key->getKeyBits().size(), cipher, NULL)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:37:27: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 int CMAC_Init(CMAC_CTX *ctx, | ^~~~~~~~~ OSSLEVPCMacAlgorithm.cpp:82:30: warning: 'void CMAC_CTX_free(CMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 82 | CMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPCMacAlgorithm::signUpdate(const ByteString&)': OSSLEVPCMacAlgorithm.cpp:103:25: warning: 'int CMAC_Update(CMAC_CTX*, const void*, std::size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 103 | if (!CMAC_Update(curCTX, dataToSign.const_byte_str(), dataToSign.size())) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:40:27: note: declared here 40 | OSSL_DEPRECATEDIN_3_0 int CMAC_Update(CMAC_CTX *ctx, | ^~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp:107:30: warning: 'void CMAC_CTX_free(CMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 107 | CMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPCMacAlgorithm::signFinal(ByteString&)': OSSLEVPCMacAlgorithm.cpp:129:24: warning: 'int CMAC_Final(CMAC_CTX*, unsigned char*, std::size_t*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 129 | if (!CMAC_Final(curCTX, &signature[0], &outLen)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:42:27: note: declared here 42 | OSSL_DEPRECATEDIN_3_0 int CMAC_Final(CMAC_CTX *ctx, | ^~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp:133:30: warning: 'void CMAC_CTX_free(CMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | CMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp:141:22: warning: 'void CMAC_CTX_free(CMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | CMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPCMacAlgorithm::verifyInit(const SymmetricKey*)': OSSLEVPCMacAlgorithm.cpp:169:30: warning: 'CMAC_CTX* CMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 169 | curCTX = CMAC_CTX_new(); | ~~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:32:33: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 CMAC_CTX *CMAC_CTX_new(void); | ^~~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp:178:23: warning: 'int CMAC_Init(CMAC_CTX*, const void*, std::size_t, const EVP_CIPHER*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 178 | if (!CMAC_Init(curCTX, key->getKeyBits().const_byte_str(), key->getKeyBits().size(), cipher, NULL)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:37:27: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 int CMAC_Init(CMAC_CTX *ctx, | ^~~~~~~~~ OSSLEVPCMacAlgorithm.cpp:182:30: warning: 'void CMAC_CTX_free(CMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 182 | CMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPCMacAlgorithm::verifyUpdate(const ByteString&)': OSSLEVPCMacAlgorithm.cpp:203:25: warning: 'int CMAC_Update(CMAC_CTX*, const void*, std::size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 203 | if (!CMAC_Update(curCTX, originalData.const_byte_str(), originalData.size())) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:40:27: note: declared here 40 | OSSL_DEPRECATEDIN_3_0 int CMAC_Update(CMAC_CTX *ctx, | ^~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp:207:30: warning: 'void CMAC_CTX_free(CMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | CMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp: In member function 'virtual bool OSSLEVPCMacAlgorithm::verifyFinal(ByteString&)': OSSLEVPCMacAlgorithm.cpp:230:24: warning: 'int CMAC_Final(CMAC_CTX*, unsigned char*, std::size_t*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 230 | if (!CMAC_Final(curCTX, &macResult[0], &outLen)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:42:27: note: declared here 42 | OSSL_DEPRECATEDIN_3_0 int CMAC_Final(CMAC_CTX *ctx, | ^~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp:234:30: warning: 'void CMAC_CTX_free(CMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | CMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ OSSLEVPCMacAlgorithm.cpp:240:22: warning: 'void CMAC_CTX_free(CMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 240 | CMAC_CTX_free(curCTX); | ~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ --- OSSLGOST.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOST.lo -MD -MP -MF .deps/OSSLGOST.Tpo -c OSSLGOST.cpp -o OSSLGOST.o >/dev/null 2>&1 --- OSSLGOSTKeyPair.lo --- depbase=`echo OSSLGOSTKeyPair.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTKeyPair.lo -MD -MP -MF $depbase.Tpo -c -o OSSLGOSTKeyPair.lo OSSLGOSTKeyPair.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTKeyPair.lo -MD -MP -MF .deps/OSSLGOSTKeyPair.Tpo -c OSSLGOSTKeyPair.cpp -fPIC -DPIC -o .libs/OSSLGOSTKeyPair.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTKeyPair.lo -MD -MP -MF .deps/OSSLGOSTKeyPair.Tpo -c OSSLGOSTKeyPair.cpp -o OSSLGOSTKeyPair.o >/dev/null 2>&1 --- OSSLGOSTPrivateKey.lo --- depbase=`echo OSSLGOSTPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLGOSTPrivateKey.lo OSSLGOSTPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLEVPCMacAlgorithm.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPCMacAlgorithm.lo -MD -MP -MF .deps/OSSLEVPCMacAlgorithm.Tpo -c OSSLEVPCMacAlgorithm.cpp -o OSSLEVPCMacAlgorithm.o >/dev/null 2>&1 --- OSSLGOSTPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTPrivateKey.lo -MD -MP -MF .deps/OSSLGOSTPrivateKey.Tpo -c OSSLGOSTPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLGOSTPrivateKey.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTPrivateKey.lo -MD -MP -MF .deps/OSSLGOSTPrivateKey.Tpo -c OSSLGOSTPrivateKey.cpp -o OSSLGOSTPrivateKey.o >/dev/null 2>&1 --- OSSLGOSTPublicKey.lo --- depbase=`echo OSSLGOSTPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLGOSTPublicKey.lo OSSLGOSTPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLEVPSymmetricAlgorithm.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLEVPSymmetricAlgorithm.lo -MD -MP -MF .deps/OSSLEVPSymmetricAlgorithm.Tpo -c OSSLEVPSymmetricAlgorithm.cpp -o OSSLEVPSymmetricAlgorithm.o >/dev/null 2>&1 --- OSSLGOSTPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTPublicKey.lo -MD -MP -MF .deps/OSSLGOSTPublicKey.Tpo -c OSSLGOSTPublicKey.cpp -fPIC -DPIC -o .libs/OSSLGOSTPublicKey.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTPublicKey.lo -MD -MP -MF .deps/OSSLGOSTPublicKey.Tpo -c OSSLGOSTPublicKey.cpp -o OSSLGOSTPublicKey.o >/dev/null 2>&1 --- OSSLGOSTR3411.lo --- depbase=`echo OSSLGOSTR3411.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTR3411.lo -MD -MP -MF $depbase.Tpo -c -o OSSLGOSTR3411.lo OSSLGOSTR3411.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLCMAC.lo --- depbase=`echo OSSLCMAC.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLCMAC.lo -MD -MP -MF $depbase.Tpo -c -o OSSLCMAC.lo OSSLCMAC.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLCMAC.lo -MD -MP -MF .deps/OSSLCMAC.Tpo -c OSSLCMAC.cpp -fPIC -DPIC -o .libs/OSSLCMAC.o --- OSSLGOSTR3411.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTR3411.lo -MD -MP -MF .deps/OSSLGOSTR3411.Tpo -c OSSLGOSTR3411.cpp -fPIC -DPIC -o .libs/OSSLGOSTR3411.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLGOSTR3411.lo -MD -MP -MF .deps/OSSLGOSTR3411.Tpo -c OSSLGOSTR3411.cpp -o OSSLGOSTR3411.o >/dev/null 2>&1 --- OSSLHMAC.lo --- depbase=`echo OSSLHMAC.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLHMAC.lo -MD -MP -MF $depbase.Tpo -c -o OSSLHMAC.lo OSSLHMAC.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLHMAC.lo -MD -MP -MF .deps/OSSLHMAC.Tpo -c OSSLHMAC.cpp -fPIC -DPIC -o .libs/OSSLHMAC.o --- OSSLMD5.lo --- depbase=`echo OSSLMD5.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLMD5.lo -MD -MP -MF $depbase.Tpo -c -o OSSLMD5.lo OSSLMD5.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLMD5.lo -MD -MP -MF .deps/OSSLMD5.Tpo -c OSSLMD5.cpp -fPIC -DPIC -o .libs/OSSLMD5.o --- OSSLRNG.lo --- depbase=`echo OSSLRNG.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLRNG.lo -MD -MP -MF $depbase.Tpo -c -o OSSLRNG.lo OSSLRNG.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLRNG.lo -MD -MP -MF .deps/OSSLRNG.Tpo -c OSSLRNG.cpp -fPIC -DPIC -o .libs/OSSLRNG.o --- OSSLCMAC.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLCMAC.lo -MD -MP -MF .deps/OSSLCMAC.Tpo -c OSSLCMAC.cpp -o OSSLCMAC.o >/dev/null 2>&1 --- OSSLHMAC.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLHMAC.lo -MD -MP -MF .deps/OSSLHMAC.Tpo -c OSSLHMAC.cpp -o OSSLHMAC.o >/dev/null 2>&1 --- OSSLMD5.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLMD5.lo -MD -MP -MF .deps/OSSLMD5.Tpo -c OSSLMD5.cpp -o OSSLMD5.o >/dev/null 2>&1 --- OSSLRNG.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLRNG.lo -MD -MP -MF .deps/OSSLRNG.Tpo -c OSSLRNG.cpp -o OSSLRNG.o >/dev/null 2>&1 --- OSSLRSA.lo --- depbase=`echo OSSLRSA.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSA.lo -MD -MP -MF $depbase.Tpo -c -o OSSLRSA.lo OSSLRSA.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSA.lo -MD -MP -MF .deps/OSSLRSA.Tpo -c OSSLRSA.cpp -fPIC -DPIC -o .libs/OSSLRSA.o --- OSSLRSAKeyPair.lo --- depbase=`echo OSSLRSAKeyPair.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSAKeyPair.lo -MD -MP -MF $depbase.Tpo -c -o OSSLRSAKeyPair.lo OSSLRSAKeyPair.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSAKeyPair.lo -MD -MP -MF .deps/OSSLRSAKeyPair.Tpo -c OSSLRSAKeyPair.cpp -fPIC -DPIC -o .libs/OSSLRSAKeyPair.o --- OSSLRSAPrivateKey.lo --- depbase=`echo OSSLRSAPrivateKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSAPrivateKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLRSAPrivateKey.lo OSSLRSAPrivateKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLRSAPublicKey.lo --- depbase=`echo OSSLRSAPublicKey.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSAPublicKey.lo -MD -MP -MF $depbase.Tpo -c -o OSSLRSAPublicKey.lo OSSLRSAPublicKey.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLRSAPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSAPrivateKey.lo -MD -MP -MF .deps/OSSLRSAPrivateKey.Tpo -c OSSLRSAPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLRSAPrivateKey.o --- OSSLRSAPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSAPublicKey.lo -MD -MP -MF .deps/OSSLRSAPublicKey.Tpo -c OSSLRSAPublicKey.cpp -fPIC -DPIC -o .libs/OSSLRSAPublicKey.o --- OSSLRSA.lo --- OSSLRSA.cpp: In member function 'virtual bool OSSLRSA::sign(PrivateKey*, const ByteString&, ByteString&, AsymMech::Type, const void*, std::size_t)': OSSLRSA.cpp:102:37: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 102 | if (!RSA_blinding_on(rsa, NULL)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:382:27: note: declared here 382 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); | ^~~~~~~~~~~~~~~ OSSLRSA.cpp:109:49: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 109 | int sigLen = RSA_private_encrypt(dataToSign.size(), (unsigned char*) dataToSign.const_byte_str(), &signature[0], rsa, RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:111:33: warning: 'void RSA_blinding_off(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 111 | RSA_blinding_off(rsa); | ~~~~~~~~~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:383:28: note: declared here 383 | OSSL_DEPRECATEDIN_3_0 void RSA_blinding_off(RSA *rsa); | ^~~~~~~~~~~~~~~~ OSSLRSA.cpp:196:60: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 196 | int status = RSA_padding_add_PKCS1_PSS_mgf1(rsa, &em[0], (unsigned char*) dataToSign.const_byte_str(), hash, hash, pssParam->sLen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:449:5: note: declared here 449 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:205:37: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 205 | if (!RSA_blinding_on(rsa, NULL)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:382:27: note: declared here 382 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); | ^~~~~~~~~~~~~~~ OSSLRSA.cpp:215:49: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | int sigLen = RSA_private_encrypt(osslKey->getN().size(), &em[0], &signature[0], rsa, RSA_NO_PADDING); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:217:33: warning: 'void RSA_blinding_off(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 217 | RSA_blinding_off(rsa); | ~~~~~~~~~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:383:28: note: declared here 383 | OSSL_DEPRECATEDIN_3_0 void RSA_blinding_off(RSA *rsa); | ^~~~~~~~~~~~~~~~ OSSLRSA.cpp:257:37: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 257 | if (!RSA_blinding_on(rsa, NULL)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:382:27: note: declared here 382 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); | ^~~~~~~~~~~~~~~ OSSLRSA.cpp:264:49: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | int sigLen = RSA_private_encrypt(dataToSign.size(), (unsigned char*) dataToSign.const_byte_str(), &signature[0], rsa, RSA_NO_PADDING); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:266:33: warning: 'void RSA_blinding_off(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 266 | RSA_blinding_off(rsa); | ~~~~~~~~~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:383:28: note: declared here 383 | OSSL_DEPRECATEDIN_3_0 void RSA_blinding_off(RSA *rsa); | ^~~~~~~~~~~~~~~~ OSSLRSA.cpp: In member function 'virtual bool OSSLRSA::signFinal(ByteString&)': OSSLRSA.cpp:615:29: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 615 | if (!RSA_blinding_on(rsa, NULL)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:382:27: note: declared here 382 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); | ^~~~~~~~~~~~~~~ OSSLRSA.cpp:630:52: warning: 'int RSA_padding_add_PKCS1_PSS(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 630 | result = (RSA_padding_add_PKCS1_PSS(pk->getOSSLKey(), &em[0], &digest[0], | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 631 | hash, sLen) == 1); | ~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:439:5: note: declared here 439 | int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:639:53: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 639 | result = RSA_private_encrypt(em.size(), &em[0], &signature[0], | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 640 | pk->getOSSLKey(), RSA_NO_PADDING); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:655:34: warning: 'int RSA_sign(int, const unsigned char*, unsigned int, unsigned char*, unsigned int*, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 655 | result = RSA_sign(type, &digest[0], digest.size(), &signature[0], | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 656 | &sigLen, pk->getOSSLKey()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:359:27: note: declared here 359 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ OSSLRSA.cpp:668:25: warning: 'void RSA_blinding_off(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 668 | RSA_blinding_off(rsa); | ~~~~~~~~~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:383:28: note: declared here 383 | OSSL_DEPRECATEDIN_3_0 void RSA_blinding_off(RSA *rsa); | ^~~~~~~~~~~~~~~~ OSSLRSA.cpp: In member function 'virtual bool OSSLRSA::verify(PublicKey*, const ByteString&, const ByteString&, AsymMech::Type, const void*, std::size_t)': OSSLRSA.cpp:703:48: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 703 | int retLen = RSA_public_decrypt(signature.size(), (unsigned char*) signature.const_byte_str(), &recoveredData[0], rsa, RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:744:48: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 744 | int retLen = RSA_public_decrypt(signature.size(), (unsigned char*) signature.const_byte_str(), &recoveredData[0], rsa, RSA_NO_PADDING); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:796:55: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 796 | int status = RSA_verify_PKCS1_PSS_mgf1(rsa, (unsigned char*)originalData.const_byte_str(), hash, hash, (unsigned char*) recoveredData.const_byte_str(), pssParam->sLen); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:444:5: note: declared here 444 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:823:48: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 823 | int retLen = RSA_public_decrypt(signature.size(), (unsigned char*) signature.const_byte_str(), &recoveredData[0], rsa, RSA_NO_PADDING); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ OSSLRSA.cpp: In member function 'virtual bool OSSLRSA::verifyFinal(const ByteString&)': OSSLRSA.cpp:1171:48: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | int result = RSA_public_decrypt(signature.size(), | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 1172 | (unsigned char*) signature.const_byte_str(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1173 | &plain[0], | ~~~~~~~~~~ 1174 | pk->getOSSLKey(), | ~~~~~~~~~~~~~~~~~ 1175 | RSA_NO_PADDING); | ~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:1184:54: warning: 'int RSA_verify_PKCS1_PSS(RSA*, const unsigned char*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1184 | result = RSA_verify_PKCS1_PSS(pk->getOSSLKey(), &digest[0], | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1185 | hash, &plain[0], sLen); | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:435:5: note: declared here 435 | int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:1199:33: warning: 'int RSA_verify(int, const unsigned char*, unsigned int, const unsigned char*, unsigned int, RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1199 | rv = (RSA_verify(type, &digest[0], digest.size(), (unsigned char*) signature.const_byte_str(), signature.size(), pk->getOSSLKey()) == 1); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:362:27: note: declared here 362 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ OSSLRSA.cpp: In member function 'virtual bool OSSLRSA::encrypt(PublicKey*, const ByteString&, ByteString&, AsymMech::Type)': OSSLRSA.cpp:1229:53: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1229 | if (data.size() > (size_t) (RSA_size(rsa) - 11)) | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ OSSLRSA.cpp:1242:53: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1242 | if (data.size() > (size_t) (RSA_size(rsa) - 41)) | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ OSSLRSA.cpp:1254:53: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1254 | if (data.size() != (size_t) RSA_size(rsa)) | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ OSSLRSA.cpp:1271:38: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1271 | encryptedData.resize(RSA_size(rsa)); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ OSSLRSA.cpp:1273:31: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1273 | if (RSA_public_encrypt(data.size(), (unsigned char*) data.const_byte_str(), &encryptedData[0], rsa, osslPadding) == -1) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ OSSLRSA.cpp: In member function 'virtual bool OSSLRSA::decrypt(PrivateKey*, const ByteString&, ByteString&, AsymMech::Type)': OSSLRSA.cpp:1299:54: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1299 | if (encryptedData.size() != (size_t) RSA_size(rsa)) | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ OSSLRSA.cpp:1326:29: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1326 | data.resize(RSA_size(rsa)); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ OSSLRSA.cpp:1328:42: warning: 'int RSA_private_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1328 | int decSize = RSA_private_decrypt(encryptedData.size(), (unsigned char*) encryptedData.const_byte_str(), &data[0], rsa, osslPadding); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:302:5: note: declared here 302 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ OSSLRSA.cpp: In member function 'virtual bool OSSLRSA::generateKeyPair(AsymmetricKeyPair**, AsymmetricParameters*, RNG*)': OSSLRSA.cpp:1385:27: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1385 | RSA* rsa = RSA_new(); | ~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ OSSLRSA.cpp:1396:33: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1396 | if (!RSA_generate_key_ex(rsa, params->getBitLength(), bn_e, NULL)) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:271:27: note: declared here 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ OSSLRSA.cpp:1400:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1400 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSA.cpp:1415:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1415 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ --- OSSLRSAPrivateKey.lo --- OSSLRSAPrivateKey.cpp: In destructor 'virtual OSSLRSAPrivateKey::~OSSLRSAPrivateKey()': OSSLRSAPrivateKey.cpp:61:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 61 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'virtual void OSSLRSAPrivateKey::setFromOSSL(const RSA*)': OSSLRSAPrivateKey.cpp:79:25: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 79 | RSA_get0_factors(inRSA, &bn_p, &bn_q); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ OSSLRSAPrivateKey.cpp:80:28: warning: 'void RSA_get0_crt_params(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 80 | RSA_get0_crt_params(inRSA, &bn_dmp1, &bn_dmq1, &bn_iqmp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:236:28: note: declared here 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ OSSLRSAPrivateKey.cpp:81:21: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 81 | RSA_get0_key(inRSA, &bn_n, &bn_e, &bn_d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'virtual void OSSLRSAPrivateKey::setP(const ByteString&)': OSSLRSAPrivateKey.cpp:138:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'virtual void OSSLRSAPrivateKey::setQ(const ByteString&)': OSSLRSAPrivateKey.cpp:149:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 149 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'virtual void OSSLRSAPrivateKey::setPQ(const ByteString&)': OSSLRSAPrivateKey.cpp:160:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 160 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'virtual void OSSLRSAPrivateKey::setDP1(const ByteString&)': OSSLRSAPrivateKey.cpp:171:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 171 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'virtual void OSSLRSAPrivateKey::setDQ1(const ByteString&)': OSSLRSAPrivateKey.cpp:182:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 182 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'virtual void OSSLRSAPrivateKey::setD(const ByteString&)': OSSLRSAPrivateKey.cpp:193:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 193 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'virtual void OSSLRSAPrivateKey::setN(const ByteString&)': OSSLRSAPrivateKey.cpp:206:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 206 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'virtual void OSSLRSAPrivateKey::setE(const ByteString&)': OSSLRSAPrivateKey.cpp:217:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 217 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'virtual ByteString OSSLRSAPrivateKey::PKCS8Encode()': OSSLRSAPrivateKey.cpp:230:31: warning: 'int EVP_PKEY_set1_RSA(EVP_PKEY*, rsa_st*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 230 | if (!EVP_PKEY_set1_RSA(pkey, rsa)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/x509.h:29, from OSSLRSAPrivateKey.cpp:39: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/evp.h:1354:5: note: declared here 1354 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'virtual bool OSSLRSAPrivateKey::PKCS8Decode(const ByteString&)': OSSLRSAPrivateKey.cpp:263:37: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 263 | RSA* key = EVP_PKEY_get1_RSA(pkey); | ~~~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/evp.h:1358:16: note: declared here 1358 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ OSSLRSAPrivateKey.cpp:267:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 267 | RSA_free(key); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPrivateKey.cpp: In member function 'void OSSLRSAPrivateKey::createOSSLKey()': OSSLRSAPrivateKey.cpp:284:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 284 | rsa = RSA_new(); | ~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ OSSLRSAPrivateKey.cpp:304:46: warning: 'const RSA_METHOD* RSA_PKCS1_OpenSSL()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 304 | RSA_set_method(rsa, RSA_PKCS1_OpenSSL()); | ~~~~~~~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:316:41: note: declared here 316 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_PKCS1_OpenSSL(void); | ^~~~~~~~~~~~~~~~~ OSSLRSAPrivateKey.cpp:304:23: warning: 'int RSA_set_method(RSA*, const RSA_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 304 | RSA_set_method(rsa, RSA_PKCS1_OpenSSL()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:313:27: note: declared here 313 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ OSSLRSAPrivateKey.cpp:316:25: warning: 'int RSA_set0_factors(RSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 316 | RSA_set0_factors(rsa, bn_p, bn_q); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:219:27: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ OSSLRSAPrivateKey.cpp:317:28: warning: 'int RSA_set0_crt_params(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 317 | RSA_set0_crt_params(rsa, bn_dmp1, bn_dmq1, bn_iqmp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:220:27: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ OSSLRSAPrivateKey.cpp:318:21: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 318 | RSA_set0_key(rsa, bn_n, bn_e, bn_d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~ --- OSSLRSAKeyPair.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSAKeyPair.lo -MD -MP -MF .deps/OSSLRSAKeyPair.Tpo -c OSSLRSAKeyPair.cpp -o OSSLRSAKeyPair.o >/dev/null 2>&1 --- OSSLRSAPublicKey.lo --- OSSLRSAPublicKey.cpp: In destructor 'virtual OSSLRSAPublicKey::~OSSLRSAPublicKey()': OSSLRSAPublicKey.cpp:60:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from OSSLRSAPublicKey.h:38, from OSSLRSAPublicKey.cpp:36: /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPublicKey.cpp: In member function 'virtual void OSSLRSAPublicKey::setFromOSSL(const RSA*)': OSSLRSAPublicKey.cpp:78:21: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 78 | RSA_get0_key(inRSA, &bn_n, &bn_e, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ OSSLRSAPublicKey.cpp: In member function 'virtual void OSSLRSAPublicKey::setN(const ByteString&)': OSSLRSAPublicKey.cpp:99:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 99 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPublicKey.cpp: In member function 'virtual void OSSLRSAPublicKey::setE(const ByteString&)': OSSLRSAPublicKey.cpp:110:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 110 | RSA_free(rsa); | ~~~~~~~~^~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ OSSLRSAPublicKey.cpp: In member function 'void OSSLRSAPublicKey::createOSSLKey()': OSSLRSAPublicKey.cpp:128:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 128 | rsa = RSA_new(); | ~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ OSSLRSAPublicKey.cpp:148:46: warning: 'const RSA_METHOD* RSA_PKCS1_OpenSSL()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 148 | RSA_set_method(rsa, RSA_PKCS1_OpenSSL()); | ~~~~~~~~~~~~~~~~~^~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:316:41: note: declared here 316 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_PKCS1_OpenSSL(void); | ^~~~~~~~~~~~~~~~~ OSSLRSAPublicKey.cpp:148:23: warning: 'int RSA_set_method(RSA*, const RSA_METHOD*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 148 | RSA_set_method(rsa, RSA_PKCS1_OpenSSL()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/include/openssl/rsa.h:313:27: note: declared here 313 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ OSSLRSAPublicKey.cpp:154:21: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 154 | RSA_set0_key(rsa, bn_n, bn_e, NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/softhsm2/work/.buildlink/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); | ^~~~~~~~~~~~ --- OSSLRSA.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSA.lo -MD -MP -MF .deps/OSSLRSA.Tpo -c OSSLRSA.cpp -o OSSLRSA.o >/dev/null 2>&1 --- OSSLRSAPublicKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSAPublicKey.lo -MD -MP -MF .deps/OSSLRSAPublicKey.Tpo -c OSSLRSAPublicKey.cpp -o OSSLRSAPublicKey.o >/dev/null 2>&1 --- OSSLRSAPrivateKey.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLRSAPrivateKey.lo -MD -MP -MF .deps/OSSLRSAPrivateKey.Tpo -c OSSLRSAPrivateKey.cpp -o OSSLRSAPrivateKey.o >/dev/null 2>&1 --- OSSLSHA1.lo --- depbase=`echo OSSLSHA1.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA1.lo -MD -MP -MF $depbase.Tpo -c -o OSSLSHA1.lo OSSLSHA1.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA1.lo -MD -MP -MF .deps/OSSLSHA1.Tpo -c OSSLSHA1.cpp -fPIC -DPIC -o .libs/OSSLSHA1.o --- OSSLSHA224.lo --- depbase=`echo OSSLSHA224.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA224.lo -MD -MP -MF $depbase.Tpo -c -o OSSLSHA224.lo OSSLSHA224.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA224.lo -MD -MP -MF .deps/OSSLSHA224.Tpo -c OSSLSHA224.cpp -fPIC -DPIC -o .libs/OSSLSHA224.o --- OSSLSHA256.lo --- depbase=`echo OSSLSHA256.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA256.lo -MD -MP -MF $depbase.Tpo -c -o OSSLSHA256.lo OSSLSHA256.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLSHA384.lo --- depbase=`echo OSSLSHA384.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA384.lo -MD -MP -MF $depbase.Tpo -c -o OSSLSHA384.lo OSSLSHA384.cpp && mv -f $depbase.Tpo $depbase.Plo --- OSSLSHA256.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA256.lo -MD -MP -MF .deps/OSSLSHA256.Tpo -c OSSLSHA256.cpp -fPIC -DPIC -o .libs/OSSLSHA256.o --- OSSLSHA384.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA384.lo -MD -MP -MF .deps/OSSLSHA384.Tpo -c OSSLSHA384.cpp -fPIC -DPIC -o .libs/OSSLSHA384.o --- OSSLSHA1.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA1.lo -MD -MP -MF .deps/OSSLSHA1.Tpo -c OSSLSHA1.cpp -o OSSLSHA1.o >/dev/null 2>&1 --- OSSLSHA224.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA224.lo -MD -MP -MF .deps/OSSLSHA224.Tpo -c OSSLSHA224.cpp -o OSSLSHA224.o >/dev/null 2>&1 --- OSSLSHA256.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA256.lo -MD -MP -MF .deps/OSSLSHA256.Tpo -c OSSLSHA256.cpp -o OSSLSHA256.o >/dev/null 2>&1 --- OSSLSHA384.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA384.lo -MD -MP -MF .deps/OSSLSHA384.Tpo -c OSSLSHA384.cpp -o OSSLSHA384.o >/dev/null 2>&1 --- OSSLSHA512.lo --- depbase=`echo OSSLSHA512.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA512.lo -MD -MP -MF $depbase.Tpo -c -o OSSLSHA512.lo OSSLSHA512.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA512.lo -MD -MP -MF .deps/OSSLSHA512.Tpo -c OSSLSHA512.cpp -fPIC -DPIC -o .libs/OSSLSHA512.o --- OSSLUtil.lo --- depbase=`echo OSSLUtil.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSSLUtil.lo -MD -MP -MF $depbase.Tpo -c -o OSSLUtil.lo OSSLUtil.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLUtil.lo -MD -MP -MF .deps/OSSLUtil.Tpo -c OSSLUtil.cpp -fPIC -DPIC -o .libs/OSSLUtil.o --- Makefile --- cd ../../.. && /usr/bin/bash ./config.status src/lib/crypto/Makefile depfiles --- OSSLSHA512.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLSHA512.lo -MD -MP -MF .deps/OSSLSHA512.Tpo -c OSSLSHA512.cpp -o OSSLSHA512.o >/dev/null 2>&1 --- Makefile --- config.status: creating src/lib/crypto/Makefile config.status: executing depfiles commands --- OSSLUtil.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSSLUtil.lo -MD -MP -MF .deps/OSSLUtil.Tpo -c OSSLUtil.cpp -o OSSLUtil.o >/dev/null 2>&1 --- libsofthsm_crypto.la --- /usr/bin/bash ../../../libtool --tag=CXX --mode=link g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -pthread -L/usr/lib/amd64 -o libsofthsm_crypto.la AESKey.lo AsymmetricAlgorithm.lo AsymmetricKeyPair.lo CryptoFactory.lo DerUtil.lo DESKey.lo DHParameters.lo DHPublicKey.lo DHPrivateKey.lo DSAParameters.lo DSAPublicKey.lo DSAPrivateKey.lo ECParameters.lo ECPublicKey.lo ECPrivateKey.lo EDPublicKey.lo EDPrivateKey.lo GOSTPublicKey.lo GOSTPrivateKey.lo HashAlgorithm.lo MacAlgorithm.lo RSAParameters.lo RSAPrivateKey.lo RSAPublicKey.lo SymmetricAlgorithm.lo SymmetricKey.lo OSSLAES.lo OSSLComp.lo OSSLCryptoFactory.lo OSSLDES.lo OSSLDH.lo OSSLDHKeyPair.lo OSSLDHPrivateKey.lo OSSLDHPublicKey.lo OSSLDSA.lo OSSLDSAKeyPair.lo OSSLDSAPrivateKey.lo OSSLDSAPublicKey.lo OSSLECDH.lo OSSLECDSA.lo OSSLECKeyPair.lo OSSLECPrivateKey.lo OSSLECPublicKey.lo OSSLEDDSA.lo OSSLEDKeyPair.lo OSSLEDPrivateKey.lo OSSLEDPublicKey.lo OSSLEVPHashAlgorithm.lo OSSLEVPMacAlgorithm.lo OSSLEVPCMacAlgorithm.lo OSSLEVPSymmetricAlgorithm.lo OSSLGOST.lo OSSLGOSTKeyPair.lo OSSLGOSTPrivateKey.lo OSSLGOSTPublicKey.lo OSSLGOSTR3411.lo OSSLCMAC.lo OSSLHMAC.lo OSSLMD5.lo OSSLRNG.lo OSSLRSA.lo OSSLRSAKeyPair.lo OSSLRSAPrivateKey.lo OSSLRSAPublicKey.lo OSSLSHA1.lo OSSLSHA224.lo OSSLSHA256.lo OSSLSHA384.lo OSSLSHA512.lo OSSLUtil.lo -lcrypto -lpthread -lrt libtool: link: ar cr .libs/libsofthsm_crypto.a .libs/AESKey.o .libs/AsymmetricAlgorithm.o .libs/AsymmetricKeyPair.o .libs/CryptoFactory.o .libs/DerUtil.o .libs/DESKey.o .libs/DHParameters.o .libs/DHPublicKey.o .libs/DHPrivateKey.o .libs/DSAParameters.o .libs/DSAPublicKey.o .libs/DSAPrivateKey.o .libs/ECParameters.o .libs/ECPublicKey.o .libs/ECPrivateKey.o .libs/EDPublicKey.o .libs/EDPrivateKey.o .libs/GOSTPublicKey.o .libs/GOSTPrivateKey.o .libs/HashAlgorithm.o .libs/MacAlgorithm.o .libs/RSAParameters.o .libs/RSAPrivateKey.o .libs/RSAPublicKey.o .libs/SymmetricAlgorithm.o .libs/SymmetricKey.o .libs/OSSLAES.o .libs/OSSLComp.o .libs/OSSLCryptoFactory.o .libs/OSSLDES.o .libs/OSSLDH.o .libs/OSSLDHKeyPair.o .libs/OSSLDHPrivateKey.o .libs/OSSLDHPublicKey.o .libs/OSSLDSA.o .libs/OSSLDSAKeyPair.o .libs/OSSLDSAPrivateKey.o .libs/OSSLDSAPublicKey.o .libs/OSSLECDH.o .libs/OSSLECDSA.o .libs/OSSLECKeyPair.o .libs/OSSLECPrivateKey.o .libs/OSSLECPublicKey.o .libs/OSSLEDDSA.o .libs/OSSLEDKeyPair.o .libs/OSSLEDPrivateKey.o .libs/OSSLEDPublicKey.o .libs/OSSLEVPHashAlgorithm.o .libs/OSSLEVPMacAlgorithm.o .libs/OSSLEVPCMacAlgorithm.o .libs/OSSLEVPSymmetricAlgorithm.o .libs/OSSLGOST.o .libs/OSSLGOSTKeyPair.o .libs/OSSLGOSTPrivateKey.o .libs/OSSLGOSTPublicKey.o .libs/OSSLGOSTR3411.o .libs/OSSLCMAC.o .libs/OSSLHMAC.o .libs/OSSLMD5.o .libs/OSSLRNG.o .libs/OSSLRSA.o .libs/OSSLRSAKeyPair.o .libs/OSSLRSAPrivateKey.o .libs/OSSLRSAPublicKey.o .libs/OSSLSHA1.o .libs/OSSLSHA224.o .libs/OSSLSHA256.o .libs/OSSLSHA384.o .libs/OSSLSHA512.o .libs/OSSLUtil.o libtool: link: ranlib .libs/libsofthsm_crypto.a libtool: link: ( cd ".libs" && rm -f "libsofthsm_crypto.la" && ln -s "../libsofthsm_crypto.la" "libsofthsm_crypto.la" ) Making all in data_mgr --- all-recursive --- Making all in test --- ../../../../config.status --- cd ../../../.. && /opt/pkg/bin/bmake am--refresh --- ./config.status --- /usr/bin/bash ./config.status --recheck --- am--refresh --- --- Makefile --- cd ../../../.. && /usr/bin/bash ./config.status src/lib/data_mgr/test/Makefile depfiles config.status: creating src/lib/data_mgr/test/Makefile config.status: executing depfiles commands --- ../../../config.status --- --- ByteString.lo --- --- RFC4880.lo --- --- salloc.lo --- --- ../../../config.status --- cd ../../.. && /opt/pkg/bin/bmake am--refresh --- ByteString.lo --- depbase=`echo ByteString.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT ByteString.lo -MD -MP -MF $depbase.Tpo -c -o ByteString.lo ByteString.cpp && mv -f $depbase.Tpo $depbase.Plo --- RFC4880.lo --- depbase=`echo RFC4880.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT RFC4880.lo -MD -MP -MF $depbase.Tpo -c -o RFC4880.lo RFC4880.cpp && mv -f $depbase.Tpo $depbase.Plo --- salloc.lo --- depbase=`echo salloc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT salloc.lo -MD -MP -MF $depbase.Tpo -c -o salloc.lo salloc.cpp && mv -f $depbase.Tpo $depbase.Plo --- ../../../config.status --- --- ./config.status --- /usr/bin/bash ./config.status --recheck --- salloc.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT salloc.lo -MD -MP -MF .deps/salloc.Tpo -c salloc.cpp -fPIC -DPIC -o .libs/salloc.o --- ../../../config.status --- --- am--refresh --- --- SecureDataManager.lo --- depbase=`echo SecureDataManager.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT SecureDataManager.lo -MD -MP -MF $depbase.Tpo -c -o SecureDataManager.lo SecureDataManager.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SecureDataManager.lo -MD -MP -MF .deps/SecureDataManager.Tpo -c SecureDataManager.cpp -fPIC -DPIC -o .libs/SecureDataManager.o --- RFC4880.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT RFC4880.lo -MD -MP -MF .deps/RFC4880.Tpo -c RFC4880.cpp -fPIC -DPIC -o .libs/RFC4880.o --- ByteString.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ByteString.lo -MD -MP -MF .deps/ByteString.Tpo -c ByteString.cpp -fPIC -DPIC -o .libs/ByteString.o --- RFC4880.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT RFC4880.lo -MD -MP -MF .deps/RFC4880.Tpo -c RFC4880.cpp -o RFC4880.o >/dev/null 2>&1 --- salloc.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT salloc.lo -MD -MP -MF .deps/salloc.Tpo -c salloc.cpp -o salloc.o >/dev/null 2>&1 --- SecureDataManager.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SecureDataManager.lo -MD -MP -MF .deps/SecureDataManager.Tpo -c SecureDataManager.cpp -o SecureDataManager.o >/dev/null 2>&1 --- SecureMemoryRegistry.lo --- depbase=`echo SecureMemoryRegistry.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT SecureMemoryRegistry.lo -MD -MP -MF $depbase.Tpo -c -o SecureMemoryRegistry.lo SecureMemoryRegistry.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SecureMemoryRegistry.lo -MD -MP -MF .deps/SecureMemoryRegistry.Tpo -c SecureMemoryRegistry.cpp -fPIC -DPIC -o .libs/SecureMemoryRegistry.o --- ByteString.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ByteString.lo -MD -MP -MF .deps/ByteString.Tpo -c ByteString.cpp -o ByteString.o >/dev/null 2>&1 --- Makefile --- cd ../../.. && /usr/bin/bash ./config.status src/lib/data_mgr/Makefile depfiles config.status: creating src/lib/data_mgr/Makefile config.status: executing depfiles commands --- SecureMemoryRegistry.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SecureMemoryRegistry.lo -MD -MP -MF .deps/SecureMemoryRegistry.Tpo -c SecureMemoryRegistry.cpp -o SecureMemoryRegistry.o >/dev/null 2>&1 --- libsofthsm_datamgr.la --- /usr/bin/bash ../../../libtool --tag=CXX --mode=link g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -pthread -L/usr/lib/amd64 -o libsofthsm_datamgr.la ByteString.lo RFC4880.lo salloc.lo SecureDataManager.lo SecureMemoryRegistry.lo -lpthread -lrt libtool: link: ar cr .libs/libsofthsm_datamgr.a .libs/ByteString.o .libs/RFC4880.o .libs/salloc.o .libs/SecureDataManager.o .libs/SecureMemoryRegistry.o libtool: link: ranlib .libs/libsofthsm_datamgr.a libtool: link: ( cd ".libs" && rm -f "libsofthsm_datamgr.la" && ln -s "../libsofthsm_datamgr.la" "libsofthsm_datamgr.la" ) Making all in object_store --- all-recursive --- Making all in test --- ../../../../config.status --- cd ../../../.. && /opt/pkg/bin/bmake am--refresh --- ./config.status --- /usr/bin/bash ./config.status --recheck --- am--refresh --- --- Makefile --- cd ../../../.. && /usr/bin/bash ./config.status src/lib/object_store/test/Makefile depfiles config.status: creating src/lib/object_store/test/Makefile config.status: executing depfiles commands --- ../../../config.status --- --- ObjectStore.lo --- --- UUID.lo --- --- Directory.lo --- --- ../../../config.status --- cd ../../.. && /opt/pkg/bin/bmake am--refresh --- ObjectStore.lo --- depbase=`echo ObjectStore.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT ObjectStore.lo -MD -MP -MF $depbase.Tpo -c -o ObjectStore.lo ObjectStore.cpp && mv -f $depbase.Tpo $depbase.Plo --- UUID.lo --- depbase=`echo UUID.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT UUID.lo -MD -MP -MF $depbase.Tpo -c -o UUID.lo UUID.cpp && mv -f $depbase.Tpo $depbase.Plo --- Directory.lo --- depbase=`echo Directory.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT Directory.lo -MD -MP -MF $depbase.Tpo -c -o Directory.lo Directory.cpp && mv -f $depbase.Tpo $depbase.Plo --- ../../../config.status --- --- ./config.status --- /usr/bin/bash ./config.status --recheck --- am--refresh --- --- File.lo --- depbase=`echo File.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT File.lo -MD -MP -MF $depbase.Tpo -c -o File.lo File.cpp && mv -f $depbase.Tpo $depbase.Plo --- Directory.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT Directory.lo -MD -MP -MF .deps/Directory.Tpo -c Directory.cpp -fPIC -DPIC -o .libs/Directory.o --- UUID.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT UUID.lo -MD -MP -MF .deps/UUID.Tpo -c UUID.cpp -fPIC -DPIC -o .libs/UUID.o --- File.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT File.lo -MD -MP -MF .deps/File.Tpo -c File.cpp -fPIC -DPIC -o .libs/File.o --- ObjectStore.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ObjectStore.lo -MD -MP -MF .deps/ObjectStore.Tpo -c ObjectStore.cpp -fPIC -DPIC -o .libs/ObjectStore.o --- UUID.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT UUID.lo -MD -MP -MF .deps/UUID.Tpo -c UUID.cpp -o UUID.o >/dev/null 2>&1 --- ObjectStore.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ObjectStore.lo -MD -MP -MF .deps/ObjectStore.Tpo -c ObjectStore.cpp -o ObjectStore.o >/dev/null 2>&1 --- Directory.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT Directory.lo -MD -MP -MF .deps/Directory.Tpo -c Directory.cpp -o Directory.o >/dev/null 2>&1 --- Generation.lo --- depbase=`echo Generation.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT Generation.lo -MD -MP -MF $depbase.Tpo -c -o Generation.lo Generation.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT Generation.lo -MD -MP -MF .deps/Generation.Tpo -c Generation.cpp -fPIC -DPIC -o .libs/Generation.o --- File.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT File.lo -MD -MP -MF .deps/File.Tpo -c File.cpp -o File.o >/dev/null 2>&1 --- OSAttribute.lo --- depbase=`echo OSAttribute.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSAttribute.lo -MD -MP -MF $depbase.Tpo -c -o OSAttribute.lo OSAttribute.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSAttribute.lo -MD -MP -MF .deps/OSAttribute.Tpo -c OSAttribute.cpp -fPIC -DPIC -o .libs/OSAttribute.o --- OSToken.lo --- depbase=`echo OSToken.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT OSToken.lo -MD -MP -MF $depbase.Tpo -c -o OSToken.lo OSToken.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSToken.lo -MD -MP -MF .deps/OSToken.Tpo -c OSToken.cpp -fPIC -DPIC -o .libs/OSToken.o --- Generation.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT Generation.lo -MD -MP -MF .deps/Generation.Tpo -c Generation.cpp -o Generation.o >/dev/null 2>&1 --- ObjectFile.lo --- depbase=`echo ObjectFile.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT ObjectFile.lo -MD -MP -MF $depbase.Tpo -c -o ObjectFile.lo ObjectFile.cpp && mv -f $depbase.Tpo $depbase.Plo --- SessionObject.lo --- depbase=`echo SessionObject.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT SessionObject.lo -MD -MP -MF $depbase.Tpo -c -o SessionObject.lo SessionObject.cpp && mv -f $depbase.Tpo $depbase.Plo --- ObjectFile.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ObjectFile.lo -MD -MP -MF .deps/ObjectFile.Tpo -c ObjectFile.cpp -fPIC -DPIC -o .libs/ObjectFile.o --- SessionObject.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SessionObject.lo -MD -MP -MF .deps/SessionObject.Tpo -c SessionObject.cpp -fPIC -DPIC -o .libs/SessionObject.o --- OSAttribute.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSAttribute.lo -MD -MP -MF .deps/OSAttribute.Tpo -c OSAttribute.cpp -o OSAttribute.o >/dev/null 2>&1 --- SessionObjectStore.lo --- depbase=`echo SessionObjectStore.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT SessionObjectStore.lo -MD -MP -MF $depbase.Tpo -c -o SessionObjectStore.lo SessionObjectStore.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SessionObjectStore.lo -MD -MP -MF .deps/SessionObjectStore.Tpo -c SessionObjectStore.cpp -fPIC -DPIC -o .libs/SessionObjectStore.o --- SessionObject.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SessionObject.lo -MD -MP -MF .deps/SessionObject.Tpo -c SessionObject.cpp -o SessionObject.o >/dev/null 2>&1 --- ObjectFile.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ObjectFile.lo -MD -MP -MF .deps/ObjectFile.Tpo -c ObjectFile.cpp -o ObjectFile.o >/dev/null 2>&1 --- OSToken.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT OSToken.lo -MD -MP -MF .deps/OSToken.Tpo -c OSToken.cpp -o OSToken.o >/dev/null 2>&1 --- FindOperation.lo --- depbase=`echo FindOperation.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT FindOperation.lo -MD -MP -MF $depbase.Tpo -c -o FindOperation.lo FindOperation.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT FindOperation.lo -MD -MP -MF .deps/FindOperation.Tpo -c FindOperation.cpp -fPIC -DPIC -o .libs/FindOperation.o --- SessionObjectStore.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT SessionObjectStore.lo -MD -MP -MF .deps/SessionObjectStore.Tpo -c SessionObjectStore.cpp -o SessionObjectStore.o >/dev/null 2>&1 --- FindOperation.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT FindOperation.lo -MD -MP -MF .deps/FindOperation.Tpo -c FindOperation.cpp -o FindOperation.o >/dev/null 2>&1 --- ObjectStoreToken.lo --- depbase=`echo ObjectStoreToken.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT ObjectStoreToken.lo -MD -MP -MF $depbase.Tpo -c -o ObjectStoreToken.lo ObjectStoreToken.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ObjectStoreToken.lo -MD -MP -MF .deps/ObjectStoreToken.Tpo -c ObjectStoreToken.cpp -fPIC -DPIC -o .libs/ObjectStoreToken.o --- DB.lo --- depbase=`echo DB.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT DB.lo -MD -MP -MF $depbase.Tpo -c -o DB.lo DB.cpp && mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DB.lo -MD -MP -MF .deps/DB.Tpo -c DB.cpp -fPIC -DPIC -o .libs/DB.o DB.cpp: In function 'time_t sqlite3_gmtime(std::tm*)': DB.cpp:132:50: error: too many initializers for 'std::tm' 132 | struct tm ref_tm = {0,0,0,0,0,0,0,0,0,0,0}; | ^ DB.cpp: In member function 'time_t DB::Result::getDatetime(unsigned int)': DB.cpp:480:49: error: too many initializers for 'std::tm' 480 | struct tm gm_tm = {0,0,0,0,0,0,0,0,0,0,0}; | ^ --- DBObject.lo --- depbase=`echo DBObject.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/usr/include -g -Wall -Wextra -fvisibility=hidden -MT DBObject.lo -MD -MP -MF $depbase.Tpo -c -o DBObject.lo DBObject.cpp && mv -f $depbase.Tpo $depbase.Plo --- DB.lo --- *** [DB.lo] Error code 1 bmake[5]: stopped making "all-am" in /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1/src/lib/object_store --- ObjectStoreToken.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT ObjectStoreToken.lo -MD -MP -MF .deps/ObjectStoreToken.Tpo -c ObjectStoreToken.cpp -o ObjectStoreToken.o >/dev/null 2>&1 --- DBObject.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DBObject.lo -MD -MP -MF .deps/DBObject.Tpo -c DBObject.cpp -fPIC -DPIC -o .libs/DBObject.o DBObject.cpp: In member function 'virtual bool DBObject::setAttribute(CK_ATTRIBUTE_TYPE, const OSAttribute&)': DBObject.cpp:1193:55: warning: implicitly-declared 'OSAttribute& OSAttribute::operator=(const OSAttribute&)' is deprecated [-Wdeprecated-copy] 1193 | *it->second = attribute; | ^~~~~~~~~ In file included from DBObject.h:37, from DBObject.cpp:34: OSAttribute.h:45:9: note: because 'OSAttribute' has user-provided 'OSAttribute::OSAttribute(const OSAttribute&)' 45 | OSAttribute(const OSAttribute& in); | ^~~~~~~~~~~ DBObject.cpp:1197:41: warning: implicitly-declared 'OSAttribute& OSAttribute::operator=(const OSAttribute&)' is deprecated [-Wdeprecated-copy] 1197 | *attr = attribute; | ^~~~~~~~~ OSAttribute.h:45:9: note: because 'OSAttribute' has user-provided 'OSAttribute::OSAttribute(const OSAttribute&)' 45 | OSAttribute(const OSAttribute& in); | ^~~~~~~~~~~ DBObject.cpp: In member function 'virtual bool DBObject::commitTransaction()': DBObject.cpp:1444:49: warning: implicitly-declared 'OSAttribute& OSAttribute::operator=(const OSAttribute&)' is deprecated [-Wdeprecated-copy] 1444 | *attr_it->second = *it->second; | ^~~~~~ OSAttribute.h:45:9: note: because 'OSAttribute' has user-provided 'OSAttribute::OSAttribute(const OSAttribute&)' 45 | OSAttribute(const OSAttribute& in); | ^~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/home/pbulk/build/security/softhsm2/work/.buildlink/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -g -Wall -Wextra -fvisibility=hidden -MT DBObject.lo -MD -MP -MF .deps/DBObject.Tpo -c DBObject.cpp -o DBObject.o >/dev/null 2>&1 bmake[5]: 1 error bmake[5]: stopped making "all-am" in /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1/src/lib/object_store bmake[4]: stopped making "all" in /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1/src/lib/object_store bmake[3]: stopped making "all" in /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1/src/lib bmake[2]: stopped making "all" in /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1/src bmake[1]: stopped making "all-recursive" in /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1 bmake: stopped making "all" in /home/pbulk/build/security/softhsm2/work/softhsm-2.6.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/softhsm2 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/softhsm2