Diff of the two buildlogs: -- --- b1/build.log 2024-10-30 08:13:40.190301963 +0000 +++ b2/build.log 2024-10-30 08:14:38.696217545 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Oct 29 20:12:08 -12 2024 -I: pbuilder-time-stamp: 1730275928 +I: Current time: Wed Dec 3 04:36:41 +14 2025 +I: pbuilder-time-stamp: 1764686201 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,54 +29,86 @@ dpkg-source: info: applying 0001-Fix-mismatch-of-OpenSSL-function-signatures-that-cau.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/48748/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/114290/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 2 14:36 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/114290/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/114290/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='2f70607993104980835c94e8fce694be' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='48748' - PS1='# ' - PS2='> ' + INVOCATION_ID=5f4dcc8400504c3c9134d602b8081ecc + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=114290 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.lbWIE1az/pbuilderrc_jwI1 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.lbWIE1az/b1 --logfile b1/build.log tpm2-tss-engine_1.2.0-4.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.lbWIE1az/pbuilderrc_RFxx --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.lbWIE1az/b2 --logfile b2/build.log tpm2-tss-engine_1.2.0-4.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos12-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/48748/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/114290/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -236,7 +268,7 @@ Get: 106 http://deb.debian.org/debian trixie/main i386 libyaml-0-2 i386 0.2.5-1+b1 [55.2 kB] Get: 107 http://deb.debian.org/debian trixie/main i386 pandoc-data all 3.1.11.1-3 [459 kB] Get: 108 http://deb.debian.org/debian trixie/main i386 pandoc i386 3.1.11.1+ds-2 [37.3 MB] -Fetched 82.1 MB in 2s (53.4 MB/s) +Fetched 82.1 MB in 1s (67.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19936 files and directories currently installed.) @@ -707,7 +739,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/tpm2-tss-engine-1.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../tpm2-tss-engine_1.2.0-4_source.changes +I: user script /srv/workspace/pbuilder/114290/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/114290/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/tpm2-tss-engine-1.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../tpm2-tss-engine_1.2.0-4_source.changes dpkg-buildpackage: info: source package tpm2-tss-engine dpkg-buildpackage: info: source version 1.2.0-4 dpkg-buildpackage: info: source distribution unstable @@ -959,7 +995,7 @@ make[1]: Leaving directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' dh_auto_build - make -j11 + make -j21 make[1]: Entering directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' mkdir -p man/man1 && cat man/tpm2tss-genkey.1.md | /usr/bin/pandoc -s -t man >man/man1/tpm2tss-genkey.1 mkdir -p man/man3 && cat man/tpm2tss_tpm2data_write.3.md | /usr/bin/pandoc -s -t man >man/man3/tpm2tss_tpm2data_write.3 @@ -969,38 +1005,22 @@ mkdir -p man/man3 && cat man/tpm2tss_ecc_genkey.3.md | /usr/bin/pandoc -s -t man >man/man3/tpm2tss_ecc_genkey.3 mkdir -p man/man3 && cat man/tpm2tss_ecc_getappdata.3.md | /usr/bin/pandoc -s -t man >man/man3/tpm2tss_ecc_getappdata.3 gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/tpm2tss_genkey-tpm2tss-genkey.o `test -f 'src/tpm2tss-genkey.c' || echo './'`src/tpm2tss-genkey.c -/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine.lo `test -f 'src/tpm2-tss-engine.c' || echo './'`src/tpm2-tss-engine.c -/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-common.lo `test -f 'src/tpm2-tss-engine-common.c' || echo './'`src/tpm2-tss-engine-common.c -/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-digest-sign.lo `test -f 'src/tpm2-tss-engine-digest-sign.c' || echo './'`src/tpm2-tss-engine-digest-sign.c -/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-err.lo `test -f 'src/tpm2-tss-engine-err.c' || echo './'`src/tpm2-tss-engine-err.c -/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-ecc.lo `test -f 'src/tpm2-tss-engine-ecc.c' || echo './'`src/tpm2-tss-engine-ecc.c -/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-rand.lo `test -f 'src/tpm2-tss-engine-rand.c' || echo './'`src/tpm2-tss-engine-rand.c -/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-rsa.lo `test -f 'src/tpm2-tss-engine-rsa.c' || echo './'`src/tpm2-tss-engine-rsa.c +/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine.lo `test -f 'src/tpm2-tss-engine.c' || echo './'`src/tpm2-tss-engine.c +/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-common.lo `test -f 'src/tpm2-tss-engine-common.c' || echo './'`src/tpm2-tss-engine-common.c +/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-digest-sign.lo `test -f 'src/tpm2-tss-engine-digest-sign.c' || echo './'`src/tpm2-tss-engine-digest-sign.c +/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-err.lo `test -f 'src/tpm2-tss-engine-err.c' || echo './'`src/tpm2-tss-engine-err.c +/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-ecc.lo `test -f 'src/tpm2-tss-engine-ecc.c' || echo './'`src/tpm2-tss-engine-ecc.c +/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-rand.lo `test -f 'src/tpm2-tss-engine-rand.c' || echo './'`src/tpm2-tss-engine-rand.c +/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libtpm2tss_la-tpm2-tss-engine-rsa.lo `test -f 'src/tpm2-tss-engine-rsa.c' || echo './'`src/tpm2-tss-engine-rsa.c (rm man/man3/tpm2tss_tpm2data_read.3 2>/dev/null || true) && ln -s tpm2tss_tpm2data_write.3 man/man3/tpm2tss_tpm2data_read.3 (rm man/man3/tpm2tss_ecc_setappdata.3 2>/dev/null || true) && ln -s tpm2tss_ecc_getappdata.3 man/man3/tpm2tss_ecc_setappdata.3 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-digest-sign.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-digest-sign.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-common.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-common.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-rand.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-rand.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-err.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-err.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-rsa.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-rsa.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-ecc.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-ecc.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-err.c -o src/libtpm2tss_la-tpm2-tss-engine-err.o >/dev/null 2>&1 -src/tpm2-tss-engine-digest-sign.c: In function 'digest_init': -src/tpm2-tss-engine-digest-sign.c:63:5: warning: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 63 | md = EVP_MD_CTX_md(ctx); - | ^~ -In file included from src/tpm2-tss-engine-digest-sign.c:34: -/usr/include/openssl/evp.h:560:15: note: declared here - 560 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); - | ^~~~~~~~~~~~~ -src/tpm2-tss-engine-digest-sign.c: In function 'digest_sign_init': -src/tpm2-tss-engine-digest-sign.c:206:5: warning: 'EVP_MD_CTX_set_update_fn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 206 | EVP_MD_CTX_set_update_fn(mctx, digest_update); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:565:6: note: declared here - 565 | void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, - | ^~~~~~~~~~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-rand.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-rand.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-common.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-common.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-digest-sign.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-digest-sign.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-rsa.c -fPIC -DPIC -o src/.libs/libtpm2tss_la-tpm2-tss-engine-rsa.o src/tpm2tss-genkey.c: In function 'genkey_rsa': src/tpm2tss-genkey.c:253:5: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 253 | rsa = RSA_new(); @@ -1028,20 +1048,12 @@ /usr/include/openssl/rsa.h:457:29: note: declared here 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ -src/tpm2-tss-engine-rand.c: In function 'init_rand': -src/tpm2-tss-engine-rand.c:150:5: warning: 'ENGINE_set_RAND' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 150 | return ENGINE_set_RAND(e, &rand_methods); - | ^~~~~~ src/tpm2tss-genkey.c:278:5: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 278 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -In file included from src/tpm2-tss-engine-rand.c:34: -/usr/include/openssl/engine.h:501:27: note: declared here - 501 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_RAND(ENGINE *e, const RAND_METHOD *rand_meth); - | ^~~~~~~~~~~~~~~ src/tpm2tss-genkey.c: In function 'genkey_ecdsa': src/tpm2tss-genkey.c:294:5: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 294 | eckey = EC_KEY_new(); @@ -1111,6 +1123,7 @@ /usr/include/openssl/engine.h:429:27: note: declared here 429 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, | ^~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-err.c -o src/libtpm2tss_la-tpm2-tss-engine-err.o >/dev/null 2>&1 src/tpm2-tss-engine.c: In function 'bind': src/tpm2-tss-engine.c:329:5: warning: 'ENGINE_set_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | if (!ENGINE_set_id(e, engine_id)) { @@ -1143,12 +1156,34 @@ /usr/include/openssl/engine.h:509:5: note: declared here 509 | int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f); | ^~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'ecdh_compute_key': +src/tpm2-tss-engine-ecc.c:195:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 195 | const EC_GROUP *group = EC_KEY_get0_group(eckey); + | ^~~~~ src/tpm2-tss-engine.c:360:5: warning: 'ENGINE_set_cmd_defns' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 360 | if (!ENGINE_set_cmd_defns(e, cmd_defns)) { | ^~ /usr/include/openssl/engine.h:526:27: note: declared here 526 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_cmd_defns(ENGINE *e, | ^~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/openssl/engine.h:28, + from src/tpm2-tss-engine-ecc.c:34: +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'ecdsa_ec_key_sign': +src/tpm2-tss-engine-ecc.c:320:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 320 | EC_KEY_set_method(eckey, ecc_method_default); + | ^~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1302:27: note: declared here + 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:321:9: warning: 'ECDSA_do_sign_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 321 | ret = ECDSA_do_sign_ex(dgst, dgst_len, inv, rp, eckey); + | ^~~ +/usr/include/openssl/ec.h:1397:34: note: declared here + 1397 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, + | ^~~~~~~~~~~~~~~~ src/tpm2-tss-engine-common.c: In function 'tpm2tss_tpm2data_readtpm': src/tpm2-tss-engine-common.c:263:9: warning: 'RAND_get_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 263 | const RAND_METHOD *rand_save = RAND_get_rand_method(); @@ -1158,24 +1193,240 @@ /usr/include/openssl/rand.h:50:42: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 const RAND_METHOD *RAND_get_rand_method(void); | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:322:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 322 | EC_KEY_set_method(eckey, ecc_methods); + | ^~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 267 | RAND_set_rand_method(RAND_OpenSSL()); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rand.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1302:27: note: declared here + 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); + | ^~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 267 | RAND_set_rand_method(RAND_OpenSSL()); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rand.h:55:36: note: declared here 55 | OSSL_DEPRECATEDIN_3_0 RAND_METHOD *RAND_OpenSSL(void); | ^~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:352:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 352 | int curve_len = (EC_GROUP_order_bits(EC_KEY_get0_group(eckey)) + 7) / 8; + | ^~~ src/tpm2-tss-engine-common.c:296:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | RAND_set_rand_method(rand_save); | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/rand.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'ecdsa_pkey_copy': +src/tpm2-tss-engine-ecc.c:413:34: warning: passing argument 2 of 'digest_sign_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 413 | return digest_sign_copy(dst, src); + | ^~~ +In file included from src/tpm2-tss-engine-ecc.c:42: +src/tpm2-tss-engine-common.h:195:51: note: expected 'EVP_PKEY_CTX *' {aka 'struct evp_pkey_ctx_st *'} but argument is of type 'const EVP_PKEY_CTX *' {aka 'const struct evp_pkey_ctx_st *'} + 195 | digest_sign_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src); + | ~~~~~~~~~~~~~~^~~ +src/tpm2-tss-engine-ecc.c: In function 'ecdsa_digest_custom': +src/tpm2-tss-engine-ecc.c:430:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 430 | EC_KEY *eckey = EVP_PKEY_get0_EC_KEY(pkey); + | ^~~~~~ +In file included from /usr/include/openssl/rand.h:23, + from /usr/include/openssl/engine.h:29: +/usr/include/openssl/evp.h:1382:25: note: declared here + 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:430:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 430 | EC_KEY *eckey = EVP_PKEY_get0_EC_KEY(pkey); + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:435:5: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 435 | return digest_sign_init(ctx, mctx, tpm2data, ECDSA_size(eckey)); + | ^~~~~~ +src/tpm2-tss-engine-digest-sign.c: In function 'digest_init': +/usr/include/openssl/ec.h:1474:27: note: declared here + 1474 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); + | ^~~~~~~~~~ +src/tpm2-tss-engine-digest-sign.c:63:5: warning: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 63 | md = EVP_MD_CTX_md(ctx); + | ^~ +In file included from src/tpm2-tss-engine-digest-sign.c:34: +/usr/include/openssl/evp.h:560:15: note: declared here + 560 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); + | ^~~~~~~~~~~~~ +src/tpm2-tss-engine-rand.c: In function 'init_rand': +src/tpm2-tss-engine-rand.c:150:5: warning: 'ENGINE_set_RAND' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 150 | return ENGINE_set_RAND(e, &rand_methods); + | ^~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'populate_ecc': +In file included from src/tpm2-tss-engine-rand.c:34: +/usr/include/openssl/engine.h:501:27: note: declared here + 501 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_RAND(ENGINE *e, const RAND_METHOD *rand_meth); + | ^~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:531:5: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 531 | if (!EC_KEY_set_group(key, ecgroup)) { + | ^~ +/usr/include/openssl/ec.h:1061:27: note: declared here + 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); + | ^~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:536:5: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 536 | EC_KEY_set_asn1_flag(key, OPENSSL_EC_NAMED_CURVE); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1106:28: note: declared here + 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-digest-sign.c: In function 'digest_sign_init': +src/tpm2-tss-engine-digest-sign.c:206:5: warning: 'EVP_MD_CTX_set_update_fn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 206 | EVP_MD_CTX_set_update_fn(mctx, digest_update); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:565:6: note: declared here + 565 | void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:550:5: warning: 'EC_KEY_set_public_key_affine_coordinates' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 550 | if (!EC_KEY_set_public_key_affine_coordinates(key, x, y)) { + | ^~ +/usr/include/openssl/ec.h:1141:27: note: declared here + 1141 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_makekey': +src/tpm2-tss-engine-ecc.c:587:5: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 587 | if ((eckey = EC_KEY_new()) == NULL) { + | ^~ +/usr/include/openssl/ec.h:987:31: note: declared here + 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); + | ^~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:596:5: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 596 | if (!EC_KEY_set_method(eckey, ecc_methods)) { + | ^~ +/usr/include/openssl/ec.h:1302:27: note: declared here + 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:599:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 599 | EC_KEY_free(eckey); + | ^~~~~~~~~~~ +/usr/include/openssl/ec.h:1022:28: note: declared here + 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:603:5: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 603 | if (!EVP_PKEY_assign_EC_KEY(pkey, eckey)) { + | ^~ +/usr/include/openssl/evp.h:1338:5: note: declared here + 1338 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); + | ^~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:605:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 605 | EC_KEY_free(eckey); + | ^~~~~~~~~~~ +/usr/include/openssl/ec.h:1022:28: note: declared here + 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_getappdata': +src/tpm2-tss-engine-ecc.c:649:5: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 649 | return EC_KEY_get_ex_data(key, ec_key_app_data); + | ^~~~~~ +/usr/include/openssl/ec.h:1103:29: note: declared here + 1103 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); + | ^~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_setappdata': +src/tpm2-tss-engine-ecc.c:673:5: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 673 | return EC_KEY_set_ex_data(key, ec_key_app_data, tpm2Data); + | ^~~~~~ +/usr/include/openssl/ec.h:1102:27: note: declared here + 1102 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); + | ^~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'init_ecc': +src/tpm2-tss-engine-ecc.c:826:5: warning: 'EC_KEY_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 826 | ecc_method_default = EC_KEY_OpenSSL(); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1298:44: note: declared here + 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); + | ^~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:830:5: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 830 | ecc_methods = EC_KEY_METHOD_new(ecc_method_default); + | ^~~~~~~~~~~ +/usr/include/openssl/ec.h:1480:38: note: declared here + 1480 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:837:5: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 837 | EC_KEY_METHOD_get_sign(ecc_methods, &orig_sign, NULL, NULL); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1543:28: note: declared here + 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign + | ^~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:838:5: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 838 | EC_KEY_METHOD_set_sign(ecc_methods, orig_sign, NULL, ecdsa_ec_key_sign); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1499:28: note: declared here + 1499 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign + | ^~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:839:5: warning: 'EC_KEY_METHOD_set_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 839 | EC_KEY_METHOD_set_compute_key(ecc_methods, ecdh_compute_key); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1494:28: note: declared here + 1494 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_compute_key + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:851:5: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 851 | pkey_ecc_methods = EVP_PKEY_meth_new(EVP_PKEY_EC, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1754:40: note: declared here + 1754 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:856:9: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 856 | EVP_PKEY_meth_find(EVP_PKEY_EC); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1753:46: note: declared here + 1753 | OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); + | ^~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:859:5: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 859 | EVP_PKEY_meth_copy(pkey_ecc_methods, pkey_orig_ecc_methods); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1757:28: note: declared here + 1757 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, + | ^~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:864:5: warning: 'EVP_PKEY_meth_get_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 864 | EVP_PKEY_meth_get_copy(pkey_ecc_methods, &ecdsa_pkey_orig_copy); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2081:28: note: declared here + 2081 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_copy + | ^~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:865:5: warning: 'EVP_PKEY_meth_get_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 865 | EVP_PKEY_meth_get_cleanup(pkey_ecc_methods, &ecdsa_pkey_orig_cleanup); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2084:28: note: declared here + 2084 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_cleanup + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:867:5: warning: 'EVP_PKEY_meth_set_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 867 | EVP_PKEY_meth_set_copy(pkey_ecc_methods, ecdsa_pkey_copy); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2012:28: note: declared here + 2012 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_copy + | ^~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:868:5: warning: 'EVP_PKEY_meth_set_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 868 | EVP_PKEY_meth_set_cleanup(pkey_ecc_methods, ecdsa_pkey_cleanup); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2015:28: note: declared here + 2015 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_cleanup + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:869:5: warning: 'EVP_PKEY_meth_set_signctx' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 869 | EVP_PKEY_meth_set_signctx(pkey_ecc_methods, NULL, ecdsa_signctx); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2036:28: note: declared here + 2036 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_signctx + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:870:5: warning: 'EVP_PKEY_meth_set_digest_custom' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 870 | EVP_PKEY_meth_set_digest_custom(pkey_ecc_methods, ecdsa_digest_custom); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2076:28: note: declared here + 2076 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_digest_custom + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:871:5: warning: 'EVP_PKEY_meth_add0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 871 | EVP_PKEY_meth_add0(pkey_ecc_methods); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1760:27: note: declared here + 1760 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); + | ^~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c: In function 'rsa_priv_enc': src/tpm2-tss-engine-rsa.c:112:5: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 112 | TPM2_DATA *tpm2Data = RSA_get_app_data(rsa); @@ -1324,7 +1575,6 @@ /usr/include/openssl/rsa.h:456:27: note: declared here 456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-rand.c -o src/libtpm2tss_la-tpm2-tss-engine-rand.o >/dev/null 2>&1 src/tpm2-tss-engine-rsa.c:603:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 603 | RSA_set_app_data(rsa, NULL); | ^~~~~~~~~~~~~~~~ @@ -1416,6 +1666,7 @@ /usr/include/openssl/evp.h:1754:40: note: declared here 1754 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); | ^~~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-rand.c -o src/libtpm2tss_la-tpm2-tss-engine-rand.o >/dev/null 2>&1 src/tpm2-tss-engine-rsa.c:794:9: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 794 | EVP_PKEY_meth_find(EVP_PKEY_RSA); | ^~~~~~~~~~~~~~~~~~ @@ -1452,21 +1703,12 @@ /usr/include/openssl/evp.h:2015:28: note: declared here 2015 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_cleanup | ^~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'ecdh_compute_key': src/tpm2-tss-engine-rsa.c:807:5: warning: 'EVP_PKEY_meth_set_signctx' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 807 | EVP_PKEY_meth_set_signctx(pkey_rsa_methods, NULL, rsa_signctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2036:28: note: declared here 2036 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_signctx | ^~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:195:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 195 | const EC_GROUP *group = EC_KEY_get0_group(eckey); - | ^~~~~ -In file included from /usr/include/openssl/engine.h:28, - from src/tpm2-tss-engine-ecc.c:34: -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:808:5: warning: 'EVP_PKEY_meth_set_digest_custom' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 808 | EVP_PKEY_meth_set_digest_custom(pkey_rsa_methods, rsa_digest_custom); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1479,218 +1721,12 @@ /usr/include/openssl/evp.h:1760:27: note: declared here 1760 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); | ^~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'ecdsa_ec_key_sign': -src/tpm2-tss-engine-ecc.c:320:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 320 | EC_KEY_set_method(eckey, ecc_method_default); - | ^~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1302:27: note: declared here - 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); - | ^~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:321:9: warning: 'ECDSA_do_sign_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 321 | ret = ECDSA_do_sign_ex(dgst, dgst_len, inv, rp, eckey); - | ^~~ -/usr/include/openssl/ec.h:1397:34: note: declared here - 1397 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, - | ^~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:322:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 322 | EC_KEY_set_method(eckey, ecc_methods); - | ^~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1302:27: note: declared here - 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); - | ^~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:352:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 352 | int curve_len = (EC_GROUP_order_bits(EC_KEY_get0_group(eckey)) + 7) / 8; - | ^~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'ecdsa_pkey_copy': -src/tpm2-tss-engine-ecc.c:413:34: warning: passing argument 2 of 'digest_sign_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 413 | return digest_sign_copy(dst, src); - | ^~~ -In file included from src/tpm2-tss-engine-ecc.c:42: -src/tpm2-tss-engine-common.h:195:51: note: expected 'EVP_PKEY_CTX *' {aka 'struct evp_pkey_ctx_st *'} but argument is of type 'const EVP_PKEY_CTX *' {aka 'const struct evp_pkey_ctx_st *'} - 195 | digest_sign_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src); - | ~~~~~~~~~~~~~~^~~ -src/tpm2-tss-engine-ecc.c: In function 'ecdsa_digest_custom': -src/tpm2-tss-engine-ecc.c:430:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 430 | EC_KEY *eckey = EVP_PKEY_get0_EC_KEY(pkey); - | ^~~~~~ -In file included from /usr/include/openssl/rand.h:23, - from /usr/include/openssl/engine.h:29: -/usr/include/openssl/evp.h:1382:25: note: declared here - 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:430:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 430 | EC_KEY *eckey = EVP_PKEY_get0_EC_KEY(pkey); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:435:5: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 435 | return digest_sign_init(ctx, mctx, tpm2data, ECDSA_size(eckey)); - | ^~~~~~ -/usr/include/openssl/ec.h:1474:27: note: declared here - 1474 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); - | ^~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'populate_ecc': -src/tpm2-tss-engine-ecc.c:531:5: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 531 | if (!EC_KEY_set_group(key, ecgroup)) { - | ^~ -/usr/include/openssl/ec.h:1061:27: note: declared here - 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); - | ^~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:536:5: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 536 | EC_KEY_set_asn1_flag(key, OPENSSL_EC_NAMED_CURVE); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1106:28: note: declared here - 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:550:5: warning: 'EC_KEY_set_public_key_affine_coordinates' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 550 | if (!EC_KEY_set_public_key_affine_coordinates(key, x, y)) { - | ^~ -/usr/include/openssl/ec.h:1141:27: note: declared here - 1141 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_makekey': -src/tpm2-tss-engine-ecc.c:587:5: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 587 | if ((eckey = EC_KEY_new()) == NULL) { - | ^~ -/usr/include/openssl/ec.h:987:31: note: declared here - 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); - | ^~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:596:5: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 596 | if (!EC_KEY_set_method(eckey, ecc_methods)) { - | ^~ -/usr/include/openssl/ec.h:1302:27: note: declared here - 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); - | ^~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:599:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 599 | EC_KEY_free(eckey); - | ^~~~~~~~~~~ -/usr/include/openssl/ec.h:1022:28: note: declared here - 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); - | ^~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:603:5: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 603 | if (!EVP_PKEY_assign_EC_KEY(pkey, eckey)) { - | ^~ -/usr/include/openssl/evp.h:1338:5: note: declared here - 1338 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); - | ^~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-digest-sign.c -o src/libtpm2tss_la-tpm2-tss-engine-digest-sign.o >/dev/null 2>&1 -src/tpm2-tss-engine-ecc.c:605:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 605 | EC_KEY_free(eckey); - | ^~~~~~~~~~~ -/usr/include/openssl/ec.h:1022:28: note: declared here - 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); - | ^~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_getappdata': -src/tpm2-tss-engine-ecc.c:649:5: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 649 | return EC_KEY_get_ex_data(key, ec_key_app_data); - | ^~~~~~ -/usr/include/openssl/ec.h:1103:29: note: declared here - 1103 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); - | ^~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_setappdata': -src/tpm2-tss-engine-ecc.c:673:5: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 673 | return EC_KEY_set_ex_data(key, ec_key_app_data, tpm2Data); - | ^~~~~~ -/usr/include/openssl/ec.h:1102:27: note: declared here - 1102 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); - | ^~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'init_ecc': -src/tpm2-tss-engine-ecc.c:826:5: warning: 'EC_KEY_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 826 | ecc_method_default = EC_KEY_OpenSSL(); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1298:44: note: declared here - 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); - | ^~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:830:5: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 830 | ecc_methods = EC_KEY_METHOD_new(ecc_method_default); - | ^~~~~~~~~~~ -/usr/include/openssl/ec.h:1480:38: note: declared here - 1480 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); - | ^~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:837:5: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 837 | EC_KEY_METHOD_get_sign(ecc_methods, &orig_sign, NULL, NULL); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1543:28: note: declared here - 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign - | ^~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:838:5: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 838 | EC_KEY_METHOD_set_sign(ecc_methods, orig_sign, NULL, ecdsa_ec_key_sign); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1499:28: note: declared here - 1499 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign - | ^~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:839:5: warning: 'EC_KEY_METHOD_set_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 839 | EC_KEY_METHOD_set_compute_key(ecc_methods, ecdh_compute_key); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1494:28: note: declared here - 1494 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_compute_key - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:851:5: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 851 | pkey_ecc_methods = EVP_PKEY_meth_new(EVP_PKEY_EC, 0); - | ^~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:1754:40: note: declared here - 1754 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); - | ^~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:856:9: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 856 | EVP_PKEY_meth_find(EVP_PKEY_EC); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:1753:46: note: declared here - 1753 | OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); - | ^~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:859:5: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 859 | EVP_PKEY_meth_copy(pkey_ecc_methods, pkey_orig_ecc_methods); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:1757:28: note: declared here - 1757 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, - | ^~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:864:5: warning: 'EVP_PKEY_meth_get_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 864 | EVP_PKEY_meth_get_copy(pkey_ecc_methods, &ecdsa_pkey_orig_copy); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2081:28: note: declared here - 2081 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_copy - | ^~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:865:5: warning: 'EVP_PKEY_meth_get_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 865 | EVP_PKEY_meth_get_cleanup(pkey_ecc_methods, &ecdsa_pkey_orig_cleanup); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2084:28: note: declared here - 2084 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_cleanup - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:867:5: warning: 'EVP_PKEY_meth_set_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 867 | EVP_PKEY_meth_set_copy(pkey_ecc_methods, ecdsa_pkey_copy); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2012:28: note: declared here - 2012 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_copy - | ^~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:868:5: warning: 'EVP_PKEY_meth_set_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 868 | EVP_PKEY_meth_set_cleanup(pkey_ecc_methods, ecdsa_pkey_cleanup); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2015:28: note: declared here - 2015 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_cleanup - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:869:5: warning: 'EVP_PKEY_meth_set_signctx' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 869 | EVP_PKEY_meth_set_signctx(pkey_ecc_methods, NULL, ecdsa_signctx); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2036:28: note: declared here - 2036 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_signctx - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:870:5: warning: 'EVP_PKEY_meth_set_digest_custom' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 870 | EVP_PKEY_meth_set_digest_custom(pkey_ecc_methods, ecdsa_digest_custom); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2076:28: note: declared here - 2076 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_digest_custom - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:871:5: warning: 'EVP_PKEY_meth_add0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 871 | EVP_PKEY_meth_add0(pkey_ecc_methods); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:1760:27: note: declared here - 1760 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); - | ^~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine.c -o src/libtpm2tss_la-tpm2-tss-engine.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-digest-sign.c -o src/libtpm2tss_la-tpm2-tss-engine-digest-sign.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-ecc.c -o src/libtpm2tss_la-tpm2-tss-engine-ecc.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-common.c -o src/libtpm2tss_la-tpm2-tss-engine-common.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-rsa.c -o src/libtpm2tss_la-tpm2-tss-engine-rsa.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tpm2-tss-engine-ecc.c -o src/libtpm2tss_la-tpm2-tss-engine-ecc.o >/dev/null 2>&1 -/bin/bash ./libtool --tag=CC --mode=link gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -no-undefined -avoid-version -export-symbols-regex '(tpm2tss*|bind_engine|v_check)' -Wl,-z,relro -Wl,-z,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o libtpm2tss.la -rpath /usr/lib/i386-linux-gnu/engines-3 src/libtpm2tss_la-tpm2-tss-engine.lo src/libtpm2tss_la-tpm2-tss-engine-common.lo src/libtpm2tss_la-tpm2-tss-engine-digest-sign.lo src/libtpm2tss_la-tpm2-tss-engine-err.lo src/libtpm2tss_la-tpm2-tss-engine-ecc.lo src/libtpm2tss_la-tpm2-tss-engine-rand.lo src/libtpm2tss_la-tpm2-tss-engine-rsa.lo -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto +/bin/sh ./libtool --tag=CC --mode=link gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -no-undefined -avoid-version -export-symbols-regex '(tpm2tss*|bind_engine|v_check)' -Wl,-z,relro -Wl,-z,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o libtpm2tss.la -rpath /usr/lib/i386-linux-gnu/engines-3 src/libtpm2tss_la-tpm2-tss-engine.lo src/libtpm2tss_la-tpm2-tss-engine-common.lo src/libtpm2tss_la-tpm2-tss-engine-digest-sign.lo src/libtpm2tss_la-tpm2-tss-engine-err.lo src/libtpm2tss_la-tpm2-tss-engine-ecc.lo src/libtpm2tss_la-tpm2-tss-engine-rand.lo src/libtpm2tss_la-tpm2-tss-engine-rsa.lo -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto libtool: link: /usr/bin/nm -B src/.libs/libtpm2tss_la-tpm2-tss-engine.o src/.libs/libtpm2tss_la-tpm2-tss-engine-common.o src/.libs/libtpm2tss_la-tpm2-tss-engine-digest-sign.o src/.libs/libtpm2tss_la-tpm2-tss-engine-err.o src/.libs/libtpm2tss_la-tpm2-tss-engine-ecc.o src/.libs/libtpm2tss_la-tpm2-tss-engine-rand.o src/.libs/libtpm2tss_la-tpm2-tss-engine-rsa.o | /usr/bin/sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libtpm2tss.exp libtool: link: /usr/bin/grep -E -e "(tpm2tss*|bind_engine|v_check)" ".libs/libtpm2tss.exp" > ".libs/libtpm2tss.expT" libtool: link: mv -f ".libs/libtpm2tss.expT" ".libs/libtpm2tss.exp" @@ -1701,11 +1737,11 @@ libtool: link: ar cr .libs/libtpm2tss.a src/libtpm2tss_la-tpm2-tss-engine.o src/libtpm2tss_la-tpm2-tss-engine-common.o src/libtpm2tss_la-tpm2-tss-engine-digest-sign.o src/libtpm2tss_la-tpm2-tss-engine-err.o src/libtpm2tss_la-tpm2-tss-engine-ecc.o src/libtpm2tss_la-tpm2-tss-engine-rand.o src/libtpm2tss_la-tpm2-tss-engine-rsa.o libtool: link: ranlib .libs/libtpm2tss.a libtool: link: ( cd ".libs" && rm -f "libtpm2tss.la" && ln -s "../libtpm2tss.la" "libtpm2tss.la" ) -/bin/bash ./libtool --tag=CC --mode=link gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o tpm2tss-genkey src/tpm2tss_genkey-tpm2tss-genkey.o -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto libtpm2tss.la +/bin/sh ./libtool --tag=CC --mode=link gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o tpm2tss-genkey src/tpm2tss_genkey-tpm2tss-genkey.o -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto libtpm2tss.la libtool: link: gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o .libs/tpm2tss-genkey src/tpm2tss_genkey-tpm2tss-genkey.o -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto ./.libs/libtpm2tss.so -Wl,-rpath -Wl,/usr/lib/i386-linux-gnu/engines-3 make[1]: Leaving directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' dh_auto_test - make -j11 check "TESTSUITEFLAGS=-j11 --verbose" VERBOSE=1 + make -j21 check "TESTSUITEFLAGS=-j21 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' make test/error_tpm2-tss-engine-common test/tpm2-tss-engine-common make[2]: Entering directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' @@ -1720,6 +1756,11 @@ gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/test_tpm2_tss_engine_common-tpm2-tss-engine.o `test -f 'src/tpm2-tss-engine.c' || echo './'`src/tpm2-tss-engine.c gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/test_tpm2_tss_engine_common-tpm2-tss-engine-common.o `test -f 'src/tpm2-tss-engine-common.c' || echo './'`src/tpm2-tss-engine-common.c gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/test_tpm2_tss_engine_common-tpm2-tss-engine-digest-sign.o `test -f 'src/tpm2-tss-engine-digest-sign.c' || echo './'`src/tpm2-tss-engine-digest-sign.c +gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/test_tpm2_tss_engine_common-tpm2-tss-engine-err.o `test -f 'src/tpm2-tss-engine-err.c' || echo './'`src/tpm2-tss-engine-err.c +gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/test_tpm2_tss_engine_common-tpm2-tss-engine-ecc.o `test -f 'src/tpm2-tss-engine-ecc.c' || echo './'`src/tpm2-tss-engine-ecc.c +gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/test_tpm2_tss_engine_common-tpm2-tss-engine-rand.o `test -f 'src/tpm2-tss-engine-rand.c' || echo './'`src/tpm2-tss-engine-rand.c +gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/test_tpm2_tss_engine_common-tpm2-tss-engine-rsa.o `test -f 'src/tpm2-tss-engine-rsa.c' || echo './'`src/tpm2-tss-engine-rsa.c +gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test/error_tpm2_tss_engine_common-error_tpm2-tss-engine-common.o `test -f 'test/error_tpm2-tss-engine-common.c' || echo './'`test/error_tpm2-tss-engine-common.c src/tpm2-tss-engine-rsa.c: In function 'rsa_priv_enc': src/tpm2-tss-engine-rsa.c:112:5: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 112 | TPM2_DATA *tpm2Data = RSA_get_app_data(rsa); @@ -1732,58 +1773,184 @@ src/tpm2-tss-engine-rsa.c:120:9: warning: 'RSA_meth_get_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 120 | return RSA_meth_get_priv_enc(default_rsa)(flen, from, to, rsa, padding); | ^~~~~~ +src/tpm2-tss-engine.c: In function 'bind': /usr/include/openssl/rsa.h:516:7: note: declared here 516 | int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) (int flen, | ^~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine.c:329:5: warning: 'ENGINE_set_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 329 | if (!ENGINE_set_id(e, engine_id)) { + | ^~ +In file included from src/tpm2-tss-engine.c:36: +/usr/include/openssl/engine.h:495:27: note: declared here + 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); + | ^~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:137:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 137 | digest.size = RSA_size(rsa); | ^~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ +src/tpm2-tss-engine.c:333:5: warning: 'ENGINE_set_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 333 | if (!ENGINE_set_name(e, engine_name)) { + | ^~ +/usr/include/openssl/engine.h:496:27: note: declared here + 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); + | ^~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:145:9: warning: 'RSA_padding_add_PKCS1_type_1' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | ret = RSA_padding_add_PKCS1_type_1(&digest.buffer[0], digest.size, | ^~~ /usr/include/openssl/rsa.h:387:5: note: declared here 387 | int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-digest-sign.c: In function 'digest_init': +src/tpm2-tss-engine-digest-sign.c:63:5: warning: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 63 | md = EVP_MD_CTX_md(ctx); + | ^~ src/tpm2-tss-engine-rsa.c:149:9: warning: 'RSA_padding_add_X931' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 149 | ret = RSA_padding_add_X931(&digest.buffer[0], digest.size, from, flen); | ^~~ +src/tpm2-tss-engine.c:345:5: warning: 'ENGINE_set_load_privkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 345 | if (!ENGINE_set_load_privkey_function(e, loadkey)) { + | ^~ /usr/include/openssl/rsa.h:427:27: note: declared here 427 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_add_X931(unsigned char *to, int tlen, | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/engine.h:511:5: note: declared here + 511 | int ENGINE_set_load_privkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpriv_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from src/tpm2-tss-engine-digest-sign.c:34: +/usr/include/openssl/evp.h:560:15: note: declared here + 560 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); + | ^~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:152:9: warning: 'RSA_padding_add_none' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 152 | ret = RSA_padding_add_none(&digest.buffer[0], digest.size, from, flen); | ^~~ /usr/include/openssl/rsa.h:422:27: note: declared here 422 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_add_none(unsigned char *to, int tlen, | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine.c:350:5: warning: 'ENGINE_set_destroy_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 350 | if (!ENGINE_set_destroy_function(e, destroy_engine)) { + | ^~ +/usr/include/openssl/engine.h:503:5: note: declared here + 503 | int ENGINE_set_destroy_function(ENGINE *e,ENGINE_GEN_INT_FUNC_PTR destroy_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine.c:355:5: warning: 'ENGINE_set_ctrl_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 355 | if (!ENGINE_set_ctrl_function(e, engine_ctrl)) { + | ^~ +/usr/include/openssl/engine.h:509:5: note: declared here + 509 | int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine.c:360:5: warning: 'ENGINE_set_cmd_defns' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 360 | if (!ENGINE_set_cmd_defns(e, cmd_defns)) { + | ^~ +src/tpm2-tss-engine-rand.c: In function 'init_rand': +/usr/include/openssl/engine.h:526:27: note: declared here + 526 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_cmd_defns(ENGINE *e, + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-rand.c:150:5: warning: 'ENGINE_set_RAND' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 150 | return ENGINE_set_RAND(e, &rand_methods); + | ^~~~~~ src/tpm2-tss-engine-rsa.c:179:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 179 | if (ret > RSA_size(rsa) || ret <= 0) { | ^~ +In file included from src/tpm2-tss-engine-rand.c:34: +/usr/include/openssl/engine.h:501:27: note: declared here + 501 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_RAND(ENGINE *e, const RAND_METHOD *rand_meth); + | ^~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ +src/tpm2-tss-engine-common.c: In function 'tpm2tss_tpm2data_readtpm': +src/tpm2-tss-engine-common.c:263:9: warning: 'RAND_get_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 263 | const RAND_METHOD *rand_save = RAND_get_rand_method(); + | ^~~~~ +In file included from /usr/include/openssl/engine.h:29, + from src/tpm2-tss-engine-common.c:39: +/usr/include/openssl/rand.h:50:42: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 const RAND_METHOD *RAND_get_rand_method(void); + | ^~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c: In function 'rsa_priv_dec': +src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 267 | RAND_set_rand_method(RAND_OpenSSL()); + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine.c: In function 'bind': +/usr/include/openssl/rand.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-digest-sign.c: In function 'digest_sign_init': src/tpm2-tss-engine-rsa.c:218:5: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 218 | TPM2_DATA *tpm2Data = RSA_get_app_data(rsa); | ^~~~~~~~~ +src/tpm2-tss-engine-digest-sign.c:206:5: warning: 'EVP_MD_CTX_set_update_fn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 206 | EVP_MD_CTX_set_update_fn(mctx, digest_update); + | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:457:29: note: declared here 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ +src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 267 | RAND_set_rand_method(RAND_OpenSSL()); + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine.c:329:5: warning: 'ENGINE_set_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 329 | if (!ENGINE_set_id(e, engine_id)) { + | ^~ +/usr/include/openssl/evp.h:565:6: note: declared here + 565 | void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rand.h:55:36: note: declared here + 55 | OSSL_DEPRECATEDIN_3_0 RAND_METHOD *RAND_OpenSSL(void); + | ^~~~~~~~~~~~ +In file included from src/tpm2-tss-engine.c:36: +/usr/include/openssl/engine.h:495:27: note: declared here + 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); + | ^~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:225:9: warning: 'RSA_meth_get_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 225 | return RSA_meth_get_priv_dec(default_rsa)(flen, from, to, rsa, padding); | ^~~~~~ /usr/include/openssl/rsa.h:526:7: note: declared here 526 | int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth)) (int flen, | ^~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine.c:333:5: warning: 'ENGINE_set_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 333 | if (!ENGINE_set_name(e, engine_name)) { + | ^~ +src/tpm2-tss-engine-common.c:296:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 296 | RAND_set_rand_method(rand_save); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/engine.h:496:27: note: declared here + 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); + | ^~~~~~~~~~~~~~~ +/usr/include/openssl/rand.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine.c:345:5: warning: 'ENGINE_set_load_privkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 345 | if (!ENGINE_set_load_privkey_function(e, loadkey)) { + | ^~ +/usr/include/openssl/engine.h:511:5: note: declared here + 511 | int ENGINE_set_load_privkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpriv_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine.c:350:5: warning: 'ENGINE_set_destroy_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 350 | if (!ENGINE_set_destroy_function(e, destroy_engine)) { + | ^~ +/usr/include/openssl/engine.h:503:5: note: declared here + 503 | int ENGINE_set_destroy_function(ENGINE *e,ENGINE_GEN_INT_FUNC_PTR destroy_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine.c:355:5: warning: 'ENGINE_set_ctrl_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 355 | if (!ENGINE_set_ctrl_function(e, engine_ctrl)) { + | ^~ +/usr/include/openssl/engine.h:509:5: note: declared here + 509 | int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:274:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 274 | if (flen > RSA_size(rsa) || flen <= 0) { | ^~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ +src/tpm2-tss-engine.c:360:5: warning: 'ENGINE_set_cmd_defns' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 360 | if (!ENGINE_set_cmd_defns(e, cmd_defns)) { + | ^~ +/usr/include/openssl/engine.h:526:27: note: declared here + 526 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_cmd_defns(ENGINE *e, + | ^~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c: In function 'rsa_finish': src/tpm2-tss-engine-rsa.c:307:5: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 307 | TPM2_DATA *tpm2Data = RSA_get_app_data(rsa); @@ -1861,7 +2028,34 @@ /usr/include/openssl/rsa.h:456:27: note: declared here 456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ +src/tpm2-tss-engine-common.c: In function 'tpm2tss_tpm2data_readtpm': +src/tpm2-tss-engine-common.c:263:9: warning: 'RAND_get_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 263 | const RAND_METHOD *rand_save = RAND_get_rand_method(); + | ^~~~~ +In file included from /usr/include/openssl/engine.h:29, + from src/tpm2-tss-engine-common.c:39: +/usr/include/openssl/rand.h:50:42: note: declared here + 50 | OSSL_DEPRECATEDIN_3_0 const RAND_METHOD *RAND_get_rand_method(void); + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 267 | RAND_set_rand_method(RAND_OpenSSL()); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rand.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 267 | RAND_set_rand_method(RAND_OpenSSL()); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rand.h:55:36: note: declared here + 55 | OSSL_DEPRECATEDIN_3_0 RAND_METHOD *RAND_OpenSSL(void); + | ^~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c: In function 'tpm2tss_rsa_genkey': +src/tpm2-tss-engine-common.c:296:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 296 | RAND_set_rand_method(rand_save); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rand.h:49:27: note: declared here + 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); + | ^~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:590:5: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 590 | if (!RSA_set_app_data(rsa, tpm2Data)) { | ^~ @@ -2013,99 +2207,10 @@ /usr/include/openssl/evp.h:1760:27: note: declared here 1760 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); | ^~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/test_tpm2_tss_engine_common-tpm2-tss-engine-err.o `test -f 'src/tpm2-tss-engine-err.c' || echo './'`src/tpm2-tss-engine-err.c -src/tpm2-tss-engine-digest-sign.c: In function 'digest_init': -src/tpm2-tss-engine-digest-sign.c:63:5: warning: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 63 | md = EVP_MD_CTX_md(ctx); - | ^~ -In file included from src/tpm2-tss-engine-digest-sign.c:34: -/usr/include/openssl/evp.h:560:15: note: declared here - 560 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); - | ^~~~~~~~~~~~~ -src/tpm2-tss-engine-digest-sign.c: In function 'digest_sign_init': -src/tpm2-tss-engine-digest-sign.c:206:5: warning: 'EVP_MD_CTX_set_update_fn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 206 | EVP_MD_CTX_set_update_fn(mctx, digest_update); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:565:6: note: declared here - 565 | void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, - | ^~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine.c: In function 'bind': -src/tpm2-tss-engine.c:329:5: warning: 'ENGINE_set_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 329 | if (!ENGINE_set_id(e, engine_id)) { - | ^~ -In file included from src/tpm2-tss-engine.c:36: -/usr/include/openssl/engine.h:495:27: note: declared here - 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); - | ^~~~~~~~~~~~~ -src/tpm2-tss-engine.c:333:5: warning: 'ENGINE_set_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 333 | if (!ENGINE_set_name(e, engine_name)) { - | ^~ -/usr/include/openssl/engine.h:496:27: note: declared here - 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); - | ^~~~~~~~~~~~~~~ -src/tpm2-tss-engine.c:345:5: warning: 'ENGINE_set_load_privkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 345 | if (!ENGINE_set_load_privkey_function(e, loadkey)) { - | ^~ -/usr/include/openssl/engine.h:511:5: note: declared here - 511 | int ENGINE_set_load_privkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpriv_f); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine.c:350:5: warning: 'ENGINE_set_destroy_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 350 | if (!ENGINE_set_destroy_function(e, destroy_engine)) { - | ^~ -src/tpm2-tss-engine-common.c: In function 'tpm2tss_tpm2data_readtpm': -/usr/include/openssl/engine.h:503:5: note: declared here - 503 | int ENGINE_set_destroy_function(ENGINE *e,ENGINE_GEN_INT_FUNC_PTR destroy_f); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-common.c:263:9: warning: 'RAND_get_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 263 | const RAND_METHOD *rand_save = RAND_get_rand_method(); - | ^~~~~ -In file included from /usr/include/openssl/engine.h:29, - from src/tpm2-tss-engine-common.c:39: -/usr/include/openssl/rand.h:50:42: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 const RAND_METHOD *RAND_get_rand_method(void); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine.c:355:5: warning: 'ENGINE_set_ctrl_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 355 | if (!ENGINE_set_ctrl_function(e, engine_ctrl)) { - | ^~ -/usr/include/openssl/engine.h:509:5: note: declared here - 509 | int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 267 | RAND_set_rand_method(RAND_OpenSSL()); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine.c:360:5: warning: 'ENGINE_set_cmd_defns' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 360 | if (!ENGINE_set_cmd_defns(e, cmd_defns)) { - | ^~ -/usr/include/openssl/engine.h:526:27: note: declared here - 526 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_cmd_defns(ENGINE *e, - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rand.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 267 | RAND_set_rand_method(RAND_OpenSSL()); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rand.h:55:36: note: declared here - 55 | OSSL_DEPRECATEDIN_3_0 RAND_METHOD *RAND_OpenSSL(void); - | ^~~~~~~~~~~~ -src/tpm2-tss-engine-common.c:296:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 296 | RAND_set_rand_method(rand_save); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rand.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-rand.c: In function 'init_rand': src/tpm2-tss-engine-ecc.c: In function 'ecdh_compute_key': -src/tpm2-tss-engine-rand.c:150:5: warning: 'ENGINE_set_RAND' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 150 | return ENGINE_set_RAND(e, &rand_methods); - | ^~~~~~ src/tpm2-tss-engine-ecc.c:195:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 195 | const EC_GROUP *group = EC_KEY_get0_group(eckey); | ^~~~~ -In file included from src/tpm2-tss-engine-rand.c:34: -/usr/include/openssl/engine.h:501:27: note: declared here - 501 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_RAND(ENGINE *e, const RAND_METHOD *rand_meth); - | ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/engine.h:28, from src/tpm2-tss-engine-ecc.c:34: /usr/include/openssl/ec.h:1053:39: note: declared here @@ -2242,7 +2347,6 @@ src/tpm2-tss-engine-ecc.c:837:5: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 837 | EC_KEY_METHOD_get_sign(ecc_methods, &orig_sign, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine.c: In function 'bind': /usr/include/openssl/ec.h:1543:28: note: declared here 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ @@ -2276,73 +2380,36 @@ /usr/include/openssl/evp.h:1757:28: note: declared here 1757 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, | ^~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine.c:329:5: warning: 'ENGINE_set_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 329 | if (!ENGINE_set_id(e, engine_id)) { - | ^~ src/tpm2-tss-engine-ecc.c:864:5: warning: 'EVP_PKEY_meth_get_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 864 | EVP_PKEY_meth_get_copy(pkey_ecc_methods, &ecdsa_pkey_orig_copy); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2081:28: note: declared here 2081 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_copy | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from src/tpm2-tss-engine.c:36: -/usr/include/openssl/engine.h:495:27: note: declared here - 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); - | ^~~~~~~~~~~~~ -src/tpm2-tss-engine.c:333:5: warning: 'ENGINE_set_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 333 | if (!ENGINE_set_name(e, engine_name)) { - | ^~ src/tpm2-tss-engine-ecc.c:865:5: warning: 'EVP_PKEY_meth_get_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 865 | EVP_PKEY_meth_get_cleanup(pkey_ecc_methods, &ecdsa_pkey_orig_cleanup); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2084:28: note: declared here 2084 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_cleanup | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/engine.h:496:27: note: declared here - 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); - | ^~~~~~~~~~~~~~~ -src/tpm2-tss-engine.c:345:5: warning: 'ENGINE_set_load_privkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 345 | if (!ENGINE_set_load_privkey_function(e, loadkey)) { - | ^~ -/usr/include/openssl/engine.h:511:5: note: declared here - 511 | int ENGINE_set_load_privkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpriv_f); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-ecc.c:867:5: warning: 'EVP_PKEY_meth_set_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 867 | EVP_PKEY_meth_set_copy(pkey_ecc_methods, ecdsa_pkey_copy); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2012:28: note: declared here 2012 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_copy | ^~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine.c:350:5: warning: 'ENGINE_set_destroy_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 350 | if (!ENGINE_set_destroy_function(e, destroy_engine)) { - | ^~ -/usr/include/openssl/engine.h:503:5: note: declared here - 503 | int ENGINE_set_destroy_function(ENGINE *e,ENGINE_GEN_INT_FUNC_PTR destroy_f); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-ecc.c:868:5: warning: 'EVP_PKEY_meth_set_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 868 | EVP_PKEY_meth_set_cleanup(pkey_ecc_methods, ecdsa_pkey_cleanup); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2015:28: note: declared here 2015 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_cleanup | ^~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine.c:355:5: warning: 'ENGINE_set_ctrl_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 355 | if (!ENGINE_set_ctrl_function(e, engine_ctrl)) { - | ^~ -/usr/include/openssl/engine.h:509:5: note: declared here - 509 | int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine.c:360:5: warning: 'ENGINE_set_cmd_defns' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 360 | if (!ENGINE_set_cmd_defns(e, cmd_defns)) { - | ^~ src/tpm2-tss-engine-ecc.c:869:5: warning: 'EVP_PKEY_meth_set_signctx' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 869 | EVP_PKEY_meth_set_signctx(pkey_ecc_methods, NULL, ecdsa_signctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2036:28: note: declared here 2036 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_signctx | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/engine.h:526:27: note: declared here - 526 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_cmd_defns(ENGINE *e, - | ^~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-ecc.c:870:5: warning: 'EVP_PKEY_meth_set_digest_custom' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 870 | EVP_PKEY_meth_set_digest_custom(pkey_ecc_methods, ecdsa_digest_custom); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2355,145 +2422,7 @@ /usr/include/openssl/evp.h:1760:27: note: declared here 1760 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); | ^~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/test_tpm2_tss_engine_common-tpm2-tss-engine-ecc.o `test -f 'src/tpm2-tss-engine-ecc.c' || echo './'`src/tpm2-tss-engine-ecc.c -gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/test_tpm2_tss_engine_common-tpm2-tss-engine-rand.o `test -f 'src/tpm2-tss-engine-rand.c' || echo './'`src/tpm2-tss-engine-rand.c -gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/test_tpm2_tss_engine_common-tpm2-tss-engine-rsa.o `test -f 'src/tpm2-tss-engine-rsa.c' || echo './'`src/tpm2-tss-engine-rsa.c -src/tpm2-tss-engine-common.c: In function 'tpm2tss_tpm2data_readtpm': -src/tpm2-tss-engine-common.c:263:9: warning: 'RAND_get_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 263 | const RAND_METHOD *rand_save = RAND_get_rand_method(); - | ^~~~~ -In file included from /usr/include/openssl/engine.h:29, - from src/tpm2-tss-engine-common.c:39: -/usr/include/openssl/rand.h:50:42: note: declared here - 50 | OSSL_DEPRECATEDIN_3_0 const RAND_METHOD *RAND_get_rand_method(void); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 267 | RAND_set_rand_method(RAND_OpenSSL()); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rand.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-common.c:267:9: warning: 'RAND_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 267 | RAND_set_rand_method(RAND_OpenSSL()); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rand.h:55:36: note: declared here - 55 | OSSL_DEPRECATEDIN_3_0 RAND_METHOD *RAND_OpenSSL(void); - | ^~~~~~~~~~~~ -src/tpm2-tss-engine-common.c:296:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 296 | RAND_set_rand_method(rand_save); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rand.h:49:27: note: declared here - 49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-digest-sign.c: In function 'digest_init': -src/tpm2-tss-engine-digest-sign.c:63:5: warning: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 63 | md = EVP_MD_CTX_md(ctx); - | ^~ -In file included from src/tpm2-tss-engine-digest-sign.c:34: -/usr/include/openssl/evp.h:560:15: note: declared here - 560 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); - | ^~~~~~~~~~~~~ -src/tpm2-tss-engine-digest-sign.c: In function 'digest_sign_init': -gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test/error_tpm2_tss_engine_common-error_tpm2-tss-engine-common.o `test -f 'test/error_tpm2-tss-engine-common.c' || echo './'`test/error_tpm2-tss-engine-common.c -src/tpm2-tss-engine-digest-sign.c:206:5: warning: 'EVP_MD_CTX_set_update_fn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 206 | EVP_MD_CTX_set_update_fn(mctx, digest_update); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:565:6: note: declared here - 565 | void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, - | ^~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'ecdh_compute_key': -src/tpm2-tss-engine-ecc.c:195:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 195 | const EC_GROUP *group = EC_KEY_get0_group(eckey); - | ^~~~~ -In file included from /usr/include/openssl/engine.h:28, - from src/tpm2-tss-engine-ecc.c:34: -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'ecdsa_ec_key_sign': -src/tpm2-tss-engine-ecc.c:320:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 320 | EC_KEY_set_method(eckey, ecc_method_default); - | ^~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1302:27: note: declared here - 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); - | ^~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:321:9: warning: 'ECDSA_do_sign_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 321 | ret = ECDSA_do_sign_ex(dgst, dgst_len, inv, rp, eckey); - | ^~~ -/usr/include/openssl/ec.h:1397:34: note: declared here - 1397 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, - | ^~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:322:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 322 | EC_KEY_set_method(eckey, ecc_methods); - | ^~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1302:27: note: declared here - 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); - | ^~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:352:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 352 | int curve_len = (EC_GROUP_order_bits(EC_KEY_get0_group(eckey)) + 7) / 8; - | ^~~ -/usr/include/openssl/ec.h:1053:39: note: declared here - 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); - | ^~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'ecdsa_pkey_copy': -src/tpm2-tss-engine-ecc.c:413:34: warning: passing argument 2 of 'digest_sign_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 413 | return digest_sign_copy(dst, src); - | ^~~ -In file included from src/tpm2-tss-engine-ecc.c:42: -src/tpm2-tss-engine-common.h:195:51: note: expected 'EVP_PKEY_CTX *' {aka 'struct evp_pkey_ctx_st *'} but argument is of type 'const EVP_PKEY_CTX *' {aka 'const struct evp_pkey_ctx_st *'} - 195 | digest_sign_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src); - | ~~~~~~~~~~~~~~^~~ -src/tpm2-tss-engine-ecc.c: In function 'ecdsa_digest_custom': -src/tpm2-tss-engine-ecc.c:430:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 430 | EC_KEY *eckey = EVP_PKEY_get0_EC_KEY(pkey); - | ^~~~~~ -In file included from /usr/include/openssl/rand.h:23, - from /usr/include/openssl/engine.h:29: -/usr/include/openssl/evp.h:1382:25: note: declared here - 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:430:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 430 | EC_KEY *eckey = EVP_PKEY_get0_EC_KEY(pkey); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:435:5: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 435 | return digest_sign_init(ctx, mctx, tpm2data, ECDSA_size(eckey)); - | ^~~~~~ -/usr/include/openssl/ec.h:1474:27: note: declared here - 1474 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); - | ^~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'populate_ecc': -src/tpm2-tss-engine-ecc.c:531:5: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 531 | if (!EC_KEY_set_group(key, ecgroup)) { - | ^~ -/usr/include/openssl/ec.h:1061:27: note: declared here - 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); - | ^~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:536:5: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 536 | EC_KEY_set_asn1_flag(key, OPENSSL_EC_NAMED_CURVE); - | ^~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1106:28: note: declared here - 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); - | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:550:5: warning: 'EC_KEY_set_public_key_affine_coordinates' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 550 | if (!EC_KEY_set_public_key_affine_coordinates(key, x, y)) { - | ^~ -/usr/include/openssl/ec.h:1141:27: note: declared here - 1141 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_makekey': -src/tpm2-tss-engine-ecc.c:587:5: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 587 | if ((eckey = EC_KEY_new()) == NULL) { - | ^~ -/usr/include/openssl/ec.h:987:31: note: declared here - 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); - | ^~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:596:5: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 596 | if (!EC_KEY_set_method(eckey, ecc_methods)) { - | ^~ src/tpm2-tss-engine-rsa.c: In function 'rsa_priv_enc': -/usr/include/openssl/ec.h:1302:27: note: declared here - 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); - | ^~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:112:5: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 112 | TPM2_DATA *tpm2Data = RSA_get_app_data(rsa); | ^~~~~~~~~ @@ -2514,9 +2443,6 @@ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ -src/tpm2-tss-engine-ecc.c:599:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 599 | EC_KEY_free(eckey); - | ^~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:145:9: warning: 'RSA_padding_add_PKCS1_type_1' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | ret = RSA_padding_add_PKCS1_type_1(&digest.buffer[0], digest.size, | ^~~ @@ -2526,50 +2452,21 @@ src/tpm2-tss-engine-rsa.c:149:9: warning: 'RSA_padding_add_X931' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 149 | ret = RSA_padding_add_X931(&digest.buffer[0], digest.size, from, flen); | ^~~ -/usr/include/openssl/ec.h:1022:28: note: declared here - 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); - | ^~~~~~~~~~~ /usr/include/openssl/rsa.h:427:27: note: declared here 427 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_add_X931(unsigned char *to, int tlen, | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:603:5: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 603 | if (!EVP_PKEY_assign_EC_KEY(pkey, eckey)) { - | ^~ -/usr/include/openssl/evp.h:1338:5: note: declared here - 1338 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); - | ^~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:152:9: warning: 'RSA_padding_add_none' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 152 | ret = RSA_padding_add_none(&digest.buffer[0], digest.size, from, flen); | ^~~ /usr/include/openssl/rsa.h:422:27: note: declared here 422 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_add_none(unsigned char *to, int tlen, | ^~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:605:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 605 | EC_KEY_free(eckey); - | ^~~~~~~~~~~ -/usr/include/openssl/ec.h:1022:28: note: declared here - 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); - | ^~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_getappdata': src/tpm2-tss-engine-rsa.c:179:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 179 | if (ret > RSA_size(rsa) || ret <= 0) { | ^~ -src/tpm2-tss-engine-ecc.c:649:5: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 649 | return EC_KEY_get_ex_data(key, ec_key_app_data); - | ^~~~~~ -/usr/include/openssl/ec.h:1103:29: note: declared here - 1103 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); - | ^~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_setappdata': /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ -src/tpm2-tss-engine-ecc.c:673:5: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 673 | return EC_KEY_set_ex_data(key, ec_key_app_data, tpm2Data); - | ^~~~~~ -/usr/include/openssl/ec.h:1102:27: note: declared here - 1102 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); - | ^~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c: In function 'rsa_priv_dec': src/tpm2-tss-engine-rsa.c:218:5: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 218 | TPM2_DATA *tpm2Data = RSA_get_app_data(rsa); @@ -2583,32 +2480,19 @@ /usr/include/openssl/rsa.h:526:7: note: declared here 526 | int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth)) (int flen, | ^~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c: In function 'init_ecc': src/tpm2-tss-engine-rsa.c:274:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 274 | if (flen > RSA_size(rsa) || flen <= 0) { | ^~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ -src/tpm2-tss-engine-ecc.c:826:5: warning: 'EC_KEY_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 826 | ecc_method_default = EC_KEY_OpenSSL(); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1298:44: note: declared here - 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); - | ^~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c: In function 'rsa_finish': src/tpm2-tss-engine-rsa.c:307:5: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 307 | TPM2_DATA *tpm2Data = RSA_get_app_data(rsa); | ^~~~~~~~~ -src/tpm2-tss-engine-ecc.c:830:5: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 830 | ecc_methods = EC_KEY_METHOD_new(ecc_method_default); - | ^~~~~~~~~~~ /usr/include/openssl/rsa.h:457:29: note: declared here 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1480:38: note: declared here - 1480 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); - | ^~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:311:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 311 | RSA_set_app_data(rsa, NULL); | ^~~~~~~~~~~~~~~~ @@ -2616,39 +2500,15 @@ 456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c: In function 'populate_rsa': -src/tpm2-tss-engine-ecc.c:837:5: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 837 | EC_KEY_METHOD_get_sign(ecc_methods, &orig_sign, NULL, NULL); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1543:28: note: declared here - 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign - | ^~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:331:5: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 331 | TPM2_DATA *tpm2Data = RSA_get_app_data(rsa); | ^~~~~~~~~ /usr/include/openssl/rsa.h:457:29: note: declared here 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:838:5: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 838 | EC_KEY_METHOD_set_sign(ecc_methods, orig_sign, NULL, ecdsa_ec_key_sign); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1499:28: note: declared here - 1499 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign - | ^~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:839:5: warning: 'EC_KEY_METHOD_set_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 839 | EC_KEY_METHOD_set_compute_key(ecc_methods, ecdh_compute_key); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ec.h:1494:28: note: declared here - 1494 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_compute_key - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:851:5: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 851 | pkey_ecc_methods = EVP_PKEY_meth_new(EVP_PKEY_EC, 0); - | ^~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:442:5: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 442 | RSA_set0_key(rsa, n, e, d); | ^~~~~~~~~~~~ -/usr/include/openssl/evp.h:1754:40: note: declared here - 1754 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); - | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ @@ -2658,12 +2518,6 @@ /usr/include/openssl/rsa.h:219:27: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:856:9: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 856 | EVP_PKEY_meth_find(EVP_PKEY_EC); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:1753:46: note: declared here - 1753 | OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); - | ^~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:444:5: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 444 | RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp); | ^~~~~~~~~~~~~~~~~~~ @@ -2671,86 +2525,38 @@ 220 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c: In function 'tpm2tss_rsa_makekey': -src/tpm2-tss-engine-ecc.c:859:5: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 859 | EVP_PKEY_meth_copy(pkey_ecc_methods, pkey_orig_ecc_methods); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:1757:28: note: declared here - 1757 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, - | ^~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:476:5: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 476 | if ((rsa = RSA_new()) == NULL) { | ^~ -src/tpm2-tss-engine-ecc.c:864:5: warning: 'EVP_PKEY_meth_get_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 864 | EVP_PKEY_meth_get_copy(pkey_ecc_methods, &ecdsa_pkey_orig_copy); - | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ -/usr/include/openssl/evp.h:2081:28: note: declared here - 2081 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_copy - | ^~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:484:5: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 484 | RSA_set_method(rsa, rsa_methods); | ^~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:865:5: warning: 'EVP_PKEY_meth_get_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 865 | EVP_PKEY_meth_get_cleanup(pkey_ecc_methods, &ecdsa_pkey_orig_cleanup); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2084:28: note: declared here - 2084 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_cleanup - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:313:27: note: declared here 313 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:867:5: warning: 'EVP_PKEY_meth_set_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 867 | EVP_PKEY_meth_set_copy(pkey_ecc_methods, ecdsa_pkey_copy); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2012:28: note: declared here - 2012 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_copy - | ^~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:487:5: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | if (!EVP_PKEY_assign_RSA(pkey, rsa)) { | ^~ -src/tpm2-tss-engine-ecc.c:868:5: warning: 'EVP_PKEY_meth_set_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 868 | EVP_PKEY_meth_set_cleanup(pkey_ecc_methods, ecdsa_pkey_cleanup); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2015:28: note: declared here - 2015 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_cleanup - | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/rand.h:23, from /usr/include/openssl/engine.h:29: /usr/include/openssl/evp.h:1338:5: note: declared here 1338 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:869:5: warning: 'EVP_PKEY_meth_set_signctx' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 869 | EVP_PKEY_meth_set_signctx(pkey_ecc_methods, NULL, ecdsa_signctx); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2036:28: note: declared here - 2036 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_signctx - | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:489:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 489 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -src/tpm2-tss-engine-ecc.c:870:5: warning: 'EVP_PKEY_meth_set_digest_custom' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 870 | EVP_PKEY_meth_set_digest_custom(pkey_ecc_methods, ecdsa_digest_custom); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2076:28: note: declared here - 2076 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_digest_custom - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:493:5: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 493 | if (!RSA_set_app_data(rsa, tpm2Data)) { | ^~ /usr/include/openssl/rsa.h:456:27: note: declared here 456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:871:5: warning: 'EVP_PKEY_meth_add0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 871 | EVP_PKEY_meth_add0(pkey_ecc_methods); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:1760:27: note: declared here - 1760 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); - | ^~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:499:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 499 | RSA_set_app_data(rsa, NULL); | ^~~~~~~~~~~~~~~~ @@ -2909,7 +2715,95 @@ /usr/include/openssl/evp.h:1760:27: note: declared here 1760 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); | ^~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'ecdh_compute_key': +src/tpm2-tss-engine-ecc.c:195:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 195 | const EC_GROUP *group = EC_KEY_get0_group(eckey); + | ^~~~~ +In file included from /usr/include/openssl/engine.h:28, + from src/tpm2-tss-engine-ecc.c:34: +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-digest-sign.c: In function 'digest_init': +src/tpm2-tss-engine-digest-sign.c:63:5: warning: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 63 | md = EVP_MD_CTX_md(ctx); + | ^~ +In file included from src/tpm2-tss-engine-digest-sign.c:34: +/usr/include/openssl/evp.h:560:15: note: declared here + 560 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); + | ^~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'ecdsa_ec_key_sign': +src/tpm2-tss-engine-ecc.c:320:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 320 | EC_KEY_set_method(eckey, ecc_method_default); + | ^~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1302:27: note: declared here + 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:321:9: warning: 'ECDSA_do_sign_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 321 | ret = ECDSA_do_sign_ex(dgst, dgst_len, inv, rp, eckey); + | ^~~ +/usr/include/openssl/ec.h:1397:34: note: declared here + 1397 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, + | ^~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:322:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 322 | EC_KEY_set_method(eckey, ecc_methods); + | ^~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1302:27: note: declared here + 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-digest-sign.c: In function 'digest_sign_init': +src/tpm2-tss-engine-digest-sign.c:206:5: warning: 'EVP_MD_CTX_set_update_fn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 206 | EVP_MD_CTX_set_update_fn(mctx, digest_update); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:352:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 352 | int curve_len = (EC_GROUP_order_bits(EC_KEY_get0_group(eckey)) + 7) / 8; + | ^~~ +/usr/include/openssl/evp.h:565:6: note: declared here + 565 | void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1053:39: note: declared here + 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'ecdsa_pkey_copy': +src/tpm2-tss-engine-ecc.c:413:34: warning: passing argument 2 of 'digest_sign_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 413 | return digest_sign_copy(dst, src); + | ^~~ +In file included from src/tpm2-tss-engine-ecc.c:42: +src/tpm2-tss-engine-common.h:195:51: note: expected 'EVP_PKEY_CTX *' {aka 'struct evp_pkey_ctx_st *'} but argument is of type 'const EVP_PKEY_CTX *' {aka 'const struct evp_pkey_ctx_st *'} + 195 | digest_sign_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src); + | ~~~~~~~~~~~~~~^~~ +src/tpm2-tss-engine-ecc.c: In function 'ecdsa_digest_custom': +src/tpm2-tss-engine-ecc.c:430:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 430 | EC_KEY *eckey = EVP_PKEY_get0_EC_KEY(pkey); + | ^~~~~~ +In file included from /usr/include/openssl/rand.h:23, + from /usr/include/openssl/engine.h:29: +/usr/include/openssl/evp.h:1382:25: note: declared here + 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:430:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 430 | EC_KEY *eckey = EVP_PKEY_get0_EC_KEY(pkey); + | ^~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:435:5: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 435 | return digest_sign_init(ctx, mctx, tpm2data, ECDSA_size(eckey)); + | ^~~~~~ +/usr/include/openssl/ec.h:1474:27: note: declared here + 1474 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); + | ^~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'populate_ecc': +src/tpm2-tss-engine-ecc.c:531:5: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 531 | if (!EC_KEY_set_group(key, ecgroup)) { + | ^~ +/usr/include/openssl/ec.h:1061:27: note: declared here + 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); + | ^~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rand.c: In function 'init_rand': +src/tpm2-tss-engine-ecc.c:536:5: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 536 | EC_KEY_set_asn1_flag(key, OPENSSL_EC_NAMED_CURVE); + | ^~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1106:28: note: declared here + 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); + | ^~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rand.c:150:5: warning: 'ENGINE_set_RAND' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 150 | return ENGINE_set_RAND(e, &rand_methods); | ^~~~~~ @@ -2917,10 +2811,152 @@ /usr/include/openssl/engine.h:501:27: note: declared here 501 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_RAND(ENGINE *e, const RAND_METHOD *rand_meth); | ^~~~~~~~~~~~~~~ -/bin/bash ./libtool --tag=CC --mode=link gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,--wrap=Esys_Initialize -Wl,-z,relro -Wl,-z,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o test/error_tpm2-tss-engine-common test/error_tpm2_tss_engine_common-error_tpm2-tss-engine-common.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-common.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-digest-sign.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-err.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-ecc.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-rand.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-rsa.o -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto -lcmocka -/bin/bash ./libtool --tag=CC --mode=link gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o test/tpm2-tss-engine-common test/tpm2_tss_engine_common-tpm2-tss-engine-common.o src/test_tpm2_tss_engine_common-tpm2-tss-engine.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-common.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-digest-sign.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-err.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-ecc.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-rand.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-rsa.o -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto -lcmocka -libtool: link: gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,--wrap=Esys_Initialize -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o test/error_tpm2-tss-engine-common test/error_tpm2_tss_engine_common-error_tpm2-tss-engine-common.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-common.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-digest-sign.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-err.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-ecc.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-rand.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-rsa.o -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto -lcmocka +src/tpm2-tss-engine-ecc.c:550:5: warning: 'EC_KEY_set_public_key_affine_coordinates' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 550 | if (!EC_KEY_set_public_key_affine_coordinates(key, x, y)) { + | ^~ +/usr/include/openssl/ec.h:1141:27: note: declared here + 1141 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_makekey': +src/tpm2-tss-engine-ecc.c:587:5: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 587 | if ((eckey = EC_KEY_new()) == NULL) { + | ^~ +/usr/include/openssl/ec.h:987:31: note: declared here + 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); + | ^~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:596:5: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 596 | if (!EC_KEY_set_method(eckey, ecc_methods)) { + | ^~ +/usr/include/openssl/ec.h:1302:27: note: declared here + 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:599:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 599 | EC_KEY_free(eckey); + | ^~~~~~~~~~~ +/usr/include/openssl/ec.h:1022:28: note: declared here + 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:603:5: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 603 | if (!EVP_PKEY_assign_EC_KEY(pkey, eckey)) { + | ^~ +/usr/include/openssl/evp.h:1338:5: note: declared here + 1338 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); + | ^~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:605:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 605 | EC_KEY_free(eckey); + | ^~~~~~~~~~~ +/usr/include/openssl/ec.h:1022:28: note: declared here + 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); + | ^~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_getappdata': +src/tpm2-tss-engine-ecc.c:649:5: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 649 | return EC_KEY_get_ex_data(key, ec_key_app_data); + | ^~~~~~ +/usr/include/openssl/ec.h:1103:29: note: declared here + 1103 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); + | ^~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'tpm2tss_ecc_setappdata': +src/tpm2-tss-engine-ecc.c:673:5: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 673 | return EC_KEY_set_ex_data(key, ec_key_app_data, tpm2Data); + | ^~~~~~ +/usr/include/openssl/ec.h:1102:27: note: declared here + 1102 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); + | ^~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c: In function 'init_ecc': +src/tpm2-tss-engine-ecc.c:826:5: warning: 'EC_KEY_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 826 | ecc_method_default = EC_KEY_OpenSSL(); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1298:44: note: declared here + 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); + | ^~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:830:5: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 830 | ecc_methods = EC_KEY_METHOD_new(ecc_method_default); + | ^~~~~~~~~~~ +/usr/include/openssl/ec.h:1480:38: note: declared here + 1480 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:837:5: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 837 | EC_KEY_METHOD_get_sign(ecc_methods, &orig_sign, NULL, NULL); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1543:28: note: declared here + 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign + | ^~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:838:5: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 838 | EC_KEY_METHOD_set_sign(ecc_methods, orig_sign, NULL, ecdsa_ec_key_sign); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1499:28: note: declared here + 1499 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign + | ^~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:839:5: warning: 'EC_KEY_METHOD_set_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 839 | EC_KEY_METHOD_set_compute_key(ecc_methods, ecdh_compute_key); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/ec.h:1494:28: note: declared here + 1494 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_compute_key + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:851:5: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 851 | pkey_ecc_methods = EVP_PKEY_meth_new(EVP_PKEY_EC, 0); + | ^~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1754:40: note: declared here + 1754 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); + | ^~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:856:9: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 856 | EVP_PKEY_meth_find(EVP_PKEY_EC); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1753:46: note: declared here + 1753 | OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); + | ^~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:859:5: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 859 | EVP_PKEY_meth_copy(pkey_ecc_methods, pkey_orig_ecc_methods); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1757:28: note: declared here + 1757 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, + | ^~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:864:5: warning: 'EVP_PKEY_meth_get_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 864 | EVP_PKEY_meth_get_copy(pkey_ecc_methods, &ecdsa_pkey_orig_copy); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2081:28: note: declared here + 2081 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_copy + | ^~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:865:5: warning: 'EVP_PKEY_meth_get_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 865 | EVP_PKEY_meth_get_cleanup(pkey_ecc_methods, &ecdsa_pkey_orig_cleanup); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2084:28: note: declared here + 2084 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_cleanup + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:867:5: warning: 'EVP_PKEY_meth_set_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 867 | EVP_PKEY_meth_set_copy(pkey_ecc_methods, ecdsa_pkey_copy); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2012:28: note: declared here + 2012 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_copy + | ^~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:868:5: warning: 'EVP_PKEY_meth_set_cleanup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 868 | EVP_PKEY_meth_set_cleanup(pkey_ecc_methods, ecdsa_pkey_cleanup); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2015:28: note: declared here + 2015 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_cleanup + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:869:5: warning: 'EVP_PKEY_meth_set_signctx' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 869 | EVP_PKEY_meth_set_signctx(pkey_ecc_methods, NULL, ecdsa_signctx); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2036:28: note: declared here + 2036 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_signctx + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:870:5: warning: 'EVP_PKEY_meth_set_digest_custom' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 870 | EVP_PKEY_meth_set_digest_custom(pkey_ecc_methods, ecdsa_digest_custom); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2076:28: note: declared here + 2076 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_digest_custom + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:871:5: warning: 'EVP_PKEY_meth_add0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 871 | EVP_PKEY_meth_add0(pkey_ecc_methods); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1760:27: note: declared here + 1760 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); + | ^~~~~~~~~~~~~~~~~~ +/bin/sh ./libtool --tag=CC --mode=link gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,relro -Wl,-z,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o test/tpm2-tss-engine-common test/tpm2_tss_engine_common-tpm2-tss-engine-common.o src/test_tpm2_tss_engine_common-tpm2-tss-engine.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-common.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-digest-sign.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-err.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-ecc.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-rand.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-rsa.o -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto -lcmocka +/bin/sh ./libtool --tag=CC --mode=link gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,--wrap=Esys_Initialize -Wl,-z,relro -Wl,-z,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o test/error_tpm2-tss-engine-common test/error_tpm2_tss_engine_common-error_tpm2-tss-engine-common.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-common.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-digest-sign.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-err.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-ecc.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-rand.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-rsa.o -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto -lcmocka libtool: link: gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DNEG_HANDLE_PEM=\"./test/neg-handle.pem\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o test/tpm2-tss-engine-common test/tpm2_tss_engine_common-tpm2-tss-engine-common.o src/test_tpm2_tss_engine_common-tpm2-tss-engine.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-common.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-digest-sign.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-err.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-ecc.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-rand.o src/test_tpm2_tss_engine_common-tpm2-tss-engine-rsa.o -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto -lcmocka +libtool: link: gcc -I./include -I./src -std=gnu99 -Wall -Wextra -Wformat-security -fstack-protector-all -fpic -fPIC -Wno-missing-braces -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tpm2-tss-engine-1.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,--wrap=Esys_Initialize -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o test/error_tpm2-tss-engine-common test/error_tpm2_tss_engine_common-error_tpm2-tss-engine-common.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-common.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-digest-sign.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-err.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-ecc.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-rand.o src/test_error_tpm2_tss_engine_common-tpm2-tss-engine-rsa.o -ltss2-esys -ltss2-mu -ltss2-tctildr -lcrypto -lcmocka make[2]: Leaving directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' make check-TESTS make[2]: Entering directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' @@ -2948,7 +2984,7 @@ make[1]: Entering directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' make[2]: Entering directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' /usr/bin/mkdir -p '/build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/bin' - /bin/bash ./libtool --mode=install /usr/bin/install -c tpm2tss-genkey '/build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/bin' + /bin/sh ./libtool --mode=install /usr/bin/install -c tpm2tss-genkey '/build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/bin' libtool: warning: 'libtpm2tss.la' has not been installed in '/usr/lib/i386-linux-gnu/engines-3' libtool: install: /usr/bin/install -c .libs/tpm2tss-genkey /build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/bin/tpm2tss-genkey ([ -e /build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/lib/i386-linux-gnu/engines-3 ] || \ @@ -2967,7 +3003,7 @@ /usr/bin/mkdir -p '/build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/share/man/man3' /usr/bin/install -c -m 644 man/man3/tpm2tss_tpm2data_write.3 man/man3/tpm2tss_rsa_makekey.3 man/man3/tpm2tss_rsa_genkey.3 man/man3/tpm2tss_ecc_makekey.3 man/man3/tpm2tss_ecc_genkey.3 man/man3/tpm2tss_ecc_getappdata.3 man/man3/tpm2tss_tpm2data_read.3 man/man3/tpm2tss_ecc_setappdata.3 '/build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/share/man/man3' /usr/bin/mkdir -p '/build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/lib/i386-linux-gnu/engines-3' - /bin/bash ./libtool --mode=install /usr/bin/install -c libtpm2tss.la '/build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/lib/i386-linux-gnu/engines-3' + /bin/sh ./libtool --mode=install /usr/bin/install -c libtpm2tss.la '/build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/lib/i386-linux-gnu/engines-3' libtool: install: /usr/bin/install -c .libs/libtpm2tss.so /build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/lib/i386-linux-gnu/engines-3/libtpm2tss.so libtool: install: /usr/bin/install -c .libs/libtpm2tss.lai /build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/lib/i386-linux-gnu/engines-3/libtpm2tss.la libtool: install: /usr/bin/install -c .libs/libtpm2tss.a /build/reproducible-path/tpm2-tss-engine-1.2.0/debian/tmp/usr/lib/i386-linux-gnu/engines-3/libtpm2tss.a @@ -3002,9 +3038,9 @@ dh_builddeb dpkg-deb: building package 'libengine-tpm2-tss-openssl' in '../libengine-tpm2-tss-openssl_1.2.0-4_i386.deb'. dpkg-deb: building package 'libengine-tpm2-tss-openssl-dbgsym' in '../libengine-tpm2-tss-openssl-dbgsym_1.2.0-4_i386.deb'. +dpkg-deb: building package 'tpm2-tss-engine-dev' in '../tpm2-tss-engine-dev_1.2.0-4_all.deb'. dpkg-deb: building package 'tpm2-tss-engine-tools' in '../tpm2-tss-engine-tools_1.2.0-4_i386.deb'. dpkg-deb: building package 'tpm2-tss-engine-tools-dbgsym' in '../tpm2-tss-engine-tools-dbgsym_1.2.0-4_i386.deb'. -dpkg-deb: building package 'tpm2-tss-engine-dev' in '../tpm2-tss-engine-dev_1.2.0-4_all.deb'. dpkg-genbuildinfo --build=binary -O../tpm2-tss-engine_1.2.0-4_i386.buildinfo dpkg-genchanges --build=binary -O../tpm2-tss-engine_1.2.0-4_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3013,12 +3049,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/114290/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/114290/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/48748 and its subdirectories -I: Current time: Tue Oct 29 20:13:39 -12 2024 -I: pbuilder-time-stamp: 1730276019 +I: removing directory /srv/workspace/pbuilder/114290 and its subdirectories +I: Current time: Wed Dec 3 04:37:36 +14 2025 +I: pbuilder-time-stamp: 1764686256