D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/softhsm-2.5.0-4.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.yPpwUw + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf softhsm-2.5.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/softhsm-2.5.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd softhsm-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.kP68cz + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd softhsm-2.5.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:34: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:34: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:34: the top level configure.ac:62: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:62: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/acx_crypto_backend.m4:1: ACX_CRYPTO_BACKEND is expanded from... configure.ac:62: the top level configure.ac:62: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:62: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/acx_openssl.m4:1: ACX_OPENSSL is expanded from... m4/acx_crypto_backend.m4:1: ACX_CRYPTO_BACKEND is expanded from... configure.ac:62: the top level configure.ac:62: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:62: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/acx_botan.m4:1: ACX_BOTAN is expanded from... m4/acx_crypto_backend.m4:1: ACX_CRYPTO_BACKEND is expanded from... configure.ac:62: the top level configure.ac:65: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:65: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/acx_non_paged_memory.m4:1: ACX_NON_PAGED_MEMORY is expanded from... configure.ac:65: the top level configure.ac:70: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:70: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:70: the top level configure.ac:87: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:87: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:87: the top level configure.ac:110: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:110: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/acx_sqlite3.m4:1: ACX_SQLITE3 is expanded from... configure.ac:110: the top level configure.ac:119: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:119: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... m4/acx_p11kit.m4:1: ACX_P11KIT is expanded from... configure.ac:119: the top level configure.ac:192: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:192: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:192: the top level configure.ac:45: installing './compile' configure.ac:37: installing './missing' src/bin/dump/Makefile.am: installing './depcomp' + sed -i s:full_libdir/softhsm:full_libdir:g configure + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/lib64/pkcs11 --with-openssl=/usr --disable-static --with-crypto-backend=openssl --enable-ecc --disable-eddsa --disable-gost --with-migrate --with-objectstore-backend-db --with-sqlite3=/usr --enable-visibility --with-p11-kit=/usr/share/p11-kit/modules/ checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for aarch64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for aarch64-mageia-linux-gnu-g++... no checking for aarch64-mageia-linux-gnu-c++... no checking for aarch64-mageia-linux-gnu-gpp... no checking for aarch64-mageia-linux-gnu-aCC... no checking for aarch64-mageia-linux-gnu-CC... no checking for aarch64-mageia-linux-gnu-cxx... no checking for aarch64-mageia-linux-gnu-cc++... no checking for aarch64-mageia-linux-gnu-cl.exe... no checking for aarch64-mageia-linux-gnu-FCC... no checking for aarch64-mageia-linux-gnu-KCC... no checking for aarch64-mageia-linux-gnu-RCC... no checking for aarch64-mageia-linux-gnu-xlC_r... no checking for aarch64-mageia-linux-gnu-xlC... no checking for aarch64-mageia-linux-gnu-clang++... no checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether g++ supports C++11 features by default... yes checking for dlopen... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for pthread.h... yes checking for ECC support... yes checking for GOST support... no checking for EDDSA support... no checking for FIPS 140-2 mode... no checking for crypto backend... OpenSSL checking what are the OpenSSL includes... -I/usr/include checking what are the OpenSSL libs... -L/usr/lib -lcrypto checking for openssl/ssl.h... yes checking for BN_new in -lcrypto... yes checking for OpenSSL version... >= 1.0.0 checking for OpenSSL ECC support... Found P256, P384, and P521 checking OpenSSL EVP interface for AES key wrapping... RFC 3394 is supported checking OpenSSL EVP interface for AES key wrapping with pad... RFC 5649 is supported checking for non-paged memory for secure storage... enabled checking for sys/mman.h... yes checking the maximum size that may be locked into memory... 64 configure: WARNING: ====================================================================== SoftHSM has been configured to store sensitive data in non-page RAM (i.e. memory that is not swapped out to disk). This is the default and most secure configuration. Your system, however, is not configured to support this model in non-privileged accounts (i.e. user accounts). You can check the setting on your system by running the following command in a shell: ulimit -l If this does not return "unlimited" and you plan to run SoftHSM from non-privileged accounts then you should edit the configuration file /etc/security/limits.conf (on most systems). You will need to add the following lines to this file: # * - memlock unlimited Alternatively, you can elect to disable this feature of SoftHSM by re-running configure with the option "--disable-non-paged-memory". Please be advised that this may seriously degrade the security of SoftHSM. ====================================================================== checking if building with softhsm2-migrate... yes checking for sched_yield in -lrt... yes checking for sched.h... yes checking if building database object store backend... yes checking if SQLite3 required... yes checking for sqlite3... /usr/bin/sqlite3 checking what are the SQLite3 includes... -I/usr/include checking what are the SQLite3 libs... -L/usr/lib -lsqlite3 checking for sqlite3.h... yes checking for sqlite3_prepare_v2 in -lsqlite3... yes checking for p11-kit integration... yes checking where to install the p11-kit module... /usr/share/p11-kit/modules/ checking for cppunit-config... no checking for CPPUNIT... yes checking for getpwuid_r... yes checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating softhsm2.module config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating src/lib/common/Makefile config.status: creating src/lib/common/softhsm2.conf config.status: creating src/lib/common/softhsm2.conf.5 config.status: creating src/lib/crypto/Makefile config.status: creating src/lib/crypto/test/Makefile config.status: creating src/lib/data_mgr/Makefile config.status: creating src/lib/data_mgr/test/Makefile config.status: creating src/lib/object_store/Makefile config.status: creating src/lib/object_store/test/Makefile config.status: creating src/lib/session_mgr/Makefile config.status: creating src/lib/session_mgr/test/Makefile config.status: creating src/lib/slot_mgr/Makefile config.status: creating src/lib/slot_mgr/test/Makefile config.status: creating src/lib/handle_mgr/Makefile config.status: creating src/lib/handle_mgr/test/Makefile config.status: creating src/lib/test/Makefile config.status: creating src/lib/test/softhsm2.conf config.status: creating src/lib/test/softhsm2-alt.conf config.status: creating src/lib/test/tokens/dummy config.status: creating src/bin/Makefile config.status: creating src/bin/common/Makefile config.status: creating src/bin/dump/Makefile config.status: creating src/bin/keyconv/Makefile config.status: creating src/bin/migrate/Makefile config.status: creating src/bin/util/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src Making all in lib Making all in common make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o osmutex.lo osmutex.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c osmutex.cpp -fPIC -DPIC -o .libs/osmutex.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o MutexFactory.lo MutexFactory.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c MutexFactory.cpp -fPIC -DPIC -o .libs/MutexFactory.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o fatal.lo fatal.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c fatal.cpp -fPIC -DPIC -o .libs/fatal.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o log.lo log.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c log.cpp -fPIC -DPIC -o .libs/log.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o SimpleConfigLoader.lo SimpleConfigLoader.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c SimpleConfigLoader.cpp -fPIC -DPIC -o .libs/SimpleConfigLoader.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o Configuration.lo Configuration.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../data_mgr -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c Configuration.cpp -fPIC -DPIC -o .libs/Configuration.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libsofthsm_common.la Configuration.lo fatal.lo log.lo osmutex.lo SimpleConfigLoader.lo MutexFactory.lo libtool: link: ar cru .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" ) make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' Making all in crypto Making all in test make[5]: Nothing to be done for 'all'. make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o AsymmetricKeyPair.lo AsymmetricKeyPair.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c AsymmetricKeyPair.cpp -fPIC -DPIC -o .libs/AsymmetricKeyPair.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o AESKey.lo AESKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c AESKey.cpp -fPIC -DPIC -o .libs/AESKey.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o CryptoFactory.lo CryptoFactory.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c CryptoFactory.cpp -fPIC -DPIC -o .libs/CryptoFactory.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o DESKey.lo DESKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c DESKey.cpp -fPIC -DPIC -o .libs/DESKey.o DESKey.cpp: In member function 'virtual bool DESKey::setKeyBits(const ByteString&)': DESKey.cpp:67:19: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 67 | keyData = keybits; | ^~~~~~~ In file included from DESKey.cpp:34: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o DerUtil.lo DerUtil.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c DerUtil.cpp -fPIC -DPIC -o .libs/DerUtil.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o AsymmetricAlgorithm.lo AsymmetricAlgorithm.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c AsymmetricAlgorithm.cpp -fPIC -DPIC -o .libs/AsymmetricAlgorithm.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o DHParameters.lo DHParameters.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c DHParameters.cpp -fPIC -DPIC -o .libs/DHParameters.o DHParameters.cpp: In member function 'void DHParameters::setP(const ByteString&)': DHParameters.cpp:44:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 44 | p = inP; | ^~~ In file included from DHParameters.h:37, from DHParameters.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DHParameters.cpp: In member function 'void DHParameters::setG(const ByteString&)': DHParameters.cpp:50:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 50 | g = inG; | ^~~ In file included from DHParameters.h:37, from DHParameters.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o DHPublicKey.lo DHPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c DHPublicKey.cpp -fPIC -DPIC -o .libs/DHPublicKey.o DHPublicKey.cpp: In member function 'virtual void DHPublicKey::setP(const ByteString&)': DHPublicKey.cpp:62:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 62 | p = inP; | ^~~ In file included from PublicKey.h:37, from DHPublicKey.h:37, from DHPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DHPublicKey.cpp: In member function 'virtual void DHPublicKey::setG(const ByteString&)': DHPublicKey.cpp:67:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 67 | g = inG; | ^~~ In file included from PublicKey.h:37, from DHPublicKey.h:37, from DHPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DHPublicKey.cpp: In member function 'virtual void DHPublicKey::setY(const ByteString&)': DHPublicKey.cpp:72:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 72 | y = inY; | ^~~ In file included from PublicKey.h:37, from DHPublicKey.h:37, from DHPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o DHPrivateKey.lo DHPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c DHPrivateKey.cpp -fPIC -DPIC -o .libs/DHPrivateKey.o DHPrivateKey.cpp: In member function 'virtual void DHPrivateKey::setX(const ByteString&)': DHPrivateKey.cpp:62:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 62 | x = inX; | ^~~ In file included from PrivateKey.h:37, from DHPrivateKey.h:37, from DHPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DHPrivateKey.cpp: In member function 'virtual void DHPrivateKey::setP(const ByteString&)': DHPrivateKey.cpp:68:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 68 | p = inP; | ^~~ In file included from PrivateKey.h:37, from DHPrivateKey.h:37, from DHPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DHPrivateKey.cpp: In member function 'virtual void DHPrivateKey::setG(const ByteString&)': DHPrivateKey.cpp:73:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 73 | g = inG; | ^~~ In file included from PrivateKey.h:37, from DHPrivateKey.h:37, from DHPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o ECParameters.lo ECParameters.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c ECParameters.cpp -fPIC -DPIC -o .libs/ECParameters.o ECParameters.cpp: In member function 'void ECParameters::setEC(const ByteString&)': ECParameters.cpp:44:14: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 44 | ec = inEC; | ^~~~ In file included from ECParameters.h:37, from ECParameters.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o DSAParameters.lo DSAParameters.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c DSAParameters.cpp -fPIC -DPIC -o .libs/DSAParameters.o DSAParameters.cpp: In member function 'void DSAParameters::setP(const ByteString&)': DSAParameters.cpp:44:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 44 | p = inP; | ^~~ In file included from DSAParameters.h:37, from DSAParameters.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DSAParameters.cpp: In member function 'void DSAParameters::setQ(const ByteString&)': DSAParameters.cpp:50:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 50 | q = inQ; | ^~~ In file included from DSAParameters.h:37, from DSAParameters.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DSAParameters.cpp: In member function 'void DSAParameters::setG(const ByteString&)': DSAParameters.cpp:56:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 56 | g = inG; | ^~~ In file included from DSAParameters.h:37, from DSAParameters.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o ECPublicKey.lo ECPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c ECPublicKey.cpp -fPIC -DPIC -o .libs/ECPublicKey.o ECPublicKey.cpp: In member function 'virtual void ECPublicKey::setEC(const ByteString&)': ECPublicKey.cpp:62:14: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 62 | ec = inEC; | ^~~~ In file included from PublicKey.h:37, from ECPublicKey.h:37, from ECPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ ECPublicKey.cpp: In member function 'virtual void ECPublicKey::setQ(const ByteString&)': ECPublicKey.cpp:67:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 67 | q = inQ; | ^~~ In file included from PublicKey.h:37, from ECPublicKey.h:37, from ECPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o DSAPrivateKey.lo DSAPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c DSAPrivateKey.cpp -fPIC -DPIC -o .libs/DSAPrivateKey.o DSAPrivateKey.cpp: In member function 'virtual void DSAPrivateKey::setX(const ByteString&)': DSAPrivateKey.cpp:62:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 62 | x = inX; | ^~~ In file included from PrivateKey.h:37, from DSAPrivateKey.h:37, from DSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DSAPrivateKey.cpp: In member function 'virtual void DSAPrivateKey::setP(const ByteString&)': DSAPrivateKey.cpp:68:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 68 | p = inP; | ^~~ In file included from PrivateKey.h:37, from DSAPrivateKey.h:37, from DSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DSAPrivateKey.cpp: In member function 'virtual void DSAPrivateKey::setQ(const ByteString&)': DSAPrivateKey.cpp:73:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 73 | q = inQ; | ^~~ In file included from PrivateKey.h:37, from DSAPrivateKey.h:37, from DSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DSAPrivateKey.cpp: In member function 'virtual void DSAPrivateKey::setG(const ByteString&)': DSAPrivateKey.cpp:78:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 78 | g = inG; | ^~~ In file included from PrivateKey.h:37, from DSAPrivateKey.h:37, from DSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o ECPrivateKey.lo ECPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c ECPrivateKey.cpp -fPIC -DPIC -o .libs/ECPrivateKey.o ECPrivateKey.cpp: In member function 'virtual void ECPrivateKey::setD(const ByteString&)': ECPrivateKey.cpp:62:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 62 | d = inD; | ^~~ In file included from PrivateKey.h:37, from ECPrivateKey.h:37, from ECPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ ECPrivateKey.cpp: In member function 'virtual void ECPrivateKey::setEC(const ByteString&)': ECPrivateKey.cpp:68:14: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 68 | ec = inEC; | ^~~~ In file included from PrivateKey.h:37, from ECPrivateKey.h:37, from ECPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o DSAPublicKey.lo DSAPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c DSAPublicKey.cpp -fPIC -DPIC -o .libs/DSAPublicKey.o DSAPublicKey.cpp: In member function 'virtual void DSAPublicKey::setP(const ByteString&)': DSAPublicKey.cpp:62:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 62 | p = inP; | ^~~ In file included from PublicKey.h:37, from DSAPublicKey.h:37, from DSAPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DSAPublicKey.cpp: In member function 'virtual void DSAPublicKey::setQ(const ByteString&)': DSAPublicKey.cpp:67:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 67 | q = inQ; | ^~~ In file included from PublicKey.h:37, from DSAPublicKey.h:37, from DSAPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DSAPublicKey.cpp: In member function 'virtual void DSAPublicKey::setG(const ByteString&)': DSAPublicKey.cpp:72:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 72 | g = inG; | ^~~ In file included from PublicKey.h:37, from DSAPublicKey.h:37, from DSAPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DSAPublicKey.cpp: In member function 'virtual void DSAPublicKey::setY(const ByteString&)': DSAPublicKey.cpp:77:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 77 | y = inY; | ^~~ In file included from PublicKey.h:37, from DSAPublicKey.h:37, from DSAPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o EDPublicKey.lo EDPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c EDPublicKey.cpp -fPIC -DPIC -o .libs/EDPublicKey.o EDPublicKey.cpp: In member function 'virtual void EDPublicKey::setEC(const ByteString&)': EDPublicKey.cpp:62:14: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 62 | ec = inEC; | ^~~~ In file included from PublicKey.h:37, from EDPublicKey.h:37, from EDPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ EDPublicKey.cpp: In member function 'virtual void EDPublicKey::setA(const ByteString&)': EDPublicKey.cpp:67:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 67 | a = inA; | ^~~ In file included from PublicKey.h:37, from EDPublicKey.h:37, from EDPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o GOSTPublicKey.lo GOSTPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c GOSTPublicKey.cpp -fPIC -DPIC -o .libs/GOSTPublicKey.o GOSTPublicKey.cpp: In member function 'virtual void GOSTPublicKey::setQ(const ByteString&)': GOSTPublicKey.cpp:56:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 56 | q = inQ; | ^~~ In file included from PublicKey.h:37, from GOSTPublicKey.h:37, from GOSTPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ GOSTPublicKey.cpp: In member function 'virtual void GOSTPublicKey::setEC(const ByteString&)': GOSTPublicKey.cpp:62:14: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 62 | ec = inEC; | ^~~~ In file included from PublicKey.h:37, from GOSTPublicKey.h:37, from GOSTPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o HashAlgorithm.lo HashAlgorithm.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c HashAlgorithm.cpp -fPIC -DPIC -o .libs/HashAlgorithm.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o EDPrivateKey.lo EDPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c EDPrivateKey.cpp -fPIC -DPIC -o .libs/EDPrivateKey.o EDPrivateKey.cpp: In member function 'virtual void EDPrivateKey::setK(const ByteString&)': EDPrivateKey.cpp:62:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 62 | k = inK; | ^~~ In file included from PrivateKey.h:37, from EDPrivateKey.h:37, from EDPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ EDPrivateKey.cpp: In member function 'virtual void EDPrivateKey::setEC(const ByteString&)': EDPrivateKey.cpp:68:14: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 68 | ec = inEC; | ^~~~ In file included from PrivateKey.h:37, from EDPrivateKey.h:37, from EDPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o GOSTPrivateKey.lo GOSTPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c GOSTPrivateKey.cpp -fPIC -DPIC -o .libs/GOSTPrivateKey.o GOSTPrivateKey.cpp: In member function 'virtual void GOSTPrivateKey::setD(const ByteString&)': GOSTPrivateKey.cpp:56:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 56 | d = inD; | ^~~ In file included from PrivateKey.h:37, from GOSTPrivateKey.h:37, from GOSTPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ GOSTPrivateKey.cpp: In member function 'virtual void GOSTPrivateKey::setEC(const ByteString&)': GOSTPrivateKey.cpp:62:14: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 62 | ec = inEC; | ^~~~ In file included from PrivateKey.h:37, from GOSTPrivateKey.h:37, from GOSTPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o MacAlgorithm.lo MacAlgorithm.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c MacAlgorithm.cpp -fPIC -DPIC -o .libs/MacAlgorithm.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o RSAParameters.lo RSAParameters.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c RSAParameters.cpp -fPIC -DPIC -o .libs/RSAParameters.o RSAParameters.cpp: In member function 'void RSAParameters::setE(const ByteString&)': RSAParameters.cpp:44:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 44 | e = inE; | ^~~ In file included from RSAParameters.h:37, from RSAParameters.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLComp.lo OSSLComp.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLComp.cpp -fPIC -DPIC -o .libs/OSSLComp.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o RSAPublicKey.lo RSAPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c RSAPublicKey.cpp -fPIC -DPIC -o .libs/RSAPublicKey.o RSAPublicKey.cpp: In member function 'virtual void RSAPublicKey::setN(const ByteString&)': RSAPublicKey.cpp:63:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 63 | n = inN; | ^~~ In file included from PublicKey.h:37, from RSAPublicKey.h:37, from RSAPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ RSAPublicKey.cpp: In member function 'virtual void RSAPublicKey::setE(const ByteString&)': RSAPublicKey.cpp:68:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 68 | e = inE; | ^~~ In file included from PublicKey.h:37, from RSAPublicKey.h:37, from RSAPublicKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o RSAPrivateKey.lo RSAPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c RSAPrivateKey.cpp -fPIC -DPIC -o .libs/RSAPrivateKey.o RSAPrivateKey.cpp: In member function 'virtual void RSAPrivateKey::setP(const ByteString&)': RSAPrivateKey.cpp:63:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 63 | p = inP; | ^~~ In file included from PrivateKey.h:37, from RSAPrivateKey.h:37, from RSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ RSAPrivateKey.cpp: In member function 'virtual void RSAPrivateKey::setQ(const ByteString&)': RSAPrivateKey.cpp:68:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 68 | q = inQ; | ^~~ In file included from PrivateKey.h:37, from RSAPrivateKey.h:37, from RSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ RSAPrivateKey.cpp: In member function 'virtual void RSAPrivateKey::setPQ(const ByteString&)': RSAPrivateKey.cpp:73:14: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 73 | pq = inPQ; | ^~~~ In file included from PrivateKey.h:37, from RSAPrivateKey.h:37, from RSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ RSAPrivateKey.cpp: In member function 'virtual void RSAPrivateKey::setDP1(const ByteString&)': RSAPrivateKey.cpp:78:15: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 78 | dp1 = inDP1; | ^~~~~ In file included from PrivateKey.h:37, from RSAPrivateKey.h:37, from RSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ RSAPrivateKey.cpp: In member function 'virtual void RSAPrivateKey::setDQ1(const ByteString&)': RSAPrivateKey.cpp:83:15: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 83 | dq1 = inDQ1; | ^~~~~ In file included from PrivateKey.h:37, from RSAPrivateKey.h:37, from RSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ RSAPrivateKey.cpp: In member function 'virtual void RSAPrivateKey::setD(const ByteString&)': RSAPrivateKey.cpp:88:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 88 | d = inD; | ^~~ In file included from PrivateKey.h:37, from RSAPrivateKey.h:37, from RSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ RSAPrivateKey.cpp: In member function 'virtual void RSAPrivateKey::setN(const ByteString&)': RSAPrivateKey.cpp:94:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 94 | n = inN; | ^~~ In file included from PrivateKey.h:37, from RSAPrivateKey.h:37, from RSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ RSAPrivateKey.cpp: In member function 'virtual void RSAPrivateKey::setE(const ByteString&)': RSAPrivateKey.cpp:99:13: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 99 | e = inE; | ^~~ In file included from PrivateKey.h:37, from RSAPrivateKey.h:37, from RSAPrivateKey.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o SymmetricKey.lo SymmetricKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c SymmetricKey.cpp -fPIC -DPIC -o .libs/SymmetricKey.o SymmetricKey.cpp: In copy constructor 'SymmetricKey::SymmetricKey(const SymmetricKey&)': SymmetricKey.cpp:47:22: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 47 | keyData = in.keyData; | ^~~~~~~ In file included from SymmetricKey.cpp:34: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SymmetricKey.cpp: In member function 'virtual bool SymmetricKey::setKeyBits(const ByteString&)': SymmetricKey.cpp:59:19: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 59 | keyData = keybits; | ^~~~~~~ In file included from SymmetricKey.cpp:34: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o SymmetricAlgorithm.lo SymmetricAlgorithm.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c SymmetricAlgorithm.cpp -fPIC -DPIC -o .libs/SymmetricAlgorithm.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLAES.lo OSSLAES.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLAES.cpp -fPIC -DPIC -o .libs/OSSLAES.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLDHKeyPair.lo OSSLDHKeyPair.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLDHKeyPair.cpp -fPIC -DPIC -o .libs/OSSLDHKeyPair.o In file included from OSSLDHPublicKey.h:37, from OSSLDHKeyPair.h:38, from OSSLDHKeyPair.cpp:35: DHPublicKey.h: In member function 'DHPublicKey& DHPublicKey::operator=(const DHPublicKey&)': DHPublicKey.h:39:7: warning: implicitly-declared 'constexpr PublicKey& PublicKey::operator=(const PublicKey&)' is deprecated [-Wdeprecated-copy] 39 | class DHPublicKey : public PublicKey | ^~~~~~~~~~~ In file included from AsymmetricKeyPair.h:38, from OSSLDHKeyPair.h:37, from OSSLDHKeyPair.cpp:35: PublicKey.h:46:9: note: because 'PublicKey' has user-provided 'PublicKey::PublicKey(const PublicKey&)' 46 | PublicKey(const PublicKey& /*in*/) { } | ^~~~~~~~~ In file included from OSSLDHPublicKey.h:37, from OSSLDHKeyPair.h:38, from OSSLDHKeyPair.cpp:35: DHPublicKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DHPublicKey : public PublicKey | ^~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDHKeyPair.h:37, from OSSLDHKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDHPublicKey.h:37, from OSSLDHKeyPair.h:38, from OSSLDHKeyPair.cpp:35: DHPublicKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DHPublicKey : public PublicKey | ^~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDHKeyPair.h:37, from OSSLDHKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDHPublicKey.h:37, from OSSLDHKeyPair.h:38, from OSSLDHKeyPair.cpp:35: DHPublicKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DHPublicKey : public PublicKey | ^~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDHKeyPair.h:37, from OSSLDHKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDHKeyPair.h:38, from OSSLDHKeyPair.cpp:35: OSSLDHPublicKey.h: In member function 'OSSLDHPublicKey& OSSLDHPublicKey::operator=(const OSSLDHPublicKey&)': OSSLDHPublicKey.h:40:7: note: synthesized method 'DHPublicKey& DHPublicKey::operator=(const DHPublicKey&)' first required here 40 | class OSSLDHPublicKey : public DHPublicKey | ^~~~~~~~~~~~~~~ OSSLDHKeyPair.cpp: In member function 'void OSSLDHKeyPair::setPublicKey(OSSLDHPublicKey&)': OSSLDHKeyPair.cpp:40:18: note: synthesized method 'OSSLDHPublicKey& OSSLDHPublicKey::operator=(const OSSLDHPublicKey&)' first required here 40 | pubKey = publicKey; | ^~~~~~~~~ In file included from OSSLDHPrivateKey.h:37, from OSSLDHKeyPair.h:39, from OSSLDHKeyPair.cpp:35: DHPrivateKey.h: In member function 'DHPrivateKey& DHPrivateKey::operator=(const DHPrivateKey&)': DHPrivateKey.h:39:7: warning: implicitly-declared 'constexpr PrivateKey& PrivateKey::operator=(const PrivateKey&)' is deprecated [-Wdeprecated-copy] 39 | class DHPrivateKey : public PrivateKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:39, from OSSLDHKeyPair.h:37, from OSSLDHKeyPair.cpp:35: PrivateKey.h:47:9: note: because 'PrivateKey' has user-provided 'PrivateKey::PrivateKey(const PrivateKey&)' 47 | PrivateKey(const PrivateKey& in); | ^~~~~~~~~~ In file included from OSSLDHPrivateKey.h:37, from OSSLDHKeyPair.h:39, from OSSLDHKeyPair.cpp:35: DHPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DHPrivateKey : public PrivateKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDHKeyPair.h:37, from OSSLDHKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDHPrivateKey.h:37, from OSSLDHKeyPair.h:39, from OSSLDHKeyPair.cpp:35: DHPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DHPrivateKey : public PrivateKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDHKeyPair.h:37, from OSSLDHKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDHPrivateKey.h:37, from OSSLDHKeyPair.h:39, from OSSLDHKeyPair.cpp:35: DHPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DHPrivateKey : public PrivateKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDHKeyPair.h:37, from OSSLDHKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDHKeyPair.h:39, from OSSLDHKeyPair.cpp:35: OSSLDHPrivateKey.h: In member function 'OSSLDHPrivateKey& OSSLDHPrivateKey::operator=(const OSSLDHPrivateKey&)': OSSLDHPrivateKey.h:40:7: note: synthesized method 'DHPrivateKey& DHPrivateKey::operator=(const DHPrivateKey&)' first required here 40 | class OSSLDHPrivateKey : public DHPrivateKey | ^~~~~~~~~~~~~~~~ OSSLDHKeyPair.cpp: In member function 'void OSSLDHKeyPair::setPrivateKey(OSSLDHPrivateKey&)': OSSLDHKeyPair.cpp:46:19: note: synthesized method 'OSSLDHPrivateKey& OSSLDHPrivateKey::operator=(const OSSLDHPrivateKey&)' first required here 46 | privKey = privateKey; | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLDH.lo OSSLDH.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLDH.cpp -fPIC -DPIC -o .libs/OSSLDH.o 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: /usr/include/openssl/dh.h:199:27: note: declared here 199 | 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)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:255:27: note: declared here 255 | 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); | ~~~~~~~^~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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())) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:269:27: note: declared here 269 | 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); | ~~~~~~~^~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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) | ~~~~~~~~~~~~~~~^~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:223:27: note: declared here 223 | 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); | ~~~~~~~^~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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); | ~~~~~~~^~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:256:28: note: declared here 256 | 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); | ~~~~~~~^~~~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:203:27: note: declared here 203 | 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); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:224:27: note: declared here 224 | 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(); | ~~~~~~^~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:199:27: note: declared here 199 | 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)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:212:27: note: declared here 212 | 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); | ~~~~~~~^~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:253:28: note: declared here 253 | 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); | ~~~~~~~^~~~ In file included from OSSLDH.h:38, from OSSLDH.cpp:35: /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLDHPublicKey.lo OSSLDHPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLDHPublicKey.cpp -fPIC -DPIC -o .libs/OSSLDHPublicKey.o 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: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDHPublicKey.h:38, from OSSLDHPublicKey.cpp:36: /usr/include/openssl/dh.h:253:28: note: declared here 253 | 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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDHPublicKey.h:38, from OSSLDHPublicKey.cpp:36: /usr/include/openssl/dh.h:256:28: note: declared here 256 | 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); | ~~~~~~~^~~~ In file included from OSSLDHPublicKey.h:38, from OSSLDHPublicKey.cpp:36: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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); | ~~~~~~~^~~~ In file included from OSSLDHPublicKey.h:38, from OSSLDHPublicKey.cpp:36: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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); | ~~~~~~~^~~~ In file included from OSSLDHPublicKey.h:38, from OSSLDHPublicKey.cpp:36: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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(); | ~~~~~~^~ In file included from OSSLDHPublicKey.h:38, from OSSLDHPublicKey.cpp:36: /usr/include/openssl/dh.h:199:27: note: declared here 199 | 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()); | ~~~~~~~~~~^~ In file included from OSSLDHPublicKey.h:38, from OSSLDHPublicKey.cpp:36: /usr/include/openssl/dh.h:192:40: note: declared here 192 | 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()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from OSSLDHPublicKey.h:38, from OSSLDHPublicKey.cpp:36: /usr/include/openssl/dh.h:196:27: note: declared here 196 | 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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDHPublicKey.h:38, from OSSLDHPublicKey.cpp:36: /usr/include/openssl/dh.h:255:27: note: declared here 255 | 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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDHPublicKey.h:38, from OSSLDHPublicKey.cpp:36: /usr/include/openssl/dh.h:258:27: note: declared here 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLDES.lo OSSLDES.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLDES.cpp -fPIC -DPIC -o .libs/OSSLDES.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLCryptoFactory.lo OSSLCryptoFactory.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLCryptoFactory.cpp -fPIC -DPIC -o .libs/OSSLCryptoFactory.o OSSLCryptoFactory.cpp: In constructor 'OSSLCryptoFactory::OSSLCryptoFactory()': OSSLCryptoFactory.cpp:147:37: warning: 'ENGINE* ENGINE_by_id(const char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 147 | rdrand_engine = ENGINE_by_id("rdrand"); | ~~~~~~~~~~~~^~~~~~~~~~ In file included from OSSLCryptoFactory.h:45, from OSSLCryptoFactory.cpp:35: /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ OSSLCryptoFactory.cpp:152:33: warning: 'int ENGINE_init(ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 152 | if (!ENGINE_init(rdrand_engine)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from OSSLCryptoFactory.h:45, from OSSLCryptoFactory.cpp:35: /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ OSSLCryptoFactory.cpp:157:45: warning: 'int ENGINE_set_default(ENGINE*, unsigned int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 157 | else if (!ENGINE_set_default(rdrand_engine, ENGINE_METHOD_RAND)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLCryptoFactory.h:45, from OSSLCryptoFactory.cpp:35: /usr/include/openssl/engine.h:708:27: note: declared here 708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags); | ^~~~~~~~~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLDHPrivateKey.lo OSSLDHPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLDHPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLDHPrivateKey.o 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: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /usr/include/openssl/dh.h:253:28: note: declared here 253 | 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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /usr/include/openssl/dh.h:256:28: note: declared here 256 | 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); | ~~~~~~~^~~~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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); | ~~~~~~~^~~~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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); | ~~~~~~~^~~~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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 /usr/include/openssl/x509.h:29, from OSSLDHPrivateKey.cpp:39: /usr/include/openssl/evp.h:1362:27: note: declared here 1362 | 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); | ~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:29, from OSSLDHPrivateKey.cpp:39: /usr/include/openssl/evp.h:1364:37: note: declared here 1364 | 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); | ~~~~~~~^~~~~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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(); | ~~~~~~^~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /usr/include/openssl/dh.h:199:27: note: declared here 199 | 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()); | ~~~~~~~~~~^~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /usr/include/openssl/dh.h:192:40: note: declared here 192 | 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()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /usr/include/openssl/dh.h:196:27: note: declared here 196 | 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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /usr/include/openssl/dh.h:255:27: note: declared here 255 | 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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDHPrivateKey.h:38, from OSSLDHPrivateKey.cpp:36: /usr/include/openssl/dh.h:258:27: note: declared here 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLDSAKeyPair.lo OSSLDSAKeyPair.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLDSAKeyPair.cpp -fPIC -DPIC -o .libs/OSSLDSAKeyPair.o In file included from OSSLDSAPublicKey.h:37, from OSSLDSAKeyPair.h:38, from OSSLDSAKeyPair.cpp:35: DSAPublicKey.h: In member function 'DSAPublicKey& DSAPublicKey::operator=(const DSAPublicKey&)': DSAPublicKey.h:39:7: warning: implicitly-declared 'constexpr PublicKey& PublicKey::operator=(const PublicKey&)' is deprecated [-Wdeprecated-copy] 39 | class DSAPublicKey : public PublicKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:38, from OSSLDSAKeyPair.h:37, from OSSLDSAKeyPair.cpp:35: PublicKey.h:46:9: note: because 'PublicKey' has user-provided 'PublicKey::PublicKey(const PublicKey&)' 46 | PublicKey(const PublicKey& /*in*/) { } | ^~~~~~~~~ In file included from OSSLDSAPublicKey.h:37, from OSSLDSAKeyPair.h:38, from OSSLDSAKeyPair.cpp:35: DSAPublicKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DSAPublicKey : public PublicKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDSAKeyPair.h:37, from OSSLDSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDSAPublicKey.h:37, from OSSLDSAKeyPair.h:38, from OSSLDSAKeyPair.cpp:35: DSAPublicKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DSAPublicKey : public PublicKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDSAKeyPair.h:37, from OSSLDSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDSAPublicKey.h:37, from OSSLDSAKeyPair.h:38, from OSSLDSAKeyPair.cpp:35: DSAPublicKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DSAPublicKey : public PublicKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDSAKeyPair.h:37, from OSSLDSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDSAPublicKey.h:37, from OSSLDSAKeyPair.h:38, from OSSLDSAKeyPair.cpp:35: DSAPublicKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DSAPublicKey : public PublicKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDSAKeyPair.h:37, from OSSLDSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDSAKeyPair.h:38, from OSSLDSAKeyPair.cpp:35: OSSLDSAPublicKey.h: In member function 'OSSLDSAPublicKey& OSSLDSAPublicKey::operator=(const OSSLDSAPublicKey&)': OSSLDSAPublicKey.h:40:7: note: synthesized method 'DSAPublicKey& DSAPublicKey::operator=(const DSAPublicKey&)' first required here 40 | class OSSLDSAPublicKey : public DSAPublicKey | ^~~~~~~~~~~~~~~~ OSSLDSAKeyPair.cpp: In member function 'void OSSLDSAKeyPair::setPublicKey(OSSLDSAPublicKey&)': OSSLDSAKeyPair.cpp:40:18: note: synthesized method 'OSSLDSAPublicKey& OSSLDSAPublicKey::operator=(const OSSLDSAPublicKey&)' first required here 40 | pubKey = publicKey; | ^~~~~~~~~ In file included from OSSLDSAPrivateKey.h:37, from OSSLDSAKeyPair.h:39, from OSSLDSAKeyPair.cpp:35: DSAPrivateKey.h: In member function 'DSAPrivateKey& DSAPrivateKey::operator=(const DSAPrivateKey&)': DSAPrivateKey.h:39:7: warning: implicitly-declared 'constexpr PrivateKey& PrivateKey::operator=(const PrivateKey&)' is deprecated [-Wdeprecated-copy] 39 | class DSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:39, from OSSLDSAKeyPair.h:37, from OSSLDSAKeyPair.cpp:35: PrivateKey.h:47:9: note: because 'PrivateKey' has user-provided 'PrivateKey::PrivateKey(const PrivateKey&)' 47 | PrivateKey(const PrivateKey& in); | ^~~~~~~~~~ In file included from OSSLDSAPrivateKey.h:37, from OSSLDSAKeyPair.h:39, from OSSLDSAKeyPair.cpp:35: DSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDSAKeyPair.h:37, from OSSLDSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDSAPrivateKey.h:37, from OSSLDSAKeyPair.h:39, from OSSLDSAKeyPair.cpp:35: DSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDSAKeyPair.h:37, from OSSLDSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDSAPrivateKey.h:37, from OSSLDSAKeyPair.h:39, from OSSLDSAKeyPair.cpp:35: DSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDSAKeyPair.h:37, from OSSLDSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDSAPrivateKey.h:37, from OSSLDSAKeyPair.h:39, from OSSLDSAKeyPair.cpp:35: DSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class DSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLDSAKeyPair.h:37, from OSSLDSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLDSAKeyPair.h:39, from OSSLDSAKeyPair.cpp:35: OSSLDSAPrivateKey.h: In member function 'OSSLDSAPrivateKey& OSSLDSAPrivateKey::operator=(const OSSLDSAPrivateKey&)': OSSLDSAPrivateKey.h:40:7: note: synthesized method 'DSAPrivateKey& DSAPrivateKey::operator=(const DSAPrivateKey&)' first required here 40 | class OSSLDSAPrivateKey : public DSAPrivateKey | ^~~~~~~~~~~~~~~~~ OSSLDSAKeyPair.cpp: In member function 'void OSSLDSAKeyPair::setPrivateKey(OSSLDSAPrivateKey&)': OSSLDSAKeyPair.cpp:46:19: note: synthesized method 'OSSLDSAPrivateKey& OSSLDSAPrivateKey::operator=(const OSSLDSAPrivateKey&)' first required here 46 | privKey = privateKey; | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLDSA.lo OSSLDSA.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLDSA.cpp -fPIC -DPIC -o .libs/OSSLDSA.o OSSLDSA.cpp: In member function 'virtual bool OSSLDSA::sign(PrivateKey*, const ByteString&, ByteString&, AsymMech::Type, const void*, 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: /usr/include/openssl/dsa.h:113:32: note: declared here 113 | 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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:113:32: note: declared here 113 | 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*, 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()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:115:27: note: declared here 115 | 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()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:115:27: note: declared here 115 | 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(); | ~~~~~~~^~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | 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()); | ~~~~~~~~~~~~~~~~~~~~~~^~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:121:41: note: declared here 121 | 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()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:122:27: note: declared here 122 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | 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) | ~~~~~~~~~~~~~~~~^~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:174:27: note: declared here 174 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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(); | ~~~~~~~^~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | 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)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:167:27: note: declared here 167 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSA.h:39, from OSSLDSA.cpp:35: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLDSAPrivateKey.lo OSSLDSAPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLDSAPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLDSAPrivateKey.o 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: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:204:28: note: declared here 204 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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 /usr/include/openssl/x509.h:29, from OSSLDSAPrivateKey.cpp:39: /usr/include/openssl/evp.h:1353:5: note: declared here 1353 | 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); | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:29, from OSSLDSAPrivateKey.cpp:39: /usr/include/openssl/evp.h:1357:16: note: declared here 1357 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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(); | ~~~~~~~^~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | 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()); | ~~~~~~~~~~~^~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:118:41: note: declared here 118 | 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()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:122:27: note: declared here 122 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSAPrivateKey.h:38, from OSSLDSAPrivateKey.cpp:36: /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLEDKeyPair.lo OSSLEDKeyPair.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLEDKeyPair.cpp -fPIC -DPIC -o .libs/OSSLEDKeyPair.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLEDDSA.lo OSSLEDDSA.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLEDDSA.cpp -fPIC -DPIC -o .libs/OSSLEDDSA.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLDSAPublicKey.lo OSSLDSAPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLDSAPublicKey.cpp -fPIC -DPIC -o .libs/OSSLDSAPublicKey.o 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: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /usr/include/openssl/dsa.h:204:28: note: declared here 204 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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); | ~~~~~~~~^~~~~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | 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(); | ~~~~~~~^~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | 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()); | ~~~~~~~~~~~^~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /usr/include/openssl/dsa.h:118:41: note: declared here 118 | 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()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /usr/include/openssl/dsa.h:122:27: note: declared here 122 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLDSAPublicKey.h:38, from OSSLDSAPublicKey.cpp:35: /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLEDPrivateKey.lo OSSLEDPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLEDPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLEDPrivateKey.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLEDPublicKey.lo OSSLEDPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLEDPublicKey.cpp -fPIC -DPIC -o .libs/OSSLEDPublicKey.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLECKeyPair.lo OSSLECKeyPair.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLECKeyPair.cpp -fPIC -DPIC -o .libs/OSSLECKeyPair.o In file included from OSSLECPublicKey.h:37, from OSSLECKeyPair.h:38, from OSSLECKeyPair.cpp:36: ECPublicKey.h: In member function 'ECPublicKey& ECPublicKey::operator=(const ECPublicKey&)': ECPublicKey.h:39:7: warning: implicitly-declared 'constexpr PublicKey& PublicKey::operator=(const PublicKey&)' is deprecated [-Wdeprecated-copy] 39 | class ECPublicKey : public PublicKey | ^~~~~~~~~~~ In file included from AsymmetricKeyPair.h:38, from OSSLECKeyPair.h:37, from OSSLECKeyPair.cpp:36: PublicKey.h:46:9: note: because 'PublicKey' has user-provided 'PublicKey::PublicKey(const PublicKey&)' 46 | PublicKey(const PublicKey& /*in*/) { } | ^~~~~~~~~ In file included from OSSLECPublicKey.h:37, from OSSLECKeyPair.h:38, from OSSLECKeyPair.cpp:36: ECPublicKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class ECPublicKey : public PublicKey | ^~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLECKeyPair.h:37, from OSSLECKeyPair.cpp:36: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLECPublicKey.h:37, from OSSLECKeyPair.h:38, from OSSLECKeyPair.cpp:36: ECPublicKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class ECPublicKey : public PublicKey | ^~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLECKeyPair.h:37, from OSSLECKeyPair.cpp:36: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLECKeyPair.h:38, from OSSLECKeyPair.cpp:36: OSSLECPublicKey.h: In member function 'OSSLECPublicKey& OSSLECPublicKey::operator=(const OSSLECPublicKey&)': OSSLECPublicKey.h:40:7: note: synthesized method 'ECPublicKey& ECPublicKey::operator=(const ECPublicKey&)' first required here 40 | class OSSLECPublicKey : public ECPublicKey | ^~~~~~~~~~~~~~~ OSSLECKeyPair.cpp: In member function 'void OSSLECKeyPair::setPublicKey(OSSLECPublicKey&)': OSSLECKeyPair.cpp:41:18: note: synthesized method 'OSSLECPublicKey& OSSLECPublicKey::operator=(const OSSLECPublicKey&)' first required here 41 | pubKey = publicKey; | ^~~~~~~~~ In file included from OSSLECPrivateKey.h:37, from OSSLECKeyPair.h:39, from OSSLECKeyPair.cpp:36: ECPrivateKey.h: In member function 'ECPrivateKey& ECPrivateKey::operator=(const ECPrivateKey&)': ECPrivateKey.h:39:7: warning: implicitly-declared 'constexpr PrivateKey& PrivateKey::operator=(const PrivateKey&)' is deprecated [-Wdeprecated-copy] 39 | class ECPrivateKey : public PrivateKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:39, from OSSLECKeyPair.h:37, from OSSLECKeyPair.cpp:36: PrivateKey.h:47:9: note: because 'PrivateKey' has user-provided 'PrivateKey::PrivateKey(const PrivateKey&)' 47 | PrivateKey(const PrivateKey& in); | ^~~~~~~~~~ In file included from OSSLECPrivateKey.h:37, from OSSLECKeyPair.h:39, from OSSLECKeyPair.cpp:36: ECPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class ECPrivateKey : public PrivateKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLECKeyPair.h:37, from OSSLECKeyPair.cpp:36: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLECPrivateKey.h:37, from OSSLECKeyPair.h:39, from OSSLECKeyPair.cpp:36: ECPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class ECPrivateKey : public PrivateKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLECKeyPair.h:37, from OSSLECKeyPair.cpp:36: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLECKeyPair.h:39, from OSSLECKeyPair.cpp:36: OSSLECPrivateKey.h: In member function 'OSSLECPrivateKey& OSSLECPrivateKey::operator=(const OSSLECPrivateKey&)': OSSLECPrivateKey.h:41:7: note: synthesized method 'ECPrivateKey& ECPrivateKey::operator=(const ECPrivateKey&)' first required here 41 | class OSSLECPrivateKey : public ECPrivateKey | ^~~~~~~~~~~~~~~~ OSSLECKeyPair.cpp: In member function 'void OSSLECKeyPair::setPrivateKey(OSSLECPrivateKey&)': OSSLECKeyPair.cpp:47:19: note: synthesized method 'OSSLECPrivateKey& OSSLECPrivateKey::operator=(const OSSLECPrivateKey&)' first required here 47 | privKey = privateKey; | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLECPublicKey.lo OSSLECPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLECPublicKey.cpp -fPIC -DPIC -o .libs/OSSLECPublicKey.o 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: /usr/include/openssl/ec.h:966:31: note: declared here 966 | 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(); | ~~~~~~~~~~^~ In file included from OSSLECPublicKey.h:38, from OSSLECPublicKey.cpp:36: /usr/include/openssl/ec.h:966:31: note: declared here 966 | 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); | ~~~~~~~~~~~^~~~~~~ In file included from OSSLECPublicKey.h:38, from OSSLECPublicKey.cpp:36: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | 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); | ~~~~~~~~~~~~~~~~~^~~~~~~ In file included from OSSLECPublicKey.h:38, from OSSLECPublicKey.cpp:36: /usr/include/openssl/ec.h:1032:39: note: declared here 1032 | 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); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from OSSLECPublicKey.h:38, from OSSLECPublicKey.cpp:36: /usr/include/openssl/ec.h:1032:39: note: declared here 1032 | 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from OSSLECPublicKey.h:38, from OSSLECPublicKey.cpp:36: /usr/include/openssl/ec.h:1060:39: note: declared here 1060 | 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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from OSSLECPublicKey.h:38, from OSSLECPublicKey.cpp:36: /usr/include/openssl/ec.h:1040:27: note: declared here 1040 | 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)); | ~~~~~~~~~~~~~~~~~^~~~~~~ In file included from OSSLECPublicKey.h:38, from OSSLECPublicKey.cpp:36: /usr/include/openssl/ec.h:1032:39: note: declared here 1032 | 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); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from OSSLECPublicKey.h:38, from OSSLECPublicKey.cpp:36: /usr/include/openssl/ec.h:1068:27: note: declared here 1068 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLECDH.lo OSSLECDH.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLECDH.cpp -fPIC -DPIC -o .libs/OSSLECDH.o 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 /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:966:31: note: declared here 966 | 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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:1040:27: note: declared here 1040 | 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)) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:1099:27: note: declared here 1099 | 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); | ~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | 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); | ~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | 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) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:1060:39: note: declared here 1060 | 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()); | ~~~~~~~~~~~~~~^~ In file included from /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:1277:44: note: declared here 1277 | 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()); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:1281:27: note: declared here 1281 | 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()); | ~~~~~~~~~~~~~~^~ In file included from /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:1277:44: note: declared here 1277 | 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()); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:1281:27: note: declared here 1281 | 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:1060:39: note: declared here 1060 | 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*, size_t, const EC_POINT*, const EC_KEY*, void* (*)(const void*, size_t, void*, 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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ecdh.h:10, from OSSLECDH.h:38, from OSSLECDH.cpp:36: /usr/include/openssl/ec.h:1294:27: note: declared here 1294 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen, | ^~~~~~~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLECPrivateKey.lo OSSLECPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLECPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLECPrivateKey.o 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: /usr/include/openssl/ec.h:966:31: note: declared here 966 | 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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLECPrivateKey.h:39, from OSSLECPrivateKey.cpp:36: /usr/include/openssl/ec.h:1071:28: note: declared here 1071 | 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(); | ~~~~~~~~~~^~ In file included from OSSLECPrivateKey.h:39, from OSSLECPrivateKey.cpp:36: /usr/include/openssl/ec.h:966:31: note: declared here 966 | 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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLECPrivateKey.h:39, from OSSLECPrivateKey.cpp:36: /usr/include/openssl/ec.h:1071:28: note: declared here 1071 | 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); | ~~~~~~~~~~~^~~~~~~ In file included from OSSLECPrivateKey.h:39, from OSSLECPrivateKey.cpp:36: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | 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); | ~~~~~~~~~~~~~~~~~^~~~~~~ In file included from OSSLECPrivateKey.h:39, from OSSLECPrivateKey.cpp:36: /usr/include/openssl/ec.h:1032:39: note: declared here 1032 | 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); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from OSSLECPrivateKey.h:39, from OSSLECPrivateKey.cpp:36: /usr/include/openssl/ec.h:1032:39: note: declared here 1032 | 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); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from OSSLECPrivateKey.h:39, from OSSLECPrivateKey.cpp:36: /usr/include/openssl/ec.h:1046:37: note: declared here 1046 | 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); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from OSSLECPrivateKey.h:39, from OSSLECPrivateKey.cpp:36: /usr/include/openssl/ec.h:1054:27: note: declared here 1054 | 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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from OSSLECPrivateKey.h:39, from OSSLECPrivateKey.cpp:36: /usr/include/openssl/ec.h:1040:27: note: declared here 1040 | 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 /usr/include/openssl/x509.h:29, from OSSLECPrivateKey.cpp:39: /usr/include/openssl/evp.h:1370:5: note: declared here 1370 | 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); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:29, from OSSLECPrivateKey.cpp:39: /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | 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); | ~~~~~~~~~~~^~~~~ In file included from OSSLECPrivateKey.h:39, from OSSLECPrivateKey.cpp:36: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLGOST.lo OSSLGOST.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLGOST.cpp -fPIC -DPIC -o .libs/OSSLGOST.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLGOSTKeyPair.lo OSSLGOSTKeyPair.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLGOSTKeyPair.cpp -fPIC -DPIC -o .libs/OSSLGOSTKeyPair.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLECDSA.lo OSSLECDSA.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLECDSA.cpp -fPIC -DPIC -o .libs/OSSLECDSA.o OSSLECDSA.cpp: In member function 'virtual bool OSSLECDSA::sign(PrivateKey*, const ByteString&, ByteString&, AsymMech::Type, const void*, 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 /usr/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /usr/include/openssl/ec.h:1277:44: note: declared here 1277 | 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()); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /usr/include/openssl/ec.h:1281:27: note: declared here 1281 | 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); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /usr/include/openssl/ec.h:1363:34: note: declared here 1363 | 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*, 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()); | ~~~~~~~~~~~~~~^~ In file included from /usr/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /usr/include/openssl/ec.h:1277:44: note: declared here 1277 | 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()); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /usr/include/openssl/ec.h:1281:27: note: declared here 1281 | 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); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /usr/include/openssl/ec.h:1389:27: note: declared here 1389 | 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(); | ~~~~~~~~~~^~ In file included from /usr/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /usr/include/openssl/ec.h:966:31: note: declared here 966 | 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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /usr/include/openssl/ec.h:1040:27: note: declared here 1040 | 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)) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /usr/include/openssl/ec.h:1099:27: note: declared here 1099 | 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); | ~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | 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); | ~~~~~~~~~~~^~~~~~~ In file included from /usr/include/openssl/ecdsa.h:10, from OSSLECDSA.h:38, from OSSLECDSA.cpp:36: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLGOSTPrivateKey.lo OSSLGOSTPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLGOSTPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLGOSTPrivateKey.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLGOSTR3411.lo OSSLGOSTR3411.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLGOSTR3411.cpp -fPIC -DPIC -o .libs/OSSLGOSTR3411.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLGOSTPublicKey.lo OSSLGOSTPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLGOSTPublicKey.cpp -fPIC -DPIC -o .libs/OSSLGOSTPublicKey.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLEVPHashAlgorithm.lo OSSLEVPHashAlgorithm.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLEVPHashAlgorithm.cpp -fPIC -DPIC -o .libs/OSSLEVPHashAlgorithm.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLEVPMacAlgorithm.lo OSSLEVPMacAlgorithm.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLEVPMacAlgorithm.cpp -fPIC -DPIC -o .libs/OSSLEVPMacAlgorithm.o 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: /usr/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(); | ~~~~~~~~~~~~^~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 90 | if (!HMAC_Update(curCTX, dataToSign.const_byte_str(), dataToSign.size())) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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(); | ~~~~~~~~~~~~^~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 179 | if (!HMAC_Update(curCTX, originalData.const_byte_str(), originalData.size())) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPMacAlgorithm.h:41, from OSSLEVPMacAlgorithm.cpp:36: /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLEVPCMacAlgorithm.lo OSSLEVPCMacAlgorithm.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLEVPCMacAlgorithm.cpp -fPIC -DPIC -o .libs/OSSLEVPCMacAlgorithm.o 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: /usr/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(); | ~~~~~~~~~~~~^~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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*, 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)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 103 | if (!CMAC_Update(curCTX, dataToSign.const_byte_str(), dataToSign.size())) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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*, size_t*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 129 | if (!CMAC_Final(curCTX, &signature[0], &outLen)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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(); | ~~~~~~~~~~~~^~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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*, 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)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 203 | if (!CMAC_Update(curCTX, originalData.const_byte_str(), originalData.size())) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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*, size_t*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 230 | if (!CMAC_Final(curCTX, &macResult[0], &outLen)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/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); | ~~~~~~~~~~~~~^~~~~~~~ In file included from OSSLEVPCMacAlgorithm.h:41, from OSSLEVPCMacAlgorithm.cpp:36: /usr/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLHMAC.lo OSSLHMAC.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLHMAC.cpp -fPIC -DPIC -o .libs/OSSLHMAC.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLCMAC.lo OSSLCMAC.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLCMAC.cpp -fPIC -DPIC -o .libs/OSSLCMAC.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLEVPSymmetricAlgorithm.lo OSSLEVPSymmetricAlgorithm.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLEVPSymmetricAlgorithm.cpp -fPIC -DPIC -o .libs/OSSLEVPSymmetricAlgorithm.o OSSLEVPSymmetricAlgorithm.cpp: In member function 'virtual bool OSSLEVPSymmetricAlgorithm::encryptInit(const SymmetricKey*, SymMode::Type, const ByteString&, bool, size_t, const ByteString&, size_t)': OSSLEVPSymmetricAlgorithm.cpp:84:22: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 84 | iv = IV; | ^~ In file included from SymmetricKey.h:37, from OSSLEVPSymmetricAlgorithm.h:39, from OSSLEVPSymmetricAlgorithm.cpp:36: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ OSSLEVPSymmetricAlgorithm.cpp: In member function 'virtual bool OSSLEVPSymmetricAlgorithm::decryptInit(const SymmetricKey*, SymMode::Type, const ByteString&, bool, size_t, const ByteString&, size_t)': OSSLEVPSymmetricAlgorithm.cpp:317:22: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 317 | iv = IV; | ^~ In file included from SymmetricKey.h:37, from OSSLEVPSymmetricAlgorithm.h:39, from OSSLEVPSymmetricAlgorithm.cpp:36: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLMD5.lo OSSLMD5.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLMD5.cpp -fPIC -DPIC -o .libs/OSSLMD5.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLRNG.lo OSSLRNG.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLRNG.cpp -fPIC -DPIC -o .libs/OSSLRNG.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLRSAKeyPair.lo OSSLRSAKeyPair.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLRSAKeyPair.cpp -fPIC -DPIC -o .libs/OSSLRSAKeyPair.o In file included from OSSLRSAPublicKey.h:37, from OSSLRSAKeyPair.h:38, from OSSLRSAKeyPair.cpp:35: RSAPublicKey.h: In member function 'RSAPublicKey& RSAPublicKey::operator=(const RSAPublicKey&)': RSAPublicKey.h:39:7: warning: implicitly-declared 'constexpr PublicKey& PublicKey::operator=(const PublicKey&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPublicKey : public PublicKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:38, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: PublicKey.h:46:9: note: because 'PublicKey' has user-provided 'PublicKey::PublicKey(const PublicKey&)' 46 | PublicKey(const PublicKey& /*in*/) { } | ^~~~~~~~~ In file included from OSSLRSAPublicKey.h:37, from OSSLRSAKeyPair.h:38, from OSSLRSAKeyPair.cpp:35: RSAPublicKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPublicKey : public PublicKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLRSAPublicKey.h:37, from OSSLRSAKeyPair.h:38, from OSSLRSAKeyPair.cpp:35: RSAPublicKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPublicKey : public PublicKey | ^~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLRSAKeyPair.h:38, from OSSLRSAKeyPair.cpp:35: OSSLRSAPublicKey.h: In member function 'OSSLRSAPublicKey& OSSLRSAPublicKey::operator=(const OSSLRSAPublicKey&)': OSSLRSAPublicKey.h:40:7: note: synthesized method 'RSAPublicKey& RSAPublicKey::operator=(const RSAPublicKey&)' first required here 40 | class OSSLRSAPublicKey : public RSAPublicKey | ^~~~~~~~~~~~~~~~ OSSLRSAKeyPair.cpp: In member function 'void OSSLRSAKeyPair::setPublicKey(OSSLRSAPublicKey&)': OSSLRSAKeyPair.cpp:40:18: note: synthesized method 'OSSLRSAPublicKey& OSSLRSAPublicKey::operator=(const OSSLRSAPublicKey&)' first required here 40 | pubKey = publicKey; | ^~~~~~~~~ In file included from OSSLRSAPrivateKey.h:37, from OSSLRSAKeyPair.h:39, from OSSLRSAKeyPair.cpp:35: RSAPrivateKey.h: In member function 'RSAPrivateKey& RSAPrivateKey::operator=(const RSAPrivateKey&)': RSAPrivateKey.h:39:7: warning: implicitly-declared 'constexpr PrivateKey& PrivateKey::operator=(const PrivateKey&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:39, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: PrivateKey.h:47:9: note: because 'PrivateKey' has user-provided 'PrivateKey::PrivateKey(const PrivateKey&)' 47 | PrivateKey(const PrivateKey& in); | ^~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:37, from OSSLRSAKeyPair.h:39, from OSSLRSAKeyPair.cpp:35: RSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:37, from OSSLRSAKeyPair.h:39, from OSSLRSAKeyPair.cpp:35: RSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:37, from OSSLRSAKeyPair.h:39, from OSSLRSAKeyPair.cpp:35: RSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:37, from OSSLRSAKeyPair.h:39, from OSSLRSAKeyPair.cpp:35: RSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:37, from OSSLRSAKeyPair.h:39, from OSSLRSAKeyPair.cpp:35: RSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:37, from OSSLRSAKeyPair.h:39, from OSSLRSAKeyPair.cpp:35: RSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:37, from OSSLRSAKeyPair.h:39, from OSSLRSAKeyPair.cpp:35: RSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:37, from OSSLRSAKeyPair.h:39, from OSSLRSAKeyPair.cpp:35: RSAPrivateKey.h:39:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 39 | class RSAPrivateKey : public PrivateKey | ^~~~~~~~~~~~~ In file included from AsymmetricKeyPair.h:37, from OSSLRSAKeyPair.h:37, from OSSLRSAKeyPair.cpp:35: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ In file included from OSSLRSAKeyPair.h:39, from OSSLRSAKeyPair.cpp:35: OSSLRSAPrivateKey.h: In member function 'OSSLRSAPrivateKey& OSSLRSAPrivateKey::operator=(const OSSLRSAPrivateKey&)': OSSLRSAPrivateKey.h:40:7: note: synthesized method 'RSAPrivateKey& RSAPrivateKey::operator=(const RSAPrivateKey&)' first required here 40 | class OSSLRSAPrivateKey : public RSAPrivateKey | ^~~~~~~~~~~~~~~~~ OSSLRSAKeyPair.cpp: In member function 'void OSSLRSAKeyPair::setPrivateKey(OSSLRSAPrivateKey&)': OSSLRSAKeyPair.cpp:46:19: note: synthesized method 'OSSLRSAPrivateKey& OSSLRSAPrivateKey::operator=(const OSSLRSAPrivateKey&)' first required here 46 | privKey = privateKey; | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLSHA256.lo OSSLSHA256.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLSHA256.cpp -fPIC -DPIC -o .libs/OSSLSHA256.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLSHA1.lo OSSLSHA1.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLSHA1.cpp -fPIC -DPIC -o .libs/OSSLSHA1.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLSHA224.lo OSSLSHA224.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLSHA224.cpp -fPIC -DPIC -o .libs/OSSLSHA224.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLRSAPublicKey.lo OSSLRSAPublicKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLRSAPublicKey.cpp -fPIC -DPIC -o .libs/OSSLRSAPublicKey.o 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: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSAPublicKey.h:38, from OSSLRSAPublicKey.cpp:36: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSAPublicKey.h:38, from OSSLRSAPublicKey.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSAPublicKey.h:38, from OSSLRSAPublicKey.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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(); | ~~~~~~~^~ In file included from OSSLRSAPublicKey.h:38, from OSSLRSAPublicKey.cpp:36: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | 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()); | ~~~~~~~~~~~~~~~~~^~ In file included from OSSLRSAPublicKey.h:38, from OSSLRSAPublicKey.cpp:36: /usr/include/openssl/rsa.h:305:41: note: declared here 305 | 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()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSAPublicKey.h:38, from OSSLRSAPublicKey.cpp:36: /usr/include/openssl/rsa.h:302:27: note: declared here 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSAPublicKey.h:38, from OSSLRSAPublicKey.cpp:36: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLSHA384.lo OSSLSHA384.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLSHA384.cpp -fPIC -DPIC -o .libs/OSSLSHA384.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLRSAPrivateKey.lo OSSLRSAPrivateKey.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLRSAPrivateKey.cpp -fPIC -DPIC -o .libs/OSSLRSAPrivateKey.o 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: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | 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); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:225:28: note: declared here 225 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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 /usr/include/openssl/x509.h:29, from OSSLRSAPrivateKey.cpp:39: /usr/include/openssl/evp.h:1344:5: note: declared here 1344 | 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); | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/x509.h:29, from OSSLRSAPrivateKey.cpp:39: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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(); | ~~~~~~~^~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | 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()); | ~~~~~~~~~~~~~~~~~^~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:305:41: note: declared here 305 | 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()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:302:27: note: declared here 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ 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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:208:27: note: declared here 208 | 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); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:209:27: note: declared here 209 | 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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSAPrivateKey.h:38, from OSSLRSAPrivateKey.cpp:36: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLSHA512.lo OSSLSHA512.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLSHA512.cpp -fPIC -DPIC -o .libs/OSSLSHA512.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLRSA.lo OSSLRSA.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLRSA.cpp -fPIC -DPIC -o .libs/OSSLRSA.o OSSLRSA.cpp: In member function 'virtual bool OSSLRSA::sign(PrivateKey*, const ByteString&, ByteString&, AsymMech::Type, const void*, 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: /usr/include/openssl/rsa.h:371:27: note: declared here 371 | 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); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:285:5: note: declared here 285 | 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); | ~~~~~~~~~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:372:28: note: declared here 372 | 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:438:5: note: declared here 438 | 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)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:371:27: note: declared here 371 | 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); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:285:5: note: declared here 285 | 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); | ~~~~~~~~~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:372:28: note: declared here 372 | 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)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:371:27: note: declared here 371 | 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); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:285:5: note: declared here 285 | 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); | ~~~~~~~~~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:372:28: note: declared here 372 | 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)) | ~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:371:27: note: declared here 371 | 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); | ~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:428:5: note: declared here 428 | 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:285:5: note: declared here 285 | 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()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:348:27: note: declared here 348 | 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); | ~~~~~~~~~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:372:28: note: declared here 372 | 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*, 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); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:288:5: note: declared here 288 | 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); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:288:5: note: declared here 288 | 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:433:5: note: declared here 433 | 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); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:288:5: note: declared here 288 | 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); | ~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:288:5: note: declared here 288 | 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); | ~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:424:5: note: declared here 424 | 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); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:351:27: note: declared here 351 | 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)) | ~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | 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)) | ~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | 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)) | ~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | 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)); | ~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | 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) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:282:5: note: declared here 282 | 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)) | ~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | 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)); | ~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | 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); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:291:5: note: declared here 291 | 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(); | ~~~~~~~^~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | 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)) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:260:27: note: declared here 260 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | 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); | ~~~~~~~~^~~~~ In file included from OSSLRSA.h:39, from OSSLRSA.cpp:35: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSSLUtil.lo OSSLUtil.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSSLUtil.cpp -fPIC -DPIC -o .libs/OSSLUtil.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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 -L/usr/lib -lcrypto libtool: link: ar cru .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" ) make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' Making all in data_mgr Making all in test make[5]: Nothing to be done for 'all'. make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o salloc.lo salloc.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c salloc.cpp -fPIC -DPIC -o .libs/salloc.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o RFC4880.lo RFC4880.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c RFC4880.cpp -fPIC -DPIC -o .libs/RFC4880.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o SecureMemoryRegistry.lo SecureMemoryRegistry.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c SecureMemoryRegistry.cpp -fPIC -DPIC -o .libs/SecureMemoryRegistry.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o ByteString.lo ByteString.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c ByteString.cpp -fPIC -DPIC -o .libs/ByteString.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o SecureDataManager.lo SecureDataManager.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../crypto -I./../common -I./../pkcs11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c SecureDataManager.cpp -fPIC -DPIC -o .libs/SecureDataManager.o SecureDataManager.cpp: In member function 'void SecureDataManager::initObject()': SecureDataManager.cpp:69:36: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 69 | magic = ByteString("524A52"); // RJR | ^ In file included from SecureDataManager.h:46, from SecureDataManager.cpp:43: ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SecureDataManager.cpp: In constructor 'SecureDataManager::SecureDataManager(const ByteString&, const ByteString&)': SecureDataManager.cpp:88:26: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 88 | soEncryptedKey = soPINBlob; | ^~~~~~~~~ In file included from SecureDataManager.h:46, from SecureDataManager.cpp:43: ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SecureDataManager.cpp:89:28: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 89 | userEncryptedKey = userPINBlob; | ^~~~~~~~~~~ In file included from SecureDataManager.h:46, from SecureDataManager.cpp:43: ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SecureDataManager.cpp: In member function 'bool SecureDataManager::decrypt(const ByteString&, ByteString&)': SecureDataManager.cpp:409:42: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 409 | plaintext = ByteString(""); | ^ In file included from SecureDataManager.h:46, from SecureDataManager.cpp:43: ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SecureDataManager.cpp: In member function 'bool SecureDataManager::encrypt(const ByteString&, ByteString&)': SecureDataManager.cpp:492:26: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 492 | encrypted = IV + encrypted; | ^~~~~~~~~ In file included from SecureDataManager.h:46, from SecureDataManager.cpp:43: ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SecureDataManager.cpp: In member function 'void SecureDataManager::unmask(ByteString&)': SecureDataManager.cpp:512:15: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 512 | key = maskedKey; | ^~~~~~~~~ In file included from SecureDataManager.h:46, from SecureDataManager.cpp:43: ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SecureDataManager.cpp: In member function 'void SecureDataManager::remask(ByteString&)': SecureDataManager.cpp:523:21: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 523 | maskedKey = key; | ^~~ In file included from SecureDataManager.h:46, from SecureDataManager.cpp:43: ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libsofthsm_datamgr.la ByteString.lo RFC4880.lo salloc.lo SecureDataManager.lo SecureMemoryRegistry.lo libtool: link: ar cru .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" ) make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' Making all in object_store Making all in test make[5]: Nothing to be done for 'all'. make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o UUID.lo UUID.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c UUID.cpp -fPIC -DPIC -o .libs/UUID.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o Generation.lo Generation.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c Generation.cpp -fPIC -DPIC -o .libs/Generation.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o Directory.lo Directory.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c Directory.cpp -fPIC -DPIC -o .libs/Directory.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o ObjectStore.lo ObjectStore.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c ObjectStore.cpp -fPIC -DPIC -o .libs/ObjectStore.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSAttribute.lo OSAttribute.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSAttribute.cpp -fPIC -DPIC -o .libs/OSAttribute.o OSAttribute.cpp: In copy constructor 'OSAttribute::OSAttribute(const OSAttribute&)': OSAttribute.cpp:42:27: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 42 | byteStrValue = in.byteStrValue; | ^~~~~~~~~~~~ In file included from OSAttribute.h:37, from OSAttribute.cpp:34: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ OSAttribute.cpp: In constructor 'OSAttribute::OSAttribute(const ByteString&)': OSAttribute.cpp:68:24: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 68 | byteStrValue = value; | ^~~~~ In file included from OSAttribute.h:37, from OSAttribute.cpp:34: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o File.lo File.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c File.cpp -fPIC -DPIC -o .libs/File.o File.cpp: In member function 'bool File::writeString(const string&)': File.cpp:461:28: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 461 | ByteString toWrite((const unsigned long) value.size()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o FindOperation.lo FindOperation.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c FindOperation.cpp -fPIC -DPIC -o .libs/FindOperation.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o ObjectFile.lo ObjectFile.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c ObjectFile.cpp -fPIC -DPIC -o .libs/ObjectFile.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o SessionObject.lo SessionObject.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c SessionObject.cpp -fPIC -DPIC -o .libs/SessionObject.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o SessionObjectStore.lo SessionObjectStore.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c SessionObjectStore.cpp -fPIC -DPIC -o .libs/SessionObjectStore.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o ObjectStoreToken.lo ObjectStoreToken.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c ObjectStoreToken.cpp -fPIC -DPIC -o .libs/ObjectStoreToken.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o DB.lo DB.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c DB.cpp -fPIC -DPIC -o .libs/DB.o DB.cpp: In member function 'time_t DB::Result::getDatetime(unsigned int)': DB.cpp:489:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 489 | bdateonly = false; | ~~~~~~~~~~^~~~~~~ DB.cpp:491:17: note: here 491 | case 10: // 2011-12-31 | ^~~~ DB.cpp:501:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 501 | if (bdateonly) | ^~ DB.cpp:504:17: note: here 504 | case 8: // 23:59:59 | ^~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o OSToken.lo OSToken.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c OSToken.cpp -fPIC -DPIC -o .libs/OSToken.o OSToken.cpp: In member function 'virtual bool OSToken::getSOPIN(ByteString&)': OSToken.cpp:188:88: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 188 | soPINBlob = tokenObject->getAttribute(CKA_OS_SOPIN).getByteStringValue(); | ^ In file included from OSAttribute.h:37, from OSToken.cpp:38: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ OSToken.cpp: In member function 'virtual bool OSToken::getUserPIN(ByteString&)': OSToken.cpp:232:92: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 232 | userPINBlob = tokenObject->getAttribute(CKA_OS_USERPIN).getByteStringValue(); | ^ In file included from OSAttribute.h:37, from OSToken.cpp:38: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ OSToken.cpp: In member function 'virtual bool OSToken::getTokenLabel(ByteString&)': OSToken.cpp:252:89: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 252 | label = tokenObject->getAttribute(CKA_OS_TOKENLABEL).getByteStringValue(); | ^ In file included from OSAttribute.h:37, from OSToken.cpp:38: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ OSToken.cpp: In member function 'virtual bool OSToken::getTokenSerial(ByteString&)': OSToken.cpp:272:91: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 272 | serial = tokenObject->getAttribute(CKA_OS_TOKENSERIAL).getByteStringValue(); | ^ In file included from OSAttribute.h:37, from OSToken.cpp:38: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o DBToken.lo DBToken.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c DBToken.cpp -fPIC -DPIC -o .libs/DBToken.o DBToken.cpp: In member function 'virtual bool DBToken::getSOPIN(ByteString&)': DBToken.cpp:369:79: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 369 | soPINBlob = tokenObject.getAttribute(CKA_OS_SOPIN).getByteStringValue(); | ^ In file included from OSAttribute.h:37, from DBToken.cpp:39: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DBToken.cpp: In member function 'virtual bool DBToken::getUserPIN(ByteString&)': DBToken.cpp:462:83: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 462 | userPINBlob = tokenObject.getAttribute(CKA_OS_USERPIN).getByteStringValue(); | ^ In file included from OSAttribute.h:37, from DBToken.cpp:39: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DBToken.cpp: In member function 'virtual bool DBToken::getTokenLabel(ByteString&)': DBToken.cpp:496:80: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 496 | label = tokenObject.getAttribute(CKA_OS_TOKENLABEL).getByteStringValue(); | ^ In file included from OSAttribute.h:37, from DBToken.cpp:39: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DBToken.cpp: In member function 'virtual bool DBToken::getTokenSerial(ByteString&)': DBToken.cpp:530:82: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 530 | serial = tokenObject.getAttribute(CKA_OS_TOKENSERIAL).getByteStringValue(); | ^ In file included from OSAttribute.h:37, from DBToken.cpp:39: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o DBObject.lo DBObject.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -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); | ^~~~~~~~~~~ OSAttribute.h: In member function 'OSAttribute& OSAttribute::operator=(const OSAttribute&)': OSAttribute.h:41:7: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 41 | class OSAttribute | ^~~~~~~~~~~ In file included from OSAttribute.h:37, from DBObject.h:37, from DBObject.cpp:34: ./../data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ DBObject.cpp: In member function 'virtual bool DBObject::setAttribute(CK_ATTRIBUTE_TYPE, const OSAttribute&)': DBObject.cpp:1193:55: note: synthesized method 'OSAttribute& OSAttribute::operator=(const OSAttribute&)' first required here 1193 | *it->second = attribute; | ^~~~~~~~~ DBObject.cpp:1197:41: warning: implicitly-declared 'OSAttribute& OSAttribute::operator=(const OSAttribute&)' is deprecated [-Wdeprecated-copy] 1197 | *attr = 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: 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; | ^~~~~~ 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); | ^~~~~~~~~~~ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -L/usr/lib -lsqlite3 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libsofthsm_objectstore.la ObjectStore.lo UUID.lo Directory.lo File.lo Generation.lo OSAttribute.lo OSToken.lo ObjectFile.lo SessionObject.lo SessionObjectStore.lo FindOperation.lo ObjectStoreToken.lo DB.lo DBObject.lo DBToken.lo libtool: link: ar cru .libs/libsofthsm_objectstore.a .libs/ObjectStore.o .libs/UUID.o .libs/Directory.o .libs/File.o .libs/Generation.o .libs/OSAttribute.o .libs/OSToken.o .libs/ObjectFile.o .libs/SessionObject.o .libs/SessionObjectStore.o .libs/FindOperation.o .libs/ObjectStoreToken.o .libs/DB.o .libs/DBObject.o .libs/DBToken.o libtool: link: ranlib .libs/libsofthsm_objectstore.a libtool: link: ( cd ".libs" && rm -f "libsofthsm_objectstore.la" && ln -s "../libsofthsm_objectstore.la" "libsofthsm_objectstore.la" ) make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' Making all in session_mgr Making all in test make[5]: Nothing to be done for 'all'. make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../slot_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o Session.lo Session.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../slot_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c Session.cpp -fPIC -DPIC -o .libs/Session.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../slot_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o SessionManager.lo SessionManager.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../slot_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c SessionManager.cpp -fPIC -DPIC -o .libs/SessionManager.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libsofthsm_sessionmgr.la SessionManager.lo Session.lo libtool: link: ar cru .libs/libsofthsm_sessionmgr.a .libs/SessionManager.o .libs/Session.o libtool: link: ranlib .libs/libsofthsm_sessionmgr.a libtool: link: ( cd ".libs" && rm -f "libsofthsm_sessionmgr.la" && ln -s "../libsofthsm_sessionmgr.la" "libsofthsm_sessionmgr.la" ) make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' Making all in slot_mgr Making all in test make[5]: Nothing to be done for 'all'. make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../session_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o Slot.lo Slot.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../session_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c Slot.cpp -fPIC -DPIC -o .libs/Slot.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../session_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o SlotManager.lo SlotManager.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../session_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c SlotManager.cpp -fPIC -DPIC -o .libs/SlotManager.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../session_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o Token.lo Token.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../session_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c Token.cpp -fPIC -DPIC -o .libs/Token.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libsofthsm_slotmgr.la SlotManager.lo Slot.lo Token.lo libtool: link: ar cru .libs/libsofthsm_slotmgr.a .libs/SlotManager.o .libs/Slot.o .libs/Token.o libtool: link: ranlib .libs/libsofthsm_slotmgr.a libtool: link: ( cd ".libs" && rm -f "libsofthsm_slotmgr.la" && ln -s "../libsofthsm_slotmgr.la" "libsofthsm_slotmgr.la" ) make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' Making all in handle_mgr Making all in test make[5]: Nothing to be done for 'all'. make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../slot_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o Handle.lo Handle.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../slot_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c Handle.cpp -fPIC -DPIC -o .libs/Handle.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../slot_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o HandleManager.lo HandleManager.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../common -I./../crypto -I./../data_mgr -I./../object_store -I./../pkcs11 -I./../slot_mgr -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c HandleManager.cpp -fPIC -DPIC -o .libs/HandleManager.o make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libsofthsm_handlemgr.la HandleManager.lo Handle.lo libtool: link: ar cru .libs/libsofthsm_handlemgr.a .libs/HandleManager.o .libs/Handle.o libtool: link: ranlib .libs/libsofthsm_handlemgr.a libtool: link: ( cd ".libs" && rm -f "libsofthsm_handlemgr.la" && ln -s "../libsofthsm_handlemgr.la" "libsofthsm_handlemgr.la" ) make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' Making all in test make[4]: Nothing to be done for 'all'. make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I./common -I./crypto -I./data_mgr -I./handle_mgr -I./object_store -I./pkcs11 -I./session_mgr -I./slot_mgr -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o access.lo access.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I./common -I./crypto -I./data_mgr -I./handle_mgr -I./object_store -I./pkcs11 -I./session_mgr -I./slot_mgr -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c access.cpp -fPIC -DPIC -o .libs/access.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pedantic -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libsofthsm_convarch.la common/libsofthsm_common.la crypto/libsofthsm_crypto.la data_mgr/libsofthsm_datamgr.la handle_mgr/libsofthsm_handlemgr.la object_store/libsofthsm_objectstore.la session_mgr/libsofthsm_sessionmgr.la slot_mgr/libsofthsm_slotmgr.la libtool: link: (cd .libs/libsofthsm_convarch.lax/libsofthsm_common.a && ar x "/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common/.libs/libsofthsm_common.a") libtool: link: (cd .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a && ar x "/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto/.libs/libsofthsm_crypto.a") libtool: link: (cd .libs/libsofthsm_convarch.lax/libsofthsm_datamgr.a && ar x "/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr/.libs/libsofthsm_datamgr.a") libtool: link: (cd .libs/libsofthsm_convarch.lax/libsofthsm_handlemgr.a && ar x "/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr/.libs/libsofthsm_handlemgr.a") libtool: link: (cd .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a && ar x "/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store/.libs/libsofthsm_objectstore.a") libtool: link: (cd .libs/libsofthsm_convarch.lax/libsofthsm_sessionmgr.a && ar x "/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr/.libs/libsofthsm_sessionmgr.a") libtool: link: (cd .libs/libsofthsm_convarch.lax/libsofthsm_slotmgr.a && ar x "/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr/.libs/libsofthsm_slotmgr.a") libtool: link: ar cru .libs/libsofthsm_convarch.a .libs/libsofthsm_convarch.lax/libsofthsm_common.a/Configuration.o .libs/libsofthsm_convarch.lax/libsofthsm_common.a/MutexFactory.o .libs/libsofthsm_convarch.lax/libsofthsm_common.a/SimpleConfigLoader.o .libs/libsofthsm_convarch.lax/libsofthsm_common.a/fatal.o .libs/libsofthsm_convarch.lax/libsofthsm_common.a/log.o .libs/libsofthsm_convarch.lax/libsofthsm_common.a/osmutex.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/AESKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/AsymmetricAlgorithm.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/AsymmetricKeyPair.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/CryptoFactory.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/DESKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/DHParameters.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/DHPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/DHPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/DSAParameters.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/DSAPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/DSAPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/DerUtil.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/ECParameters.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/ECPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/ECPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/EDPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/EDPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/GOSTPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/GOSTPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/HashAlgorithm.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/MacAlgorithm.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLAES.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLCMAC.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLComp.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLCryptoFactory.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLDES.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLDH.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLDHKeyPair.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLDHPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLDHPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLDSA.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLDSAKeyPair.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLDSAPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLDSAPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLECDH.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLECDSA.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLECKeyPair.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLECPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLECPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLEDDSA.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLEDKeyPair.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLEDPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLEDPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLEVPCMacAlgorithm.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLEVPHashAlgorithm.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLEVPMacAlgorithm.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLEVPSymmetricAlgorithm.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLGOST.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLGOSTKeyPair.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLGOSTPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLGOSTPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLGOSTR3411.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLHMAC.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLMD5.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLRNG.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLRSA.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLRSAKeyPair.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLRSAPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLRSAPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLSHA1.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLSHA224.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLSHA256.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLSHA384.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLSHA512.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/OSSLUtil.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/RSAParameters.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/RSAPrivateKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/RSAPublicKey.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/SymmetricAlgorithm.o .libs/libsofthsm_convarch.lax/libsofthsm_crypto.a/SymmetricKey.o .libs/libsofthsm_convarch.lax/libsofthsm_datamgr.a/ByteString.o .libs/libsofthsm_convarch.lax/libsofthsm_datamgr.a/RFC4880.o .libs/libsofthsm_convarch.lax/libsofthsm_datamgr.a/SecureDataManager.o .libs/libsofthsm_convarch.lax/libsofthsm_datamgr.a/SecureMemoryRegistry.o .libs/libsofthsm_convarch.lax/libsofthsm_datamgr.a/salloc.o .libs/libsofthsm_convarch.lax/libsofthsm_handlemgr.a/Handle.o .libs/libsofthsm_convarch.lax/libsofthsm_handlemgr.a/HandleManager.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/DB.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/DBObject.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/DBToken.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/Directory.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/File.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/FindOperation.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/Generation.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/OSAttribute.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/OSToken.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/ObjectFile.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/ObjectStore.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/ObjectStoreToken.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/SessionObject.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/SessionObjectStore.o .libs/libsofthsm_convarch.lax/libsofthsm_objectstore.a/UUID.o .libs/libsofthsm_convarch.lax/libsofthsm_sessionmgr.a/Session.o .libs/libsofthsm_convarch.lax/libsofthsm_sessionmgr.a/SessionManager.o .libs/libsofthsm_convarch.lax/libsofthsm_slotmgr.a/Slot.o .libs/libsofthsm_convarch.lax/libsofthsm_slotmgr.a/SlotManager.o .libs/libsofthsm_convarch.lax/libsofthsm_slotmgr.a/Token.o libtool: link: ranlib .libs/libsofthsm_convarch.a libtool: link: rm -fr .libs/libsofthsm_convarch.lax libtool: link: ( cd ".libs" && rm -f "libsofthsm_convarch.la" && ln -s "../libsofthsm_convarch.la" "libsofthsm_convarch.la" ) make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I./common -I./crypto -I./data_mgr -I./handle_mgr -I./object_store -I./pkcs11 -I./session_mgr -I./slot_mgr -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o main.lo main.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I./common -I./crypto -I./data_mgr -I./handle_mgr -I./object_store -I./pkcs11 -I./session_mgr -I./slot_mgr -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c main.cpp -fPIC -DPIC -o .libs/main.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I./common -I./crypto -I./data_mgr -I./handle_mgr -I./object_store -I./pkcs11 -I./session_mgr -I./slot_mgr -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o P11Objects.lo P11Objects.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I./common -I./crypto -I./data_mgr -I./handle_mgr -I./object_store -I./pkcs11 -I./session_mgr -I./slot_mgr -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c P11Objects.cpp -fPIC -DPIC -o .libs/P11Objects.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I./common -I./crypto -I./data_mgr -I./handle_mgr -I./object_store -I./pkcs11 -I./session_mgr -I./slot_mgr -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o P11Attributes.lo P11Attributes.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I./common -I./crypto -I./data_mgr -I./handle_mgr -I./object_store -I./pkcs11 -I./session_mgr -I./slot_mgr -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c P11Attributes.cpp -fPIC -DPIC -o .libs/P11Attributes.o P11Attributes.cpp: In member function 'virtual CK_RV P11Attribute::updateAttr(Token*, bool, CK_VOID_PTR, CK_ULONG, int)': P11Attributes.cpp:65:70: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 65 | value = ByteString((unsigned char*)pValue, ulValueLen); | ^ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp: In member function 'virtual CK_RV P11AttrCheckValue::updateAttr(Token*, bool, CK_VOID_PTR, CK_ULONG, int)': P11Attributes.cpp:827:25: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 827 | value = plaintext; | ^~~~~~~~~ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp:850:73: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 850 | keybits = osobject->getByteStringValue(CKA_VALUE); | ^ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp:867:67: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 867 | checkValue = key.getKeyCheckValue(); | ^ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp:872:67: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 872 | checkValue = aes.getKeyCheckValue(); | ^ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp:879:67: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 879 | checkValue = des.getKeyCheckValue(); | ^ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp:884:46: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 884 | checkValue = plaintext; | ^~~~~~~~~ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp: In member function 'virtual CK_RV P11AttrValue::updateAttr(Token*, bool, CK_VOID_PTR, CK_ULONG, int)': P11Attributes.cpp:946:25: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 946 | value = plaintext; | ^~~~~~~~~ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp:1025:67: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 1025 | checkValue = key.getKeyCheckValue(); | ^ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp:1030:67: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 1030 | checkValue = aes.getKeyCheckValue(); | ^ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp:1037:67: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 1037 | checkValue = des.getKeyCheckValue(); | ^ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp: In member function 'virtual CK_RV P11AttrModulus::updateAttr(Token*, bool, CK_VOID_PTR, CK_ULONG, int)': P11Attributes.cpp:1930:25: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 1930 | value = plaintext; | ^~~~~~~~~ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ P11Attributes.cpp: In member function 'virtual CK_RV P11AttrPrime::updateAttr(Token*, bool, CK_VOID_PTR, CK_ULONG, int)': P11Attributes.cpp:2087:25: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 2087 | value = plaintext; | ^~~~~~~~~ In file included from ./object_store/OSAttribute.h:37, from ./object_store/OSObject.h:39, from P11Attributes.h:37, from P11Attributes.cpp:34: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I./common -I./crypto -I./data_mgr -I./handle_mgr -I./object_store -I./pkcs11 -I./session_mgr -I./slot_mgr -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o SoftHSM.lo SoftHSM.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I./common -I./crypto -I./data_mgr -I./handle_mgr -I./object_store -I./pkcs11 -I./session_mgr -I./slot_mgr -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c SoftHSM.cpp -fPIC -DPIC -o .libs/SoftHSM.o SoftHSM.cpp: In member function 'CK_RV SoftHSM::C_FindObjectsInit(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG)': SoftHSM.cpp:1910:95: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 1910 | bsAttrValue = attr.getByteStringValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::C_DigestKey(CK_SESSION_HANDLE, CK_OBJECT_HANDLE)': SoftHSM.cpp:3619:60: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 3619 | keybits = key->getByteStringValue(CKA_VALUE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::C_WrapKey(CK_SESSION_HANDLE, CK_MECHANISM_PTR, CK_OBJECT_HANDLE, CK_OBJECT_HANDLE, CK_BYTE_PTR, CK_ULONG_PTR)': SoftHSM.cpp:6272:68: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 6272 | keydata = key->getByteStringValue(CKA_VALUE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:6344:51: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 6344 | keydata = privateKey->PKCS8Encode(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::C_UnwrapKey(CK_SESSION_HANDLE, CK_MECHANISM_PTR, CK_OBJECT_HANDLE, CK_BYTE_PTR, CK_ULONG, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR)': SoftHSM.cpp:6730:49: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 6730 | value = keydata; | ^~~~~~~ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateGeneric(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:7182:59: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 7182 | value = symKey.getKeyBits(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:7183:63: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 7183 | kcv = symKey.getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateAES(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:7369:57: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 7369 | value = key->getKeyBits(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:7370:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 7370 | kcv = key->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateDES(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:7536:57: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 7536 | value = key->getKeyBits(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:7537:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 7537 | kcv = key->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateDES2(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:7703:57: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 7703 | value = key->getKeyBits(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:7704:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 7704 | kcv = key->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateDES3(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:7870:57: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 7870 | value = key->getKeyBits(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:7871:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 7871 | kcv = key->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateRSA(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:7951:133: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 7951 | exponent = ByteString((unsigned char*)pPublicKeyTemplate[i].pValue, pPublicKeyTemplate[i].ulValueLen); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8045:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8045 | modulus = pub->getN(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8046:68: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8046 | publicExponent = pub->getE(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8137:62: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8137 | modulus = priv->getN(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8138:69: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8138 | publicExponent = priv->getE(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8139:70: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8139 | privateExponent = priv->getD(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8140:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8140 | prime1 = priv->getP(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8141:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8141 | prime2 = priv->getQ(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8142:67: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8142 | exponent1 = priv->getDP1(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8143:66: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8143 | exponent2 = priv->getDQ1(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8144:67: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8144 | coefficient = priv->getPQ(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateDSA(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:8230:130: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8230 | prime = ByteString((unsigned char*)pPublicKeyTemplate[i].pValue, pPublicKeyTemplate[i].ulValueLen); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8233:133: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8233 | subprime = ByteString((unsigned char*)pPublicKeyTemplate[i].pValue, pPublicKeyTemplate[i].ulValueLen); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8236:134: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8236 | generator = ByteString((unsigned char*)pPublicKeyTemplate[i].pValue, pPublicKeyTemplate[i].ulValueLen); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8327:59: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8327 | value = pub->getY(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8409:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8409 | bPrime = priv->getP(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8410:64: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8410 | bSubprime = priv->getQ(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8411:65: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8411 | bGenerator = priv->getG(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8412:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8412 | bValue = priv->getX(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateDSAParameters(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:8594:54: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8594 | prime = params->getP(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8595:57: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8595 | subprime = params->getQ(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8596:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8596 | generator = params->getG(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateEC(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:8666:131: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8666 | params = ByteString((unsigned char*)pPublicKeyTemplate[i].pValue, pPublicKeyTemplate[i].ulValueLen); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8755:59: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8755 | point = pub->getQ(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8833:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8833 | group = priv->getEC(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:8834:60: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8834 | value = priv->getD(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateED(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:8912:131: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 8912 | params = ByteString((unsigned char*)pPublicKeyTemplate[i].pValue, pPublicKeyTemplate[i].ulValueLen); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9001:59: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9001 | value = pub->getA(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9079:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9079 | group = priv->getEC(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9080:60: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9080 | value = priv->getK(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateDH(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:9159:130: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9159 | prime = ByteString((unsigned char*)pPublicKeyTemplate[i].pValue, pPublicKeyTemplate[i].ulValueLen); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9162:134: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9162 | generator = ByteString((unsigned char*)pPublicKeyTemplate[i].pValue, pPublicKeyTemplate[i].ulValueLen); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9267:59: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9267 | value = pub->getY(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9347:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9347 | bPrime = priv->getP(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9348:65: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9348 | bGenerator = priv->getG(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9349:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9349 | bValue = priv->getX(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateDHParameters(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:9517:54: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9517 | prime = params->getP(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9518:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9518 | generator = params->getG(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::generateGOST(CK_SESSION_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_OBJECT_HANDLE_PTR, CK_BBOOL, CK_BBOOL, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:9589:135: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9589 | param_3410 = ByteString((unsigned char*)pPublicKeyTemplate[i].pValue, pPublicKeyTemplate[i].ulValueLen); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9592:135: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9592 | param_3411 = ByteString((unsigned char*)pPublicKeyTemplate[i].pValue, pPublicKeyTemplate[i].ulValueLen); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9595:136: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9595 | param_28147 = ByteString((unsigned char*)pPublicKeyTemplate[i].pValue, pPublicKeyTemplate[i].ulValueLen); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9684:59: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9684 | point = pub->getQ(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9766:60: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9766 | value = priv->getD(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9767:63: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9767 | param_a = priv->getEC(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9768:51: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9768 | param_b = param_3411; | ^~~~~~~~~~ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:9769:51: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 9769 | param_c = param_28147; | ^~~~~~~~~~~ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::deriveDH(CK_SESSION_HANDLE, CK_MECHANISM_PTR, CK_OBJECT_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_KEY_TYPE, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:10067:85: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 10067 | plainKCV = secret->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:10073:96: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 10073 | plainKCV = ((DESKey*)secret)->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:10077:96: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 10077 | plainKCV = ((AESKey*)secret)->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:10091:49: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 10091 | value = secretValue; | ^~~~~~~~~~~ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:10092:47: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 10092 | kcv = plainKCV; | ^~~~~~~~ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::deriveECDH(CK_SESSION_HANDLE, CK_MECHANISM_PTR, CK_OBJECT_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_KEY_TYPE, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:10420:85: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 10420 | plainKCV = secret->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:10426:96: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 10426 | plainKCV = ((DESKey*)secret)->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:10430:96: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 10430 | plainKCV = ((AESKey*)secret)->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:10444:49: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 10444 | value = secretValue; | ^~~~~~~~~~~ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:10445:47: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 10445 | kcv = plainKCV; | ^~~~~~~~ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::deriveSymmetric(CK_SESSION_HANDLE, CK_MECHANISM_PTR, CK_OBJECT_HANDLE, CK_ATTRIBUTE_PTR, CK_ULONG, CK_OBJECT_HANDLE_PTR, CK_KEY_TYPE, CK_BBOOL, CK_BBOOL)': SoftHSM.cpp:11236:85: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11236 | plainKCV = secret->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11242:96: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11242 | plainKCV = ((DESKey*)secret)->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11246:96: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11246 | plainKCV = ((AESKey*)secret)->getKeyCheckValue(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11261:49: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11261 | value = secretValue; | ^~~~~~~~~~~ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11262:47: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11262 | kcv = plainKCV; | ^~~~~~~~ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getRSAPrivateKey(RSAPrivateKey*, Token*, OSObject*)': SoftHSM.cpp:11458:62: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11458 | modulus = key->getByteStringValue(CKA_MODULUS); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11459:77: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11459 | publicExponent = key->getByteStringValue(CKA_PUBLIC_EXPONENT); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11460:79: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11460 | privateExponent = key->getByteStringValue(CKA_PRIVATE_EXPONENT); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11461:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11461 | prime1 = key->getByteStringValue(CKA_PRIME_1); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11462:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11462 | prime2 = key->getByteStringValue(CKA_PRIME_2); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11463:68: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11463 | exponent1 = key->getByteStringValue(CKA_EXPONENT_1); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11464:67: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11464 | exponent2 = key->getByteStringValue(CKA_EXPONENT_2); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11465:70: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11465 | coefficient = key->getByteStringValue(CKA_COEFFICIENT); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getRSAPublicKey(RSAPublicKey*, Token*, OSObject*)': SoftHSM.cpp:11502:62: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11502 | modulus = key->getByteStringValue(CKA_MODULUS); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11503:77: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11503 | publicExponent = key->getByteStringValue(CKA_PUBLIC_EXPONENT); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getDSAPrivateKey(DSAPrivateKey*, Token*, OSObject*)': SoftHSM.cpp:11538:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11538 | prime = key->getByteStringValue(CKA_PRIME); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11539:64: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11539 | subprime = key->getByteStringValue(CKA_SUBPRIME); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11540:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11540 | generator = key->getByteStringValue(CKA_BASE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11541:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11541 | value = key->getByteStringValue(CKA_VALUE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getDSAPublicKey(DSAPublicKey*, Token*, OSObject*)': SoftHSM.cpp:11578:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11578 | prime = key->getByteStringValue(CKA_PRIME); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11579:64: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11579 | subprime = key->getByteStringValue(CKA_SUBPRIME); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11580:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11580 | generator = key->getByteStringValue(CKA_BASE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11581:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11581 | value = key->getByteStringValue(CKA_VALUE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getECPrivateKey(ECPrivateKey*, Token*, OSObject*)': SoftHSM.cpp:11614:62: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11614 | group = key->getByteStringValue(CKA_EC_PARAMS); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11615:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11615 | value = key->getByteStringValue(CKA_VALUE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getECPublicKey(ECPublicKey*, Token*, OSObject*)': SoftHSM.cpp:11646:62: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11646 | group = key->getByteStringValue(CKA_EC_PARAMS); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11647:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11647 | point = key->getByteStringValue(CKA_EC_POINT); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getEDPrivateKey(EDPrivateKey*, Token*, OSObject*)': SoftHSM.cpp:11678:62: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11678 | group = key->getByteStringValue(CKA_EC_PARAMS); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11679:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11679 | value = key->getByteStringValue(CKA_VALUE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getEDPublicKey(EDPublicKey*, Token*, OSObject*)': SoftHSM.cpp:11710:62: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11710 | group = key->getByteStringValue(CKA_EC_PARAMS); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11711:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11711 | value = key->getByteStringValue(CKA_EC_POINT); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getDHPrivateKey(DHPrivateKey*, Token*, OSObject*)': SoftHSM.cpp:11744:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11744 | prime = key->getByteStringValue(CKA_PRIME); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11745:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11745 | generator = key->getByteStringValue(CKA_BASE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11746:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11746 | value = key->getByteStringValue(CKA_VALUE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getGOSTPrivateKey(GOSTPrivateKey*, Token*, OSObject*)': SoftHSM.cpp:11874:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11874 | value = key->getByteStringValue(CKA_VALUE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11875:69: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11875 | param = key->getByteStringValue(CKA_GOSTR3410_PARAMS); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getGOSTPublicKey(GOSTPublicKey*, Token*, OSObject*)': SoftHSM.cpp:11906:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11906 | point = key->getByteStringValue(CKA_VALUE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11907:69: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11907 | param = key->getByteStringValue(CKA_GOSTR3410_PARAMS); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'CK_RV SoftHSM::getSymmetricKey(SymmetricKey*, Token*, OSObject*)': SoftHSM.cpp:11933:60: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11933 | keybits = key->getByteStringValue(CKA_VALUE); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'bool SoftHSM::setRSAPrivateKey(OSObject*, const ByteString&, Token*, bool) const': SoftHSM.cpp:11980:56: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11980 | modulus = ((RSAPrivateKey*)priv)->getN(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11981:63: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11981 | publicExponent = ((RSAPrivateKey*)priv)->getE(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11982:64: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11982 | privateExponent = ((RSAPrivateKey*)priv)->getD(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11983:55: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11983 | prime1 = ((RSAPrivateKey*)priv)->getP(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11984:55: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11984 | prime2 = ((RSAPrivateKey*)priv)->getQ(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11985:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11985 | exponent1 = ((RSAPrivateKey*)priv)->getDP1(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11986:60: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11986 | exponent2 = ((RSAPrivateKey*)priv)->getDQ1(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:11987:61: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 11987 | coefficient = ((RSAPrivateKey*)priv)->getPQ(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'bool SoftHSM::setDSAPrivateKey(OSObject*, const ByteString&, Token*, bool) const': SoftHSM.cpp:12036:54: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 12036 | prime = ((DSAPrivateKey*)priv)->getP(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:12037:57: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 12037 | subprime = ((DSAPrivateKey*)priv)->getQ(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:12038:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 12038 | generator = ((DSAPrivateKey*)priv)->getG(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:12039:54: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 12039 | value = ((DSAPrivateKey*)priv)->getX(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'bool SoftHSM::setDHPrivateKey(OSObject*, const ByteString&, Token*, bool) const': SoftHSM.cpp:12082:53: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 12082 | prime = ((DHPrivateKey*)priv)->getP(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:12083:57: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 12083 | generator = ((DHPrivateKey*)priv)->getG(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:12084:53: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 12084 | value = ((DHPrivateKey*)priv)->getX(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'bool SoftHSM::setECPrivateKey(OSObject*, const ByteString&, Token*, bool) const': SoftHSM.cpp:12124:54: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 12124 | group = ((ECPrivateKey*)priv)->getEC(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:12125:53: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 12125 | value = ((ECPrivateKey*)priv)->getD(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp: In member function 'bool SoftHSM::setGOSTPrivateKey(OSObject*, const ByteString&, Token*, bool) const': SoftHSM.cpp:12164:55: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 12164 | value = ((GOSTPrivateKey*)priv)->getD(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ SoftHSM.cpp:12165:58: warning: implicitly-declared 'ByteString& ByteString::operator=(const ByteString&)' is deprecated [-Wdeprecated-copy] 12165 | param_a = ((GOSTPrivateKey*)priv)->getEC(); | ^ In file included from ./crypto/SymmetricKey.h:37, from ./crypto/SymmetricAlgorithm.h:38, from ./crypto/CryptoFactory.h:39, from SoftHSM.cpp:41: ./data_mgr/ByteString.h:61:9: note: because 'ByteString' has user-provided 'ByteString::ByteString(const ByteString&)' 61 | ByteString(const ByteString& in); | ^~~~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -version-info 2:5:1 -avoid-version -module -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libsofthsm2.la -rpath /usr/lib64/pkcs11 access.lo main.lo P11Attributes.lo P11Objects.lo SoftHSM.lo common/libsofthsm_common.la crypto/libsofthsm_crypto.la data_mgr/libsofthsm_datamgr.la handle_mgr/libsofthsm_handlemgr.la object_store/libsofthsm_objectstore.la session_mgr/libsofthsm_sessionmgr.la slot_mgr/libsofthsm_slotmgr.la libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/aarch64-mageia-linux/11/../../../../lib64/crti.o /usr/lib/gcc/aarch64-mageia-linux/11/crtbeginS.o .libs/access.o .libs/main.o .libs/P11Attributes.o .libs/P11Objects.o .libs/SoftHSM.o -Wl,--whole-archive common/.libs/libsofthsm_common.a crypto/.libs/libsofthsm_crypto.a data_mgr/.libs/libsofthsm_datamgr.a handle_mgr/.libs/libsofthsm_handlemgr.a object_store/.libs/libsofthsm_objectstore.a session_mgr/.libs/libsofthsm_sessionmgr.a slot_mgr/.libs/libsofthsm_slotmgr.a -Wl,--no-whole-archive -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L/usr/lib -lcrypto -lsqlite3 -L/usr/lib/gcc/aarch64-mageia-linux/11 -L/usr/lib/gcc/aarch64-mageia-linux/11/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/aarch64-mageia-linux/11/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-mageia-linux/11/crtendS.o /usr/lib/gcc/aarch64-mageia-linux/11/../../../../lib64/crtn.o -Wl,-soname -Wl,libsofthsm2.so -o .libs/libsofthsm2.so libtool: link: ( cd ".libs" && rm -f "libsofthsm2.la" && ln -s "../libsofthsm2.la" "libsofthsm2.la" ) make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' Making all in bin Making all in common make[4]: Nothing to be done for 'all'. Making all in keyconv make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../../lib/crypto -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o ../../lib/crypto/OSSLComp.o ../../lib/crypto/OSSLComp.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../lib/crypto -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pedantic -Wall -Wextra -fvisibility=hidden -c -o base64.o base64.c base64.c:46:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 46 | static const char rcsid[] = "$ISC: base64.c,v 8.6 1999/01/08 19:25:18 vixie Exp $"; | ^~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../../lib/crypto -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o softhsm2-keyconv.o softhsm2-keyconv.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../../lib/crypto -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o softhsm2-keyconv-ossl.o softhsm2-keyconv-ossl.cpp softhsm2-keyconv-ossl.cpp: In function 'int save_rsa_pkcs8(char*, char*, key_material_t*)': softhsm2-keyconv-ossl.cpp:98:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 98 | rsa = RSA_new(); | ~~~~~~~^~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ softhsm2-keyconv-ossl.cpp:107:25: warning: 'int RSA_set0_factors(RSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 107 | RSA_set0_factors(rsa, bn_p, bn_q); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/rsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ softhsm2-keyconv-ossl.cpp:108:28: warning: 'int RSA_set0_crt_params(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 108 | RSA_set0_crt_params(rsa, bn_dmp1, bn_dmq1, bn_iqmp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ softhsm2-keyconv-ossl.cpp:109:21: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 109 | RSA_set0_key(rsa, bn_n, bn_e, bn_d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ softhsm2-keyconv-ossl.cpp:114:31: warning: 'int EVP_PKEY_set1_RSA(EVP_PKEY*, rsa_st*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 114 | if (!EVP_PKEY_set1_RSA(ossl_pkey, rsa)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/evp.h:1344:5: note: declared here 1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ softhsm2-keyconv-ossl.cpp:117:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 117 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ softhsm2-keyconv-ossl.cpp:121:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ softhsm2-keyconv-ossl.cpp: In function 'int save_dsa_pkcs8(char*, char*, key_material_t*)': softhsm2-keyconv-ossl.cpp:194:22: warning: 'DSA* DSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 194 | dsa = DSA_new(); | ~~~~~~~^~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ softhsm2-keyconv-ossl.cpp:201:21: warning: 'int DSA_set0_pqg(DSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 201 | DSA_set0_pqg(dsa, bn_p, bn_q, bn_g); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ softhsm2-keyconv-ossl.cpp:202:21: warning: 'int DSA_set0_key(DSA*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | DSA_set0_key(dsa, bn_pub_key, bn_priv_key); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ softhsm2-keyconv-ossl.cpp:207:31: warning: 'int EVP_PKEY_set1_DSA(EVP_PKEY*, dsa_st*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | if (!EVP_PKEY_set1_DSA(ossl_pkey, dsa)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/evp.h:1353:5: note: declared here 1353 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ softhsm2-keyconv-ossl.cpp:210:25: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 210 | DSA_free(dsa); | ~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ softhsm2-keyconv-ossl.cpp:214:17: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | DSA_free(dsa); | ~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from softhsm2-keyconv-ossl.cpp:44: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o softhsm2-keyconv softhsm2-keyconv.o base64.o softhsm2-keyconv-ossl.o ../../lib/crypto/OSSLComp.o -L/usr/lib -lcrypto libtool: link: g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o softhsm2-keyconv softhsm2-keyconv.o base64.o softhsm2-keyconv-ossl.o ../../lib/crypto/OSSLComp.o -L/usr/lib -lcrypto make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' Making all in util make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../common -I./../../lib/ -I./../../lib/common -I./../../lib/crypto -I./../../lib/data_mgr -I./../../lib/object_store -I./../../lib/pkcs11 -I/usr/include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o ../common/library.o ../common/library.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../common -I./../../lib/ -I./../../lib/common -I./../../lib/crypto -I./../../lib/data_mgr -I./../../lib/object_store -I./../../lib/pkcs11 -I/usr/include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o ../common/getpw.o ../common/getpw.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../common -I./../../lib/ -I./../../lib/common -I./../../lib/crypto -I./../../lib/data_mgr -I./../../lib/object_store -I./../../lib/pkcs11 -I/usr/include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o ../common/findslot.o ../common/findslot.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../common -I./../../lib/ -I./../../lib/common -I./../../lib/crypto -I./../../lib/data_mgr -I./../../lib/object_store -I./../../lib/pkcs11 -I/usr/include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o softhsm2-util-ossl.o softhsm2-util-ossl.cpp softhsm2-util-ossl.cpp: In function 'int crypto_import_key_pair(CK_SESSION_HANDLE, char*, char*, char*, char*, size_t, int)': softhsm2-util-ossl.cpp:157:48: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 157 | rsa = EVP_PKEY_get1_RSA(pkey); | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/pem.h:22, from softhsm2-util-ossl.cpp:45: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ softhsm2-util-ossl.cpp:160:48: warning: 'dsa_st* EVP_PKEY_get1_DSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 160 | dsa = EVP_PKEY_get1_DSA(pkey); | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/pem.h:22, from softhsm2-util-ossl.cpp:45: /usr/include/openssl/evp.h:1357:16: note: declared here 1357 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ softhsm2-util-ossl.cpp:164:53: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 164 | ecdsa = EVP_PKEY_get1_EC_KEY(pkey); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/openssl/pem.h:22, from softhsm2-util-ossl.cpp:45: /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ softhsm2-util-ossl.cpp:189:25: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 189 | RSA_free(rsa); | ~~~~~~~~^~~~~ In file included from softhsm2-util-ossl.h:36, from softhsm2-util-ossl.cpp:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ softhsm2-util-ossl.cpp:194:25: warning: 'void DSA_free(DSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 194 | DSA_free(dsa); | ~~~~~~~~^~~~~ In file included from softhsm2-util-ossl.h:37, from softhsm2-util-ossl.cpp:36: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ softhsm2-util-ossl.cpp:200:28: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 200 | EC_KEY_free(ecdsa); | ~~~~~~~~~~~^~~~~~~ In file included from softhsm2-util-ossl.h:39, from softhsm2-util-ossl.cpp:36: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ softhsm2-util-ossl.cpp: In function 'rsa_key_material_t* crypto_malloc_rsa(RSA*)': softhsm2-util-ossl.cpp:387:25: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 387 | RSA_get0_factors(rsa, &bn_p, &bn_q); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from softhsm2-util-ossl.h:36, from softhsm2-util-ossl.cpp:36: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ softhsm2-util-ossl.cpp:388:28: warning: 'void RSA_get0_crt_params(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 388 | RSA_get0_crt_params(rsa, &bn_dmp1, &bn_dmq1, &bn_iqmp); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from softhsm2-util-ossl.h:36, from softhsm2-util-ossl.cpp:36: /usr/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ softhsm2-util-ossl.cpp:389:21: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 389 | RSA_get0_key(rsa, &bn_n, &bn_e, &bn_d); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from softhsm2-util-ossl.h:36, from softhsm2-util-ossl.cpp:36: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ softhsm2-util-ossl.cpp: In function 'dsa_key_material_t* crypto_malloc_dsa(DSA*)': softhsm2-util-ossl.cpp:553:21: warning: 'void DSA_get0_pqg(const DSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 553 | DSA_get0_pqg(dsa, &bn_p, &bn_q, &bn_g); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from softhsm2-util-ossl.h:37, from softhsm2-util-ossl.cpp:36: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ softhsm2-util-ossl.cpp:554:21: warning: 'void DSA_get0_key(const DSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 554 | DSA_get0_key(dsa, &bn_pub_key, &bn_priv_key); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from softhsm2-util-ossl.h:37, from softhsm2-util-ossl.cpp:36: /usr/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ softhsm2-util-ossl.cpp: In function 'ecdsa_key_material_t* crypto_malloc_ecdsa(EC_KEY*)': softhsm2-util-ossl.cpp:691:50: warning: 'const BIGNUM* EC_KEY_get0_private_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 691 | const BIGNUM *d = EC_KEY_get0_private_key(ec_key); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from softhsm2-util-ossl.h:39, from softhsm2-util-ossl.cpp:36: /usr/include/openssl/ec.h:1046:37: note: declared here 1046 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ softhsm2-util-ossl.cpp:692:50: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 692 | const EC_GROUP *group = EC_KEY_get0_group(ec_key); | ~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from softhsm2-util-ossl.h:39, from softhsm2-util-ossl.cpp:36: /usr/include/openssl/ec.h:1032:39: note: declared here 1032 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ softhsm2-util-ossl.cpp:693:55: warning: 'const EC_POINT* EC_KEY_get0_public_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 693 | const EC_POINT *point = EC_KEY_get0_public_key(ec_key); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from softhsm2-util-ossl.h:39, from softhsm2-util-ossl.cpp:36: /usr/include/openssl/ec.h:1060:39: note: declared here 1060 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../common -I./../../lib/ -I./../../lib/common -I./../../lib/crypto -I./../../lib/data_mgr -I./../../lib/object_store -I./../../lib/pkcs11 -I/usr/include -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o softhsm2-util.o softhsm2-util.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o softhsm2-util softhsm2-util.o ../common/findslot.o ../common/getpw.o ../common/library.o softhsm2-util-ossl.o ../../lib/crypto/OSSLComp.o -L/usr/lib -lcrypto -L/usr/lib -lsqlite3 ../../lib/libsofthsm_convarch.la libtool: link: g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o softhsm2-util softhsm2-util.o ../common/findslot.o ../common/getpw.o ../common/library.o softhsm2-util-ossl.o ../../lib/crypto/OSSLComp.o -L/usr/lib ../../lib/.libs/libsofthsm_convarch.a -lcrypto -lsqlite3 make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' Making all in dump make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../../lib -I./../../lib/object_store -I./../../lib/pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o softhsm2-dump-file.o softhsm2-dump-file.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../../lib -I./../../lib/object_store -I./../../lib/pkcs11 -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o softhsm2-dump-db.o softhsm2-dump-db.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o softhsm2-dump-file softhsm2-dump-file.o libtool: link: g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o softhsm2-dump-file softhsm2-dump-file.o make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o softhsm2-dump-db softhsm2-dump-db.o -L/usr/lib -lsqlite3 -lrt libtool: link: g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o softhsm2-dump-db softhsm2-dump-db.o -L/usr/lib -lsqlite3 -lrt make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' Making all in migrate make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/migrate' g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../../lib/pkcs11 -I./../common -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -c -o softhsm2-migrate.o softhsm2-migrate.cpp make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/migrate' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/migrate' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o softhsm2-migrate softhsm2-migrate.o ../common/findslot.o ../common/getpw.o ../common/library.o -L/usr/lib -lsqlite3 -lrt libtool: link: g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -fvisibility=hidden -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o softhsm2-migrate softhsm2-migrate.o ../common/findslot.o ../common/getpw.o ../common/library.o -L/usr/lib -lsqlite3 -lrt make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/migrate' make[4]: Nothing to be done for 'all-am'. make[3]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.z46eNB + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64 + cd softhsm-2.5.0 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src' Making install in lib make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' Making install in common make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/man/man5' /usr/bin/install -p -m 644 softhsm2.conf.5 '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/man/man5' /usr/bin/make install-data-hook make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' test -d /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/etc || \ /usr/bin/install -p -d /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/etc test -f /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/etc/softhsm2.conf || \ /usr/bin/install -p -m 644 ../../../src/lib/common/softhsm2.conf /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/etc /usr/bin/install -p -m 644 ../../../src/lib/common/softhsm2.conf /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/etc/softhsm2.conf.sample test -d /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/var/lib/softhsm/tokens/ || \ /usr/bin/install -p -d -m 1777 /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/var/lib/softhsm/tokens/ make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/common' Making install in crypto make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' Making install in test make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto/test' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto/test' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto/test' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto/test' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/crypto' Making install in data_mgr make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' Making install in test make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr/test' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr/test' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr/test' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr/test' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/data_mgr' Making install in object_store make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' Making install in test make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store/test' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store/test' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store/test' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store/test' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/object_store' Making install in session_mgr make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' Making install in test make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr/test' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr/test' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr/test' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr/test' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/session_mgr' Making install in slot_mgr make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' Making install in test make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr/test' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr/test' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr/test' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr/test' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/slot_mgr' Making install in handle_mgr make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' Making install in test make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr/test' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr/test' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr/test' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr/test' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' make[5]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/handle_mgr' Making install in test make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/test' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/test' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/test' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib/test' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/lib64/pkcs11' /bin/sh ../../libtool --mode=install /usr/bin/install -p libsofthsm2.la '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/lib64/pkcs11' libtool: install: /usr/bin/install -p .libs/libsofthsm2.so /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/lib64/pkcs11/libsofthsm2.so libtool: install: /usr/bin/install -p .libs/libsofthsm2.lai /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/lib64/pkcs11/libsofthsm2.la libtool: warning: remember to run 'libtool --finish /usr/lib64/pkcs11' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/lib' Making install in bin make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin' Making install in common make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/common' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/common' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/common' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/common' Making install in keyconv make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -p softhsm2-keyconv '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin' libtool: install: /usr/bin/install -p softhsm2-keyconv /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin/softhsm2-keyconv /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 softhsm2-keyconv.1 '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/man/man1' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/keyconv' Making install in util make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -p softhsm2-util '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin' libtool: install: /usr/bin/install -p softhsm2-util /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin/softhsm2-util /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 softhsm2-util.1 '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/man/man1' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/util' Making install in dump make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -p softhsm2-dump-file softhsm2-dump-db '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin' libtool: install: /usr/bin/install -p softhsm2-dump-file /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin/softhsm2-dump-file libtool: install: /usr/bin/install -p softhsm2-dump-db /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin/softhsm2-dump-db /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 softhsm2-dump-file.1 softhsm2-dump-db.1 '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/man/man1' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/dump' Making install in migrate make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/migrate' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/migrate' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -p softhsm2-migrate '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin' libtool: install: /usr/bin/install -p softhsm2-migrate /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin/softhsm2-migrate /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 softhsm2-migrate.1 '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/man/man1' make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/migrate' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin/migrate' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src/bin' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/p11-kit/modules/' /usr/bin/install -p -m 644 softhsm2.module '/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/p11-kit/modules/' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/softhsm-2.5.0' + install -d /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/include/softhsm + install -m 644 src/lib/P11Attributes.h src/lib/P11Objects.h src/lib/SoftHSM.h src/lib/access.h /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/include/softhsm + rm /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/etc/softhsm2.conf.sample + rm -f /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/lib64//pkcs11/libsofthsm2.la + install -d /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64//usr/lib64/softhsm + ln -s ../pkcs11/libsofthsm2.so /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64//usr/lib64/softhsm/libsofthsm.so + cd /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64//usr/lib64 + ln -s pkcs11/libsofthsm2.so + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.5.0-4.mga9 --unique-debug-suffix -2.5.0-4.mga9.aarch64 --unique-debug-src-base softhsm-2.5.0-4.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/softhsm-2.5.0 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin/softhsm2-dump-db extracting debug info from /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin/softhsm2-keyconv extracting debug info from /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin/softhsm2-util extracting debug info from /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin/softhsm2-migrate extracting debug info from /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/lib64/pkcs11/libsofthsm2.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/bin/softhsm2-dump-file dwz: ./usr/bin/softhsm2-dump-db-2.5.0-4.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/softhsm2-dump-file-2.5.0-4.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/softhsm2-keyconv-2.5.0-4.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/softhsm2-migrate-2.5.0-4.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/softhsm2-util-2.5.0-4.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/lib64/pkcs11/libsofthsm2.so-2.5.0-4.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: Too few files for multifile optimization original debug info size: 20548kB, size after compression: 20548kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 6 CRC32s did match. 3268 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: softhsm-2.5.0-4.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.EptFQV + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd softhsm-2.5.0 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/doc/softhsm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/doc/softhsm + cp -pr FIPS-NOTES.md /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/doc/softhsm + cp -pr LICENSE /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/doc/softhsm + cp -pr NEWS /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/doc/softhsm + cp -pr README.md /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64/usr/share/doc/softhsm + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(softhsm) = 2.5.0-4.mga9 devel(libsofthsm2(64bit)) libsofthsm2.so()(64bit) softhsm = 2.5.0-4.mga9 softhsm(aarch-64) = 2.5.0-4.mga9 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh rpm-helper Requires(postun): /bin/sh rpm-helper Requires: devel(libcrypto(64bit)) devel(libgcc_s(64bit)) devel(libsqlite3(64bit)) devel(libstdc++(64bit)) ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libsqlite3.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) Processing files: softhsm-devel-2.5.0-4.mga9.aarch64 Provides: softhsm-devel = 2.5.0-4.mga9 softhsm-devel(aarch-64) = 2.5.0-4.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: softhsm-debugsource-2.5.0-4.mga9.aarch64 Provides: softhsm-debugsource = 2.5.0-4.mga9 softhsm-debugsource(aarch-64) = 2.5.0-4.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: softhsm-debuginfo-2.5.0-4.mga9.aarch64 Provides: debuginfo(build-id) = 061e7ed46d85cd123e91b25e00184c49cc8bc881 debuginfo(build-id) = 2880d430f3a910b45c946a51f728f5ca1867b5eb debuginfo(build-id) = 4d158758238846f9e39fc365ce6e53fc900bf5ca debuginfo(build-id) = a6640ac3783d6772e1b4dadf7bac7be30f895d7b debuginfo(build-id) = e7f5af5c342f1c6e62dd97fe92fb47d868437b6d debuginfo(build-id) = eef1d8786d62c9135ff2b9fd6e1109453b25a171 softhsm-debuginfo = 2.5.0-4.mga9 softhsm-debuginfo(aarch-64) = 2.5.0-4.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: softhsm-debugsource(aarch-64) = 2.5.0-4.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/softhsm-devel-2.5.0-4.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/softhsm-2.5.0-4.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/softhsm-debugsource-2.5.0-4.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/softhsm-debuginfo-2.5.0-4.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.2Otyk8 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd softhsm-2.5.0 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/softhsm-2.5.0-4.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ybNQDt + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf softhsm-2.5.0 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!