Diff of the two buildlogs: -- --- b1/build.log 2024-04-28 10:55:57.754380941 +0000 +++ b2/build.log 2024-04-28 10:57:27.558551891 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 27 22:54:18 -12 2024 -I: pbuilder-time-stamp: 1714301658 +I: Current time: Sun Jun 1 07:18:59 +14 2025 +I: pbuilder-time-stamp: 1748711939 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking tpm2-tss-engine_1.2.0-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1972239/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1472735/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +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 May 31 17:19 /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/1472735/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1472735/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='75d48fe07c8e43bc993e9d04b3f0bad6' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='1972239' - PS1='# ' - PS2='> ' + INVOCATION_ID=e70ebb38ea4a4efc9ea83f24c090b382 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=1472735 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.TTkXBeMy/pbuilderrc_Sw6E --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.TTkXBeMy/b1 --logfile b1/build.log tpm2-tss-engine_1.2.0-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.TTkXBeMy/pbuilderrc_Bx25 --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.TTkXBeMy/b2 --logfile b2/build.log tpm2-tss-engine_1.2.0-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 21 07:15 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1972239/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 24 13:38 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1472735/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -269,7 +301,7 @@ Get: 82 http://deb.debian.org/debian trixie/main arm64 pandoc arm64 3.1.3+ds-2 [24.2 MB] Get: 83 http://deb.debian.org/debian trixie/main arm64 pkgconf-bin arm64 1.8.1-1+b2 [29.3 kB] Get: 84 http://deb.debian.org/debian trixie/main arm64 pkgconf arm64 1.8.1-1+b2 [26.2 kB] -Fetched 61.2 MB in 0s (185 MB/s) +Fetched 61.2 MB in 0s (241 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). @@ -650,7 +682,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-2_source.changes +I: user script /srv/workspace/pbuilder/1472735/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1472735/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-2_source.changes dpkg-buildpackage: info: source package tpm2-tss-engine dpkg-buildpackage: info: source version 1.2.0-2 dpkg-buildpackage: info: source distribution unstable @@ -912,13 +948,13 @@ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 src/tpm2tss-genkey.c: In function 'genkey_rsa': @@ -1025,11 +1061,11 @@ | ^~~~~~~~~~~ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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] @@ -1069,7 +1105,22 @@ /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-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); + | ^~~~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-common.c: In function 'tpm2tss_tpm2data_readtpm': +/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-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(); | ^~~~~ @@ -1096,7 +1147,6 @@ /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-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); @@ -1106,14 +1156,15 @@ /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: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-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); + | ^~~~~~ +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: In function 'ecdsa_ec_key_sign': -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:320:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 320 | EC_KEY_set_method(eckey, ecc_method_default); | ^~~~~~~~~~~~~~~~~ @@ -1138,13 +1189,6 @@ /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_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: 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); @@ -1176,7 +1220,6 @@ /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-rsa.c: In function 'rsa_priv_enc': 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)) { | ^~ @@ -1229,38 +1272,18 @@ 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-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); - | ^~~~~~~~~ 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); | ^~~~~~~~~~~~~~ -In file included from /usr/include/openssl/engine.h:25, - from src/tpm2-tss-engine-rsa.c:34: -/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: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); | ^~~~~~~~~~~ -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); - | ^~~~~~ /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); | ^~~~~~~~~~~~~~~~~ -/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-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-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); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -1276,6 +1299,110 @@ 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:1752:40: note: declared here + 1752 | 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:1751:46: note: declared here + 1751 | 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:1755:28: note: declared here + 1755 | 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:2079:28: note: declared here + 2079 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_copy + | ^~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:864:46: warning: passing argument 2 of 'EVP_PKEY_meth_get_copy' from incompatible pointer type [-Wincompatible-pointer-types] + 864 | EVP_PKEY_meth_get_copy(pkey_ecc_methods, &ecdsa_pkey_orig_copy); + | ^~~~~~~~~~~~~~~~~~~~~ + | | + | int (**)(EVP_PKEY_CTX *, EVP_PKEY_CTX *) {aka int (**)(struct evp_pkey_ctx_st *, struct evp_pkey_ctx_st *)} +/usr/include/openssl/evp.h:2080:43: note: expected 'int (**)(EVP_PKEY_CTX *, const EVP_PKEY_CTX *)' {aka 'int (**)(struct evp_pkey_ctx_st *, const struct evp_pkey_ctx_st *)'} but argument is of type 'int (**)(EVP_PKEY_CTX *, EVP_PKEY_CTX *)' {aka 'int (**)(struct evp_pkey_ctx_st *, struct evp_pkey_ctx_st *)'} + 2080 | (const EVP_PKEY_METHOD *pmeth, int (**pcopy) (EVP_PKEY_CTX *dst, + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ + 2081 | const EVP_PKEY_CTX *src)); + | ~~~~~~~~~~~~~~~~~~~~~~~~ +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:2082:28: note: declared here + 2082 | 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:2010:28: note: declared here + 2010 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_copy + | ^~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-ecc.c:867:46: warning: passing argument 2 of 'EVP_PKEY_meth_set_copy' from incompatible pointer type [-Wincompatible-pointer-types] + 867 | EVP_PKEY_meth_set_copy(pkey_ecc_methods, ecdsa_pkey_copy); + | ^~~~~~~~~~~~~~~ + | | + | int (*)(EVP_PKEY_CTX *, EVP_PKEY_CTX *) {aka int (*)(struct evp_pkey_ctx_st *, struct evp_pkey_ctx_st *)} +/usr/include/openssl/evp.h:2011:36: note: expected 'int (*)(EVP_PKEY_CTX *, const EVP_PKEY_CTX *)' {aka 'int (*)(struct evp_pkey_ctx_st *, const struct evp_pkey_ctx_st *)'} but argument is of type 'int (*)(EVP_PKEY_CTX *, EVP_PKEY_CTX *)' {aka 'int (*)(struct evp_pkey_ctx_st *, struct evp_pkey_ctx_st *)'} + 2011 | (EVP_PKEY_METHOD *pmeth, int (*copy) (EVP_PKEY_CTX *dst, + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + 2012 | const EVP_PKEY_CTX *src)); + | ~~~~~~~~~~~~~~~~~~~~~~~~ +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:2013:28: note: declared here + 2013 | 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:2034:28: note: declared here + 2034 | 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:2074:28: note: declared here + 2074 | 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:1758:27: note: declared here + 1758 | 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); + | ^~~~~~~~~ +In file included from /usr/include/openssl/engine.h:25, + from src/tpm2-tss-engine-rsa.c:34: +/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-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); + | ^~~~~~ +/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-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-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, | ^~~ @@ -1300,70 +1427,25 @@ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ -/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-rsa.c: In function 'rsa_priv_dec': -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-rand.c: In function 'init_rand': -/usr/include/openssl/evp.h:1752:40: note: declared here - 1752 | 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:1751:46: note: declared here - 1751 | 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:1755:28: note: declared here - 1755 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, - | ^~~~~~~~~~~~~~~~~~ -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:218:5: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 218 | 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); | ^~~~~~~~~~~~~~~ -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-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-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:2079:28: note: declared here - 2079 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_copy - | ^~~~~~~~~~~~~~~~~~~~~~ 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:864:46: warning: passing argument 2 of 'EVP_PKEY_meth_get_copy' from incompatible pointer type [-Wincompatible-pointer-types] - 864 | EVP_PKEY_meth_get_copy(pkey_ecc_methods, &ecdsa_pkey_orig_copy); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | int (**)(EVP_PKEY_CTX *, EVP_PKEY_CTX *) {aka int (**)(struct evp_pkey_ctx_st *, struct evp_pkey_ctx_st *)} -/usr/include/openssl/evp.h:2080:43: note: expected 'int (**)(EVP_PKEY_CTX *, const EVP_PKEY_CTX *)' {aka 'int (**)(struct evp_pkey_ctx_st *, const struct evp_pkey_ctx_st *)'} but argument is of type 'int (**)(EVP_PKEY_CTX *, EVP_PKEY_CTX *)' {aka 'int (**)(struct evp_pkey_ctx_st *, struct evp_pkey_ctx_st *)'} - 2080 | (const EVP_PKEY_METHOD *pmeth, int (**pcopy) (EVP_PKEY_CTX *dst, - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ - 2081 | const EVP_PKEY_CTX *src)); - | ~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -1371,18 +1453,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-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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2082:28: note: declared here - 2082 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_cleanup - | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c: In function 'populate_rsa': 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); @@ -1390,28 +1466,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-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:2010:28: note: declared here - 2010 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_copy - | ^~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~ -src/tpm2-tss-engine-ecc.c:867:46: warning: passing argument 2 of 'EVP_PKEY_meth_set_copy' from incompatible pointer type [-Wincompatible-pointer-types] - 867 | EVP_PKEY_meth_set_copy(pkey_ecc_methods, ecdsa_pkey_copy); - | ^~~~~~~~~~~~~~~ - | | - | int (*)(EVP_PKEY_CTX *, EVP_PKEY_CTX *) {aka int (*)(struct evp_pkey_ctx_st *, struct evp_pkey_ctx_st *)} /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); | ^~~~~~~~~~~~ -/usr/include/openssl/evp.h:2011:36: note: expected 'int (*)(EVP_PKEY_CTX *, const EVP_PKEY_CTX *)' {aka 'int (*)(struct evp_pkey_ctx_st *, const struct evp_pkey_ctx_st *)'} but argument is of type 'int (*)(EVP_PKEY_CTX *, EVP_PKEY_CTX *)' {aka 'int (*)(struct evp_pkey_ctx_st *, struct evp_pkey_ctx_st *)'} - 2011 | (EVP_PKEY_METHOD *pmeth, int (*copy) (EVP_PKEY_CTX *dst, - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ - 2012 | const EVP_PKEY_CTX *src)); - | ~~~~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c:443:5: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 443 | RSA_set0_factors(rsa, p, q); | ^~~~~~~~~~~~~~~~ @@ -1424,12 +1484,6 @@ /usr/include/openssl/rsa.h:220:27: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ -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:2013:28: note: declared here - 2013 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_cleanup - | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/tpm2-tss-engine-rsa.c: In function 'tpm2tss_rsa_makekey': 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) { @@ -1440,44 +1494,26 @@ 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: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:2034:28: note: declared here - 2034 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_signctx - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /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-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: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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/rand.h:23, from /usr/include/openssl/engine.h:29: /usr/include/openssl/evp.h:1336:5: note: declared here 1336 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:2074:28: note: declared here - 2074 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_digest_custom - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:871:5: warning: 'EVP_PKEY_meth_add0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 871 | EVP_PKEY_meth_add0(pkey_ecc_methods); - | ^~~~~~~~~~~~~~~~~~ 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/evp.h:1758:27: note: declared here - 1758 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); - | ^~~~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~~~~ @@ -1651,13 +1687,13 @@ /usr/include/openssl/evp.h:1758:27: note: declared here 1758 | 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c src/tpm2-tss-engine-rand.c -o src/libtpm2tss_la-tpm2-tss-engine-rand.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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c src/tpm2-tss-engine-rsa.c -o src/libtpm2tss_la-tpm2-tss-engine-rsa.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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-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: 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c src/tpm2-tss-engine-common.c -o src/libtpm2tss_la-tpm2-tss-engine-common.o >/dev/null 2>&1 +/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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-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" @@ -1668,7 +1704,7 @@ 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu/engines-3 make[1]: Leaving directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' dh_auto_test @@ -1727,6 +1763,33 @@ /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-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); @@ -1742,15 +1805,8 @@ /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-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); - | ^~~~~~ -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: In function 'ecdh_compute_key': +src/tpm2-tss-engine-rand.c: In function 'init_rand': 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); | ^~~~~ @@ -1760,9 +1816,16 @@ 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-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:320:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 320 | EC_KEY_set_method(eckey, ecc_method_default); | ^~~~~~~~~~~~~~~~~ +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/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); | ^~~~~~~~~~~~~~~~~ @@ -1873,39 +1936,12 @@ /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-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(); - | ^~~~~ 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); | ^~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~ /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-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-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); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -1983,6 +2019,7 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-rsa.c: In function 'rsa_priv_enc': /usr/include/openssl/evp.h:2013:28: note: declared here 2013 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_cleanup | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1995,18 +2032,6 @@ 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:2074:28: note: declared here - 2074 | 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:1758:27: note: declared here - 1758 | 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-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); | ^~~~~~~~~ @@ -2033,12 +2058,21 @@ /usr/include/openssl/rsa.h:387:5: note: declared here 387 | int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:2074:28: note: declared here + 2074 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_digest_custom + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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-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/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/evp.h:1758:27: note: declared here + 1758 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); + | ^~~~~~~~~~~~~~~~~~ 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); | ^~~ @@ -2051,6 +2085,7 @@ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ +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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 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); @@ -2207,15 +2242,35 @@ /usr/include/openssl/rsa.h:521:5: note: declared here 521 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ +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)) { + | ^~ src/tpm2-tss-engine-rsa.c:775:5: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 775 | RSA_meth_set_priv_dec(rsa_methods, rsa_priv_dec); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:531:5: note: declared here 531 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ +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-rsa.c:776:5: warning: 'RSA_meth_get_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 776 | rsa_orig_finish = RSA_meth_get_finish(rsa_methods); | ^~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:563:7: note: declared here 563 | int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa); | ^~~~~~~~~~~~~~~~~~~ @@ -2225,15 +2280,33 @@ /usr/include/openssl/rsa.h:565:5: note: declared here 565 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa)); | ^~~~~~~~~~~~~~~~~~~ +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)) { + | ^~ src/tpm2-tss-engine-rsa.c:779:5: warning: 'ENGINE_set_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 779 | if (!ENGINE_set_RSA(e, rsa_methods)) | ^~ +/usr/include/openssl/engine.h:509:5: note: declared here + 509 | int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:497:27: note: declared here 497 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth); | ^~~~~~~~~~~~~~ +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-rsa.c:788:5: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 788 | pkey_rsa_methods = EVP_PKEY_meth_new(EVP_PKEY_RSA, | ^~~~~~~~~~~~~~~~ +/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/evp.h:1752:40: note: declared here 1752 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); | ^~~~~~~~~~~~~~~~~ @@ -2311,6 +2384,49 @@ /usr/include/openssl/evp.h:1758:27: note: declared here 1758 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); | ^~~~~~~~~~~~~~~~~~ +src/tpm2-tss-engine-common.c: In function 'tpm2tss_tpm2data_readtpm': +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-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); + | ^~~~~~~~~~~~~~~~~~~~ +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-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_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, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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-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] @@ -2358,50 +2474,12 @@ 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.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)) { - | ^~ 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/engine.h:496:27: note: declared here - 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); - | ^~~~~~~~~~~~~~~ /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.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.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-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)) { @@ -2537,7 +2615,6 @@ /usr/include/openssl/evp.h:2082:28: note: declared here 2082 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_cleanup | ^~~~~~~~~~~~~~~~~~~~~~~~~ -src/tpm2-tss-engine-digest-sign.c: In function 'digest_init': 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); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -2578,47 +2655,6 @@ /usr/include/openssl/evp.h:1758:27: note: declared here 1758 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); | ^~~~~~~~~~~~~~~~~~ -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-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-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); @@ -2932,16 +2968,16 @@ /usr/include/openssl/evp.h:1758:27: note: declared here 1758 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); | ^~~~~~~~~~~~~~~~~~ -/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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 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 -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 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' make[3]: Entering directory '/build/reproducible-path/tpm2-tss-engine-1.2.0' -PASS: test/error_tpm2-tss-engine-common PASS: test/tpm2-tss-engine-common +PASS: test/error_tpm2-tss-engine-common ============================================================================ Testsuite summary for tpm2-tss-engine ============================================================================ @@ -2963,7 +2999,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/aarch64-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/aarch64-linux-gnu/engines-3 ] || \ @@ -2982,7 +3018,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/aarch64-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/aarch64-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/aarch64-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/aarch64-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/aarch64-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/aarch64-linux-gnu/engines-3/libtpm2tss.a @@ -3016,10 +3052,10 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'libengine-tpm2-tss-openssl' in '../libengine-tpm2-tss-openssl_1.2.0-2_arm64.deb'. -dpkg-deb: building package 'tpm2-tss-engine-dev' in '../tpm2-tss-engine-dev_1.2.0-2_all.deb'. -dpkg-deb: building package 'tpm2-tss-engine-tools' in '../tpm2-tss-engine-tools_1.2.0-2_arm64.deb'. dpkg-deb: building package 'libengine-tpm2-tss-openssl-dbgsym' in '../libengine-tpm2-tss-openssl-dbgsym_1.2.0-2_arm64.deb'. dpkg-deb: building package 'tpm2-tss-engine-tools-dbgsym' in '../tpm2-tss-engine-tools-dbgsym_1.2.0-2_arm64.deb'. +dpkg-deb: building package 'tpm2-tss-engine-dev' in '../tpm2-tss-engine-dev_1.2.0-2_all.deb'. +dpkg-deb: building package 'tpm2-tss-engine-tools' in '../tpm2-tss-engine-tools_1.2.0-2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../tpm2-tss-engine_1.2.0-2_arm64.buildinfo dpkg-genchanges --build=binary -O../tpm2-tss-engine_1.2.0-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3028,12 +3064,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/1472735/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1472735/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/1972239 and its subdirectories -I: Current time: Sat Apr 27 22:55:56 -12 2024 -I: pbuilder-time-stamp: 1714301756 +I: removing directory /srv/workspace/pbuilder/1472735 and its subdirectories +I: Current time: Sun Jun 1 07:20:25 +14 2025 +I: pbuilder-time-stamp: 1748712025