Diff of the two buildlogs: -- --- b1/build.log 2023-04-27 23:30:47.043735092 +0000 +++ b2/build.log 2023-04-27 23:35:31.095146849 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 27 11:25:36 -12 2023 -I: pbuilder-time-stamp: 1682637936 +I: Current time: Thu May 30 19:53:48 +14 2024 +I: pbuilder-time-stamp: 1717048428 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./lsh-utils_2.1.orig.tar.gz] I: copying [./lsh-utils_2.1-13.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Jan 6 10:32:58 2021 -12 +gpgv: Signature made Thu Jan 7 12:32:58 2021 +14 gpgv: using RSA key CD2A073B386154170A4082E8D4F219BFEC998489 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./lsh-utils_2.1-13.dsc: no acceptable signature found @@ -38,137 +38,169 @@ dpkg-source: info: applying missing_extern.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2697/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/44780/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 30 19:53 /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/44780/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/44780/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='31dba637f4874184aa2c5825ecd45055' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2697' - PS1='# ' - PS2='> ' + INVOCATION_ID=72fe3aa9cd1840d896aa7aaaa5df0c55 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=44780 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.Yauellrd/pbuilderrc_IMeC --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Yauellrd/b1 --logfile b1/build.log lsh-utils_2.1-13.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.Yauellrd/pbuilderrc_KrPG --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Yauellrd/b2 --logfile b2/build.log --extrapackages usrmerge lsh-utils_2.1-13.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 5.10.0-21-686-pae #1 SMP Debian 5.10.162-1 (2023-01-21) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/2697/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 May 30 19:53 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/44780/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -299,7 +331,7 @@ Get: 62 http://deb.debian.org/debian bookworm/main i386 tex-common all 6.18 [32.5 kB] Get: 63 http://deb.debian.org/debian bookworm/main i386 texinfo i386 6.8-6+b1 [1820 kB] Get: 64 http://deb.debian.org/debian bookworm/main i386 zlib1g-dev i386 1:1.2.13.dfsg-1 [913 kB] -Fetched 26.9 MB in 1s (38.8 MB/s) +Fetched 26.9 MB in 0s (89.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19604 files and directories currently installed.) @@ -582,10 +614,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/lsh-utils-2.1/ && 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 > ../lsh-utils_2.1-13_source.changes +I: user script /srv/workspace/pbuilder/44780/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/44780/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/lsh-utils-2.1/ && 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 > ../lsh-utils_2.1-13_source.changes dpkg-buildpackage: info: source package lsh-utils dpkg-buildpackage: info: source version 2.1-13 dpkg-buildpackage: info: source distribution unstable @@ -912,7 +951,7 @@ ASFLAGS="" CFLAGS="-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security" DFLAGS="-frelease" FCFLAGS="-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong" FFLAGS="-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong" GCJFLAGS="-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong" LDFLAGS="-Wl,-z,defs -Wl,--as-needed -Wl,-z,relro" OBJCFLAGS="-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security" OBJCXXFLAGS="-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security" checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -972,8 +1011,8 @@ This is fine as long as you don't modify the source files. checking for groff... /usr/bin/groff checking for m4... /usr/bin/m4 -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for gmp.h... yes checking for fcntl.h... yes checking for strings.h... (cached) yes @@ -1118,10 +1157,10 @@ config.status: creating config.h config.status: executing depfiles commands === configuring in src/spki (/build/lsh-utils-2.1/src/spki) -configure: running /bin/bash /build/lsh-utils-2.1/src/spki/configure --disable-option-checking '--prefix=/usr' '--build=i686-linux-gnu' '--disable-dependency-tracking' '--enable-pam' '--enable-kerberos' '--enable-srp' '--with-pty' '--enable-tcp-forward' '--enable-x11-forward' '--enable-agent-forward' '--enable-ipv6' '--enable-utmp' '--with-zlib' '--with-tcpwrappers' '--with-sshd1=/usr/sbin/sshd' '--with-x' 'XAUTH_PROGRAM=/usr/bin/xauth' 'ASFLAGS=' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'DFLAGS=-frelease' 'FCFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'FFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'GCJFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'LDFLAGS=-Wl,-z,defs -Wl,--as-needed -Wl,-z,relro' 'OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'OBJCXXFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'build_alias=i686-linux-gnu' --cache-file=/dev/null --srcdir=/build/lsh-utils-2.1/src/spki +configure: running /bin/sh /build/lsh-utils-2.1/src/spki/configure --disable-option-checking '--prefix=/usr' '--build=i686-linux-gnu' '--disable-dependency-tracking' '--enable-pam' '--enable-kerberos' '--enable-srp' '--with-pty' '--enable-tcp-forward' '--enable-x11-forward' '--enable-agent-forward' '--enable-ipv6' '--enable-utmp' '--with-zlib' '--with-tcpwrappers' '--with-sshd1=/usr/sbin/sshd' '--with-x' 'XAUTH_PROGRAM=/usr/bin/xauth' 'ASFLAGS=' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'DFLAGS=-frelease' 'FCFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'FFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'GCJFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'LDFLAGS=-Wl,-z,defs -Wl,--as-needed -Wl,-z,relro' 'OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'OBJCXXFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'build_alias=i686-linux-gnu' --cache-file=/dev/null --srcdir=/build/lsh-utils-2.1/src/spki checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1156,8 +1195,8 @@ checking for an ANSI C-conforming const... yes checking for inline... inline checking how to run the C preprocessor... gcc -E -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for uid_t in sys/types.h... yes checking for stdio.h... yes checking for stdlib.h... yes @@ -1185,10 +1224,10 @@ config.status: creating config.h config.status: executing depfiles commands === configuring in src/sftp (/build/lsh-utils-2.1/src/sftp) -configure: running /bin/bash /build/lsh-utils-2.1/src/sftp/configure --disable-option-checking '--prefix=/usr' '--build=i686-linux-gnu' '--disable-dependency-tracking' '--enable-pam' '--enable-kerberos' '--enable-srp' '--with-pty' '--enable-tcp-forward' '--enable-x11-forward' '--enable-agent-forward' '--enable-ipv6' '--enable-utmp' '--with-zlib' '--with-tcpwrappers' '--with-sshd1=/usr/sbin/sshd' '--with-x' 'XAUTH_PROGRAM=/usr/bin/xauth' 'ASFLAGS=' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'DFLAGS=-frelease' 'FCFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'FFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'GCJFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'LDFLAGS=-Wl,-z,defs -Wl,--as-needed -Wl,-z,relro' 'OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'OBJCXXFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'build_alias=i686-linux-gnu' --cache-file=/dev/null --srcdir=/build/lsh-utils-2.1/src/sftp +configure: running /bin/sh /build/lsh-utils-2.1/src/sftp/configure --disable-option-checking '--prefix=/usr' '--build=i686-linux-gnu' '--disable-dependency-tracking' '--enable-pam' '--enable-kerberos' '--enable-srp' '--with-pty' '--enable-tcp-forward' '--enable-x11-forward' '--enable-agent-forward' '--enable-ipv6' '--enable-utmp' '--with-zlib' '--with-tcpwrappers' '--with-sshd1=/usr/sbin/sshd' '--with-x' 'XAUTH_PROGRAM=/usr/bin/xauth' 'ASFLAGS=' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'DFLAGS=-frelease' 'FCFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'FFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'GCJFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong' 'LDFLAGS=-Wl,-z,defs -Wl,--as-needed -Wl,-z,relro' 'OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'OBJCXXFLAGS=-g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security' 'build_alias=i686-linux-gnu' --cache-file=/dev/null --srcdir=/build/lsh-utils-2.1/src/sftp checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1218,8 +1257,8 @@ checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for stdarg.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline @@ -1267,7 +1306,7 @@ checking whether gcc needs -traditional... no checking for sys/mkdev.h... no checking for sys/sysmacros.h... yes -checking for egrep... (cached) /bin/grep -E +checking for egrep... (cached) /usr/bin/grep -E checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for getcwd... yes @@ -1288,7 +1327,7 @@ config.status: executing depfiles commands dh_testdir # Add here commands to compile the package. -/usr/bin/make -j8 MAKEINFO='makeinfo --enable-encoding' +/usr/bin/make -j15 MAKEINFO='makeinfo --enable-encoding' make[1]: Entering directory '/build/lsh-utils-2.1' /usr/bin/make all-recursive make[2]: Entering directory '/build/lsh-utils-2.1' @@ -1358,6 +1397,29 @@ gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o str_utils.o str_utils.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o dc.o dc.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o gnu_stuff.o gnu_stuff.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o misc_fun.o misc_fun.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o buffer.o buffer.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o io_input.o io_input.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o io_output.o io_output.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o xmalloc.o xmalloc.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o werror.o werror.c +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o sftp-test-client.o sftp-test-client.c +misc_fun.c: In function 'mgetenv_init': +misc_fun.c:61:27: warning: unused parameter 'envp' [-Wunused-parameter] + 61 | void mgetenv_init( char** envp ) + | ~~~~~~~^~~~ +misc_fun.c: In function 'massage_fname': +misc_fun.c:68:38: warning: unused parameter 'local' [-Wunused-parameter] + 68 | char* massage_fname(char* fname, int local) + | ~~~~^~~~~ +io_input.c: In function 'sftp_read_packet': +io_input.c:149:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 149 | while (bytesread < sizeof(buf)) + | ^ +io_output.c: In function 'sftp_write_packet': +io_output.c:196:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] + 196 | while (writteni) + | ^ sftp_c.c: In function 'sftp_get_file_init': sftp_c.c:960:23: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 960 | statret = stat( fname, &st ); @@ -1394,6 +1456,107 @@ sftp_c.c:1239:29: warning: unused parameter 'fnamelen' [-Wunused-parameter] 1239 | uint32_t fnamelen, | ~~~~~~~~~^~~~~~~~ +sftp-test-client.c: In function 'do_ls': +sftp-test-client.c:168:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] + 168 | sftp_put_string(ctx->o, strlen(name), name); + | ^~~~ + | | + | const char * +In file included from io.h:24, + from sftp-test-client.c:38: +buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ +misc_fun.c: In function 'lsftp_concat': +misc_fun.c:102:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 102 | strncpy( ret, s1, i1 ); + | ^ +misc_fun.c:94:8: note: length computed here + 94 | i1 = strlen( s1 ); + | ^~~~~~~~~~~~ +misc_fun.c:103:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 103 | strncpy( ret+i1, s2, i2 ); + | ^ +misc_fun.c:95:8: note: length computed here + 95 | i2 = strlen( s2 ); + | ^~~~~~~~~~~~ +sftp-test-client.c: In function 'do_open': +sftp-test-client.c:278:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] + 278 | sftp_put_string(ctx->o, strlen(name), name ); + | ^~~~ + | | + | const char * +buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ +sftp-test-client.c: In function 'do_stat': +sftp-test-client.c:526:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] + 526 | sftp_put_string(ctx->o, strlen(name), name); + | ^~~~ + | | + | const char * +buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ +lsftp.c: In function 'lsftp_interactive_mainloop': +lsftp.c:142:23: warning: pointer targets in passing argument 1 of 'handle_command' differ in signedness [-Wpointer-sign] + 142 | handle_command( current_line ); + | ^~~~~~~~~~~~ + | | + | char * +In file included from rl.h:33, + from lsftp.h:36, + from lsftp.c:31: +commands.h:58:41: note: expected 'const unsigned char *' but argument is of type 'char *' + 58 | int handle_command(const unsigned char *s); + | ~~~~~~~~~~~~~~~~~~~~~^ +lsftp.c:78:11: warning: variable 'retval' set but not used [-Wunused-but-set-variable] + 78 | int retval; + | ^~~~~~ +lsftp.c: In function 'lsftp_noninteractive_mainloop': +lsftp.c:167:29: warning: pointer targets in passing argument 1 of 'handle_command' differ in signedness [-Wpointer-sign] + 167 | handle_command( argv[startat++] ); /* Do it */ + | ~~~~^~~~~~~~~~~ + | | + | char * +commands.h:58:41: note: expected 'const unsigned char *' but argument is of type 'char *' + 58 | int handle_command(const unsigned char *s); + | ~~~~~~~~~~~~~~~~~~~~~^ +lsftp.c: In function 'main': +lsftp.c:181:17: warning: passing argument 1 of 'do_gnu_stuff' from incompatible pointer type [-Wincompatible-pointer-types] + 181 | do_gnu_stuff( argv ); /* Check for GNU thingies and act accordingly */ + | ^~~~ + | | + | char ** +In file included from commands.h:45: +gnu_stuff.h:35:33: note: expected 'const char **' but argument is of type 'char **' + 35 | void do_gnu_stuff( const char** argv ); + | ~~~~~~~~~~~~~^~~~ +buffer.c: In function 'sftp_put_printf': +buffer.c:149:26: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] + 149 | length = vsnprintf(current, needed, format, args); + | ^~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from /usr/include/features.h:489, + from /usr/include/alloca.h:21, + from config.h:302, + from buffer.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 65 | __NTH (vsnprintf (char *__restrict __s, size_t __n, + | ^~~~~ +buffer.c: In function 'sftp_put_strftime': +buffer.c:175:25: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign] + 175 | length = strftime(current, needed, format, tm); + | ^~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from buffer.h:36, + from buffer.c:38: +/usr/include/time.h:100:42: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 100 | extern size_t strftime (char *__restrict __s, size_t __maxsize, + | ~~~~~~~~~~~~~~~~~^~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o client.o client.c rl.c: In function 'lsftp_rl_completion': rl.c:222:39: warning: passing argument 2 of 'rl_completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] 222 | lsftp_rl_command_generator @@ -1448,47 +1611,83 @@ rl.c:522:9: warning: unused variable 'username' [-Wunused-variable] 522 | char* username; | ^~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o dump-hex.o dump-hex.c +commands.c: In function 'com_lcd': +commands.c:1868:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] + 1868 | int ret; + | ^~~ +commands.c: In function 'handle_command': +commands.c:2144:29: warning: pointer targets in initialization of 'const char *' from 'const unsigned char *' differ in signedness [-Wpointer-sign] + 2144 | const char *entered_cmd = s; + | ^ +commands.c:2149:20: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] + 2149 | s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ + | ^ + | | + | const unsigned char * +In file included from sftp_bind.h:63, + from commands.h:41, + from commands.c:31: +str_utils.h:42:38: note: expected 'const char *' but argument is of type 'const unsigned char *' + 42 | const char *lsftp_s_skip(const char *s, const char *sep); + | ~~~~~~~~~~~~^ +commands.c:2149:5: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] + 2149 | s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ + | ^ +commands.c:2158:25: warning: pointer targets in passing argument 1 of 'com_escape' differ in signedness [-Wpointer-sign] + 2158 | return com_escape( s+1, entered_cmd ); + | ~^~ + | | + | const unsigned char * +commands.c:352:24: note: expected 'const char *' but argument is of type 'const unsigned char *' + 352 | com_escape(const char *arg, const char *command UNUSED) + | ~~~~~~~~~~~~^~~ +commands.c:2161:27: warning: pointer targets in passing argument 1 of 'com_longhelp' differ in signedness [-Wpointer-sign] + 2161 | return com_longhelp( s+1, entered_cmd ); + | ~^~ + | | + | const unsigned char * +commands.c:244:26: note: expected 'const char *' but argument is of type 'const unsigned char *' + 244 | com_longhelp(const char *arg, const char *command UNUSED) + | ~~~~~~~~~~~~^~~ +commands.c:2165:22: warning: pointer targets in passing argument 1 of 'lsftp_s_strtok' differ in signedness [-Wpointer-sign] + 2165 | s = lsftp_s_strtok(s," \n\t\r", &tmp ); + | ^ + | | + | const unsigned char * +str_utils.h:39:40: note: expected 'const char *' but argument is of type 'const unsigned char *' + 39 | const char *lsftp_s_strtok(const char *s, const char* tok, + | ~~~~~~~~~~~~^ +commands.c:2165:5: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] + 2165 | s = lsftp_s_strtok(s," \n\t\r", &tmp ); + | ^ +commands.c:2184:50: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] + 2184 | lsftp_s_skip(s," \n\t\r"), + | ^ + | | + | const unsigned char * +str_utils.h:42:38: note: expected 'const char *' but argument is of type 'const unsigned char *' + 42 | const char *lsftp_s_skip(const char *s, const char *sep); + | ~~~~~~~~~~~~^ sftp_bind.c: In function 'lsftp_open_connection': sftp_bind.c:210:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 210 | cur_string = | ^~~~~~~~~~ -lsftp.c: In function 'lsftp_interactive_mainloop': -lsftp.c:142:23: warning: pointer targets in passing argument 1 of 'handle_command' differ in signedness [-Wpointer-sign] - 142 | handle_command( current_line ); - | ^~~~~~~~~~~~ - | | - | char * -In file included from rl.h:33, - from lsftp.h:36, - from lsftp.c:31: -commands.h:58:41: note: expected 'const unsigned char *' but argument is of type 'char *' - 58 | int handle_command(const unsigned char *s); - | ~~~~~~~~~~~~~~~~~~~~~^ sftp_bind.c:234:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 234 | cur_string = | ^~~~~~~~~~ -lsftp.c:78:11: warning: variable 'retval' set but not used [-Wunused-but-set-variable] - 78 | int retval; - | ^~~~~~ -lsftp.c: In function 'lsftp_noninteractive_mainloop': -lsftp.c:167:29: warning: pointer targets in passing argument 1 of 'handle_command' differ in signedness [-Wpointer-sign] - 167 | handle_command( argv[startat++] ); /* Do it */ - | ~~~~^~~~~~~~~~~ - | | - | char * -commands.h:58:41: note: expected 'const unsigned char *' but argument is of type 'char *' - 58 | int handle_command(const unsigned char *s); - | ~~~~~~~~~~~~~~~~~~~~~^ -lsftp.c: In function 'main': -lsftp.c:181:17: warning: passing argument 1 of 'do_gnu_stuff' from incompatible pointer type [-Wincompatible-pointer-types] - 181 | do_gnu_stuff( argv ); /* Check for GNU thingies and act accordingly */ - | ^~~~ - | | - | char ** -In file included from commands.h:45: -gnu_stuff.h:35:33: note: expected 'const char **' but argument is of type 'char **' - 35 | void do_gnu_stuff( const char** argv ); - | ~~~~~~~~~~~~~^~~~ +client.c: In function 'sftp_open': +client.c:110:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] + 110 | sftp_put_string(ctx->o, strlen(name), name ); + | ^~~~ + | | + | const char * +In file included from client.h:29, + from client.c:32: +buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o sftp-server.o sftp-server.c sftp_bind.c: In function 'lsftp_callback': sftp_bind.c:581:7: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 581 | int retval; @@ -1512,12 +1711,8 @@ sftp_c.h:282:35: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 282 | const uint8_t *fname, | ~~~~~~~~~~~~~~~^~~~~ -commands.c: In function 'com_lcd': -commands.c:1868:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] - 1868 | int ret; - | ^~~ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o filemode.o filemode.c sftp_bind.c: In function 'lsftp_do_put': -commands.c: In function 'handle_command': sftp_bind.c:1390:26: warning: pointer targets in passing argument 5 of 'sftp_put_file_init' differ in signedness [-Wpointer-sign] 1390 | tmp, strlen( tmp ), | ^~~ @@ -1526,9 +1721,7 @@ sftp_c.h:320:35: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 320 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ -commands.c:2144:29: warning: pointer targets in initialization of 'const char *' from 'const unsigned char *' differ in signedness [-Wpointer-sign] - 2144 | const char *entered_cmd = s; - | ^ +gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o idcache.o idcache.c sftp_bind.c:1391:26: warning: pointer targets in passing argument 7 of 'sftp_put_file_init' differ in signedness [-Wpointer-sign] 1391 | local, strlen( local), | ^~~~~ @@ -1537,54 +1730,16 @@ sftp_c.h:322:35: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 322 | const uint8_t *fname, | ~~~~~~~~~~~~~~~^~~~~ -commands.c:2149:20: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] - 2149 | s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ - | ^ - | | - | const unsigned char * -In file included from sftp_bind.h:63, - from commands.h:41, - from commands.c:31: -str_utils.h:42:38: note: expected 'const char *' but argument is of type 'const unsigned char *' - 42 | const char *lsftp_s_skip(const char *s, const char *sep); - | ~~~~~~~~~~~~^ -commands.c:2149:5: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] - 2149 | s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ - | ^ sftp_bind.c: In function 'lsftp_do_ls': sftp_bind.c:1529:24: warning: pointer targets in passing argument 5 of 'sftp_ls_init' differ in signedness [-Wpointer-sign] 1529 | tmp, | ^~~ | | | const char * -commands.c:2158:25: warning: pointer targets in passing argument 1 of 'com_escape' differ in signedness [-Wpointer-sign] - 2158 | return com_escape( s+1, entered_cmd ); - | ~^~ - | | - | const unsigned char * sftp_c.h:403:29: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 403 | const uint8_t *dir, | ~~~~~~~~~~~~~~~^~~ -commands.c:352:24: note: expected 'const char *' but argument is of type 'const unsigned char *' - 352 | com_escape(const char *arg, const char *command UNUSED) - | ~~~~~~~~~~~~^~~ -commands.c:2161:27: warning: pointer targets in passing argument 1 of 'com_longhelp' differ in signedness [-Wpointer-sign] - 2161 | return com_longhelp( s+1, entered_cmd ); - | ~^~ - | | - | const unsigned char * -commands.c:244:26: note: expected 'const char *' but argument is of type 'const unsigned char *' - 244 | com_longhelp(const char *arg, const char *command UNUSED) - | ~~~~~~~~~~~~^~~ sftp_bind.c: In function 'lsftp_handle_ls': -commands.c:2165:22: warning: pointer targets in passing argument 1 of 'lsftp_s_strtok' differ in signedness [-Wpointer-sign] - 2165 | s = lsftp_s_strtok(s," \n\t\r", &tmp ); - | ^ - | | - | const unsigned char * -str_utils.h:39:40: note: expected 'const char *' but argument is of type 'const unsigned char *' - 39 | const char *lsftp_s_strtok(const char *s, const char* tok, - | ~~~~~~~~~~~~^ sftp_bind.c:1690:46: warning: pointer targets in passing argument 2 of 'lsftp_concat' differ in signedness [-Wpointer-sign] 1690 | prefixed_fname = lsftp_concat( prefix, fname ); | ^~~~~ @@ -1594,10 +1749,6 @@ misc_fun.h:40:49: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 40 | char* lsftp_concat( const char* s1, const char* s2 ); | ~~~~~~~~~~~~^~ -commands.c:2165:5: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] - 2165 | s = lsftp_s_strtok(s," \n\t\r", &tmp ); - | ^ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o misc_fun.o misc_fun.c sftp_bind.c:1742:35: warning: pointer targets in passing argument 1 of 'lsftp_dc_glob_matches' differ in signedness [-Wpointer-sign] 1742 | fname, | ^~~~~ @@ -1607,14 +1758,6 @@ dc.h:54:39: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 54 | int lsftp_dc_glob_matches(const char *fname, const char *glob, int period); | ~~~~~~~~~~~~^~~~~ -commands.c:2184:50: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] - 2184 | lsftp_s_skip(s," \n\t\r"), - | ^ - | | - | const unsigned char * -str_utils.h:42:38: note: expected 'const char *' but argument is of type 'const unsigned char *' - 42 | const char *lsftp_s_skip(const char *s, const char *sep); - | ~~~~~~~~~~~~^ sftp_bind.c:1771:37: warning: pointer targets in passing argument 1 of 'lsftp_concat' differ in signedness [-Wpointer-sign] 1771 | tmp = lsftp_concat( fname, "/" ); /* Add a trailing slash for directories */ | ^~~~~ @@ -1771,109 +1914,6 @@ sftp_c.h:157:33: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 157 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o buffer.o buffer.c -misc_fun.c: In function 'mgetenv_init': -misc_fun.c:61:27: warning: unused parameter 'envp' [-Wunused-parameter] - 61 | void mgetenv_init( char** envp ) - | ~~~~~~~^~~~ -misc_fun.c: In function 'massage_fname': -misc_fun.c:68:38: warning: unused parameter 'local' [-Wunused-parameter] - 68 | char* massage_fname(char* fname, int local) - | ~~~~^~~~~ -misc_fun.c: In function 'lsftp_concat': -misc_fun.c:102:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 102 | strncpy( ret, s1, i1 ); - | ^ -misc_fun.c:94:8: note: length computed here - 94 | i1 = strlen( s1 ); - | ^~~~~~~~~~~~ -misc_fun.c:103:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 103 | strncpy( ret+i1, s2, i2 ); - | ^ -misc_fun.c:95:8: note: length computed here - 95 | i2 = strlen( s2 ); - | ^~~~~~~~~~~~ -buffer.c: In function 'sftp_put_printf': -buffer.c:149:26: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] - 149 | length = vsnprintf(current, needed, format, args); - | ^~~~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from /usr/include/features.h:489, - from /usr/include/alloca.h:21, - from config.h:302, - from buffer.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:65:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 65 | __NTH (vsnprintf (char *__restrict __s, size_t __n, - | ^~~~~ -buffer.c: In function 'sftp_put_strftime': -buffer.c:175:25: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign] - 175 | length = strftime(current, needed, format, tm); - | ^~~~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from buffer.h:36, - from buffer.c:38: -/usr/include/time.h:100:42: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 100 | extern size_t strftime (char *__restrict __s, size_t __maxsize, - | ~~~~~~~~~~~~~~~~~^~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o io_input.o io_input.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o io_output.o io_output.c -io_input.c: In function 'sftp_read_packet': -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o xmalloc.o xmalloc.c -io_input.c:149:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 149 | while (bytesread < sizeof(buf)) - | ^ -io_output.c: In function 'sftp_write_packet': -io_output.c:196:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] - 196 | while (writteni) - | ^ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o werror.o werror.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o sftp-test-client.o sftp-test-client.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o client.o client.c -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o dump-hex.o dump-hex.c -sftp-test-client.c: In function 'do_ls': -sftp-test-client.c:168:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] - 168 | sftp_put_string(ctx->o, strlen(name), name); - | ^~~~ - | | - | const char * -In file included from io.h:24, - from sftp-test-client.c:38: -buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ -sftp-test-client.c: In function 'do_open': -sftp-test-client.c:278:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] - 278 | sftp_put_string(ctx->o, strlen(name), name ); - | ^~~~ - | | - | const char * -buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o sftp-server.o sftp-server.c -sftp-test-client.c: In function 'do_stat': -sftp-test-client.c:526:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] - 526 | sftp_put_string(ctx->o, strlen(name), name); - | ^~~~ - | | - | const char * -buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ -client.c: In function 'sftp_open': -client.c:110:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] - 110 | sftp_put_string(ctx->o, strlen(name), name ); - | ^~~~ - | | - | const char * -In file included from client.h:29, - from client.c:32: -buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o filemode.o filemode.c dump-hex.c: In function 'main': dump-hex.c:189:33: warning: pointer targets in passing argument 2 of 'do_read' differ in signedness [-Wpointer-sign] 189 | res = do_read(STDIN_FILENO, buf, left); @@ -2226,7 +2266,8 @@ /usr/include/unistd.h:832:53: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 832 | extern int symlink (const char *__from, const char *__to) | ~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DTRANSPORT_PROG='"/usr/bin/lshg"' -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o idcache.o idcache.c +gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o dump-hex dump-hex.o -lreadline -lreadline -ltermcap +gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o sftp-test-client sftp-test-client.o buffer.o io_input.o io_output.o xmalloc.o werror.o client.o -lreadline -lreadline -ltermcap sftp_bind.c: In function 'lsftp_handle_ls': sftp_bind.c:1721:21: warning: pointer 'namestrings' may be used after 'realloc' [-Wuse-after-free] 1721 | printf( "%s\n", namestrings[l] ); @@ -2246,8 +2287,6 @@ sftp_bind.c:1698:35: note: call to 'realloc' here 1698 | char** newnamestrings = realloc( namestrings, sizeof( char* ) * ( allocated + allocstepsize ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o dump-hex dump-hex.o -lreadline -lreadline -ltermcap -gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o sftp-test-client sftp-test-client.o buffer.o io_input.o io_output.o xmalloc.o werror.o client.o -lreadline -lreadline -ltermcap commands.c: In function 'put_file_or_folder.isra': commands.c:1342:34: warning: pointer 'tmp' may be used after 'free' [-Wuse-after-free] 1342 | const char *curentry = lsftp_skip_common( *curdirinfo, localwd ); @@ -2301,6 +2340,16 @@ gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tag.o tag.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o reduce.o reduce.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o verify.o verify.c +parse.c: In function 'spki_intern': +parse.c:60:29: warning: pointer targets in passing argument 1 of 'spki_gperf' differ in signedness [-Wpointer-sign] + 60 | = spki_gperf(i->sexp.atom, i->sexp.atom_length); + | ~~~~~~~^~~~~ + | | + | const uint8_t * {aka const unsigned char *} +In file included from parse.c:42: +spki-gperf.h:88:34: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} + 88 | spki_gperf (register const char *str, register unsigned int len) + | ~~~~~~~~~~~~~~~~~~~~~^~~ In file included from names.c:27: spki-type-names.h:7:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 7 | { 3, "acl" }, @@ -2410,16 +2459,6 @@ 33 | { 7, "version" }, | ^~~~~~~~~ spki-type-names.h:33:8: note: (near initialization for 'spki_type_names[27].name') -parse.c: In function 'spki_intern': -parse.c:60:29: warning: pointer targets in passing argument 1 of 'spki_gperf' differ in signedness [-Wpointer-sign] - 60 | = spki_gperf(i->sexp.atom, i->sexp.atom_length); - | ~~~~~~~^~~~~ - | | - | const uint8_t * {aka const unsigned char *} -In file included from parse.c:42: -spki-gperf.h:88:34: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} - 88 | spki_gperf (register const char *str, register unsigned int len) - | ~~~~~~~~~~~~~~~~~~~~~^~~ tag.c: In function 'spki_tag_release': tag.c:426:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 426 | spki_string_release(ctx, realloc, self->upper); @@ -2449,49 +2488,6 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sign.o sign.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o spki-delegate.o spki-delegate.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o spki-reduce.o spki-reduce.c -misc.c: In function 'hash_file': -misc.c:67:30: warning: pointer targets in passing argument 3 of 'hash->update' differ in signedness [-Wpointer-sign] - 67 | hash->update(ctx, res, buffer); - | ^~~~~~ - | | - | char * -misc.c:67:30: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' -spki-reduce.c: In function 'process_acls': -spki-reduce.c:115:55: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] - 115 | && spki_transport_iterator_first(&i, length, data) - | ^~~~ - | | - | char * -In file included from spki-reduce.c:31: -../parse.h:67:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 67 | unsigned length, uint8_t *expr); - | ~~~~~~~~~^~~~ -spki-reduce.c: In function 'process_sequence': -spki-reduce.c:136:52: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] - 136 | && spki_transport_iterator_first(&i, length, data)) - | ^~~~ - | | - | char * -../parse.h:67:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 67 | unsigned length, uint8_t *expr); - | ~~~~~~~~~^~~~ -spki-reduce.c: In function 'main': -spki-reduce.c:187:46: warning: pointer targets in passing argument 3 of 'write_file' differ in signedness [-Wpointer-sign] - 187 | if (!write_file(stdout, buffer.size, buffer.contents)) - | ~~~~~~^~~~~~~~~ - | | - | uint8_t * {aka unsigned char *} -In file included from spki-reduce.c:34: -misc.h:48:48: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - 48 | write_file(FILE *f, unsigned size, const char *buffer); - | ~~~~~~~~~~~~^~~~~~ -spki-reduce.c: In function 'parse_options': -spki-reduce.c:89:11: warning: this statement may fall through [-Wimplicit-fallthrough=] - 89 | die("spki-delegate --version not implemented\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -spki-reduce.c:91:9: note: here - 91 | case 'a': - | ^~~~ spki-check-signature.c: In function 'main': spki-check-signature.c:116:66: warning: pointer targets in passing argument 3 of 'nettle_sexp_transport_iterator_first' differ in signedness [-Wpointer-sign] 116 | if (sexp_transport_iterator_first(&sexp, strlen(o.signature), o.signature) @@ -2516,6 +2512,13 @@ spki-check-signature.c:90:9: note: here 90 | case 'n': | ^~~~ +misc.c: In function 'hash_file': +misc.c:67:30: warning: pointer targets in passing argument 3 of 'hash->update' differ in signedness [-Wpointer-sign] + 67 | hash->update(ctx, res, buffer); + | ^~~~~~ + | | + | char * +misc.c:67:30: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' spki-make-signature.c: In function 'main': spki-make-signature.c:136:56: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 136 | if (! (spki_transport_iterator_first(&i, key_length, key) @@ -2554,6 +2557,42 @@ spki-make-signature.c:101:9: note: here 101 | case 's': | ^~~~ +spki-reduce.c: In function 'process_acls': +spki-reduce.c:115:55: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] + 115 | && spki_transport_iterator_first(&i, length, data) + | ^~~~ + | | + | char * +In file included from spki-reduce.c:31: +../parse.h:67:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 67 | unsigned length, uint8_t *expr); + | ~~~~~~~~~^~~~ +spki-reduce.c: In function 'process_sequence': +spki-reduce.c:136:52: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] + 136 | && spki_transport_iterator_first(&i, length, data)) + | ^~~~ + | | + | char * +../parse.h:67:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 67 | unsigned length, uint8_t *expr); + | ~~~~~~~~~^~~~ +spki-reduce.c: In function 'main': +spki-reduce.c:187:46: warning: pointer targets in passing argument 3 of 'write_file' differ in signedness [-Wpointer-sign] + 187 | if (!write_file(stdout, buffer.size, buffer.contents)) + | ~~~~~~^~~~~~~~~ + | | + | uint8_t * {aka unsigned char *} +In file included from spki-reduce.c:34: +misc.h:48:48: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + 48 | write_file(FILE *f, unsigned size, const char *buffer); + | ~~~~~~~~~~~~^~~~~~ +spki-reduce.c: In function 'parse_options': +spki-reduce.c:89:11: warning: this statement may fall through [-Wimplicit-fallthrough=] + 89 | die("spki-delegate --version not implemented\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +spki-reduce.c:91:9: note: here + 91 | case 'a': + | ^~~~ spki-delegate.c: In function 'process_principal': spki-delegate.c:157:55: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 157 | if (spki_transport_iterator_first(&i, strlen(expr), expr) @@ -2610,9 +2649,9 @@ spki-delegate.c:116:9: note: here 116 | case 'i': | ^~~~ -gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o spki-reduce spki-reduce.o misc.o getopt.o getopt1.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o spki-check-signature spki-check-signature.o misc.o getopt.o getopt1.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o spki-make-signature spki-make-signature.o sign.o misc.o getopt.o getopt1.o ../libspki.a -lhogweed -lnettle -lgmp +gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o spki-reduce spki-reduce.o misc.o getopt.o getopt1.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o spki-delegate spki-delegate.o sign.o misc.o getopt.o getopt1.o ../libspki.a -lhogweed -lnettle -lgmp make[7]: Leaving directory '/build/lsh-utils-2.1/src/spki/tools' Making all in testsuite @@ -2716,6 +2755,30 @@ testutils.h:20:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 20 | make_tag(unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ +In file included from read-acl-test.c:1: +read-acl-test.c: In function 'test_main': +read-acl-test.c:11:13: warning: pointer targets in passing argument 3 of 'read_acl' differ in signedness [-Wpointer-sign] + 11 | ("(3:acl(7:version1:\0)(5:entry" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:30:35: note: in definition of macro 'LDATA' + 30 | #define LDATA(x) (sizeof(x) - 1), x + | ^ +testutils.h:17:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 17 | unsigned length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ +read-acl-test.c:17:43: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + 17 | ASSERT(spki_principal_by_key(&db, LDATA("k1"))); + | ^~~~ + | | + | char * +testutils.h:27:30: note: in definition of macro 'ASSERT' + 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + | ^ +read-acl-test.c:17:37: note: in expansion of macro 'LDATA' + 17 | ASSERT(spki_principal_by_key(&db, LDATA("k1"))); + | ^~~~~ lookup-acl-test.c:72:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] 72 | tag = make_tag(LDATA("(3:ftp2:h2)")); | ^~~~~~~~~~~~~ @@ -2727,6 +2790,21 @@ testutils.h:20:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 20 | make_tag(unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ +In file included from testutils.h:5: +../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 221 | unsigned key_length, const uint8_t *key); + | ~~~~~~~~~~~~~~~^~~ +read-acl-test.c:18:37: warning: pointer targets in passing argument 2 of 'spki_principal_by_md5' differ in signedness [-Wpointer-sign] + 18 | ASSERT(spki_principal_by_md5(&db, "xxxxxxxxxxxxxxxx")); + | ^~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:27:30: note: in definition of macro 'ASSERT' + 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + | ^ +../certificate.h:224:62: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 224 | spki_principal_by_md5(struct spki_acl_db *db, const uint8_t *digest); + | ~~~~~~~~~~~~~~~^~~~~~ principal-test.c: In function 'test_main': principal-test.c:11:37: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] 11 | s = spki_principal_by_key(&db, 5, "3:foo"); @@ -2760,67 +2838,8 @@ ../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 221 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ -In file included from read-cert-test.c:1: -read-cert-test.c: In function 'test_main': -read-cert-test.c:23:19: warning: pointer targets in passing argument 4 of 'read_cert' differ in signedness [-Wpointer-sign] - 23 | LDATA("(4:cert(6:issuer(10:public-key2:k1))" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:30:35: note: in definition of macro 'LDATA' - 30 | #define LDATA(x) (sizeof(x) - 1), x - | ^ -read-cert-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 5 | unsigned length, const uint8_t *data) - | ~~~~~~~~~~~~~~~^~~~ -read-cert-test.c:30:43: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - 30 | spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:27:30: note: in definition of macro 'ASSERT' - 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - | ^ -read-cert-test.c:30:37: note: in expansion of macro 'LDATA' - 30 | spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); - | ^~~~~ -In file included from testutils.h:5: -../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 221 | unsigned key_length, const uint8_t *key); - | ~~~~~~~~~~~~~~~^~~ -read-cert-test.c:32:43: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - 32 | spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); - | ^~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:27:30: note: in definition of macro 'ASSERT' - 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - | ^ -read-cert-test.c:32:37: note: in expansion of macro 'LDATA' - 32 | spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); - | ^~~~~ -../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 221 | unsigned key_length, const uint8_t *key); - | ~~~~~~~~~~~~~~~^~~ -In file included from read-acl-test.c:1: -read-acl-test.c: In function 'test_main': -read-acl-test.c:11:13: warning: pointer targets in passing argument 3 of 'read_acl' differ in signedness [-Wpointer-sign] - 11 | ("(3:acl(7:version1:\0)(5:entry" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:30:35: note: in definition of macro 'LDATA' - 30 | #define LDATA(x) (sizeof(x) - 1), x - | ^ In file included from tag-test.c:1: tag-test.c: In function 'test_main': -testutils.h:17:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 17 | unsigned length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ -cdsa-reduce-test.c: In function 'test_main': -cdsa-reduce-test.c:140:14: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 140 | data = read_file(srcdir, "cdsa-cases/", i, ".in", - | ^ tag-test.c:25:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 25 | ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2835,24 +2854,9 @@ tag-test.c:25:10: note: in expansion of macro 'INCLUDES' 25 | ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~ -read-acl-test.c:17:43: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - 17 | ASSERT(spki_principal_by_key(&db, LDATA("k1"))); - | ^~~~ - | | - | char * -testutils.h:27:30: note: in definition of macro 'ASSERT' - 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - | ^ -read-acl-test.c:17:37: note: in expansion of macro 'LDATA' - 17 | ASSERT(spki_principal_by_key(&db, LDATA("k1"))); - | ^~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ -In file included from testutils.h:5: -../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 221 | unsigned key_length, const uint8_t *key); - | ~~~~~~~~~~~~~~~^~~ tag-test.c:26:19: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 26 | "(3:ftp18:ftp.lysator.liu.se)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2870,17 +2874,6 @@ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ -read-acl-test.c:18:37: warning: pointer targets in passing argument 2 of 'spki_principal_by_md5' differ in signedness [-Wpointer-sign] - 18 | ASSERT(spki_principal_by_md5(&db, "xxxxxxxxxxxxxxxx")); - | ^~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:27:30: note: in definition of macro 'ASSERT' - 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - | ^ -../certificate.h:224:62: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 224 | spki_principal_by_md5(struct spki_acl_db *db, const uint8_t *digest); - | ~~~~~~~~~~~~~~~^~~~~~ tag-test.c:28:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 28 | ASSERT(!INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3255,6 +3248,7 @@ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ +cdsa-reduce-test.c: In function 'test_main': tag-test.c:55:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 55 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3269,9 +3263,14 @@ tag-test.c:55:10: note: in expansion of macro 'INCLUDES' 55 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ +cdsa-reduce-test.c:140:14: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 140 | data = read_file(srcdir, "cdsa-cases/", i, ".in", + | ^ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ +In file included from read-cert-test.c:1: +read-cert-test.c: In function 'test_main': tag-test.c:56:19: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 56 | "(1:*3:set(3:foo))")); | ^~~~~~~~~~~~~~~~~~~ @@ -3286,9 +3285,31 @@ tag-test.c:55:10: note: in expansion of macro 'INCLUDES' 55 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ +read-cert-test.c:23:19: warning: pointer targets in passing argument 4 of 'read_cert' differ in signedness [-Wpointer-sign] + 23 | LDATA("(4:cert(6:issuer(10:public-key2:k1))" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:30:35: note: in definition of macro 'LDATA' + 30 | #define LDATA(x) (sizeof(x) - 1), x + | ^ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ +read-cert-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 5 | unsigned length, const uint8_t *data) + | ~~~~~~~~~~~~~~~^~~~ +read-cert-test.c:30:43: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + 30 | spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); + | ^~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:27:30: note: in definition of macro 'ASSERT' + 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + | ^ +read-cert-test.c:30:37: note: in expansion of macro 'LDATA' + 30 | spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); + | ^~~~~ tag-test.c:57:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 57 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3306,6 +3327,10 @@ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ +In file included from testutils.h:5: +../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 221 | unsigned key_length, const uint8_t *key); + | ~~~~~~~~~~~~~~~^~~ tag-test.c:58:19: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 58 | "(1:*3:set(3:foo)(3:bar))")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3323,6 +3348,20 @@ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ +read-cert-test.c:32:43: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + 32 | spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); + | ^~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:27:30: note: in definition of macro 'ASSERT' + 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + | ^ +read-cert-test.c:32:37: note: in expansion of macro 'LDATA' + 32 | spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); + | ^~~~~ +../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 221 | unsigned key_length, const uint8_t *key); + | ~~~~~~~~~~~~~~~^~~ tag-test.c:59:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 59 | ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3394,8 +3433,8 @@ gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o date-test date-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o read-acl-test read-acl-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o principal-test principal-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp -gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o read-cert-test read-cert-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lookup-acl-test lookup-acl-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp +gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o read-cert-test read-cert-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o tag-test tag-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o cdsa-reduce-test cdsa-reduce-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp make check to build testprograms. @@ -3412,6 +3451,13 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o atoms.o atoms.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o channel.o channel.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o channel_commands.o channel_commands.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o channel_forward.o channel_forward.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o charset.o charset.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client.o client.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_escape.o client_escape.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_keyexchange.o client_keyexchange.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_pty.o client_pty.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_session.o client_session.c In file included from atoms.c:45: atoms_table.c:5:5: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 5 | { { "UNKNOWN", 7 }, {"none", 4}, @@ -3833,6 +3879,7 @@ 108 | {"Xpkcs5v2", 8}, | ^~~~~~~~~~ atoms_table.c:108:4: note: (near initialization for 'atom_table[104].name') +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_userauth.o client_userauth.c atoms_table.c:109:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 109 | {"srp-ring1-sha1@lysator.liu.se", 29}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3845,13 +3892,6 @@ 111 | {"ssh-ring1", 9}, | ^~~~~~~~~~~ atoms_table.c:111:4: note: (near initialization for 'atom_table[107].name') -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o channel_forward.o channel_forward.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o charset.o charset.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client.o client.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_escape.o client_escape.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_keyexchange.o client_keyexchange.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_pty.o client_pty.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_session.o client_session.c client.c: In function 'do_exit_signal': client.c:321:27: warning: pointer targets in passing argument 2 of 'parse_atom' differ in signedness [-Wpointer-sign] 321 | && parse_atom(args, &signal) @@ -3883,13 +3923,18 @@ lsh_string.h:110:33: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 110 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_userauth.o client_userauth.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o client_x11.o client_x11.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o combinators.o combinators.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o command.o command.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o compress.o compress.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o parse_config.o parse_config.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o connection.o connection.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o connection_commands.o connection_commands.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o crypto.o crypto.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o daemon.o daemon.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o debug.o debug.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dh_exchange.o dh_exchange.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dsa.o dsa.c parse_config.c: In function 'next_token': parse_config.c:156:25: warning: pointer targets in assignment from 'const uint8_t *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 156 | self->token = HERE; @@ -3904,9 +3949,7 @@ lsh_string.h:89:77: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 89 | lsh_string_eq_l(const struct lsh_string *a, uint32_t length, const uint8_t *b); | ~~~~~~~~~~~~~~~^ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o connection_commands.o connection_commands.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o crypto.o crypto.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o daemon.o daemon.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o exception.o exception.c crypto.c: In function 'do_aes_cbc_encrypt': crypto.c:117:26: warning: 'nettle_aes_encrypt' is deprecated [-Wdeprecated-declarations] 117 | (nettle_crypt_func*) aes_encrypt, @@ -3949,12 +3992,6 @@ /usr/include/nettle/aes.h:158:1: note: declared here 158 | aes_set_encrypt_key(struct aes_ctx *ctx, | ^~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o debug.o debug.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dh_exchange.o dh_exchange.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dsa.o dsa.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o exception.o exception.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o format.o format.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gc.o gc.c dsa.c: In function 'do_dsa_verify': dsa.c:138:37: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 138 | const uint8_t *names[2] = { "r", "s" }; @@ -3973,6 +4010,9 @@ /usr/include/nettle/sexp.h:152:41: note: expected 'const char * const*' but argument is of type 'const uint8_t **' {aka 'const unsigned char **'} 152 | const char * const *keys, | ~~~~~~~~~~~~~~~~~~~~^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o format.o format.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gc.o gc.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gateway.o gateway.c format.c: In function 'ssh_vformat_write': format.c:362:20: warning: pointer targets in assignment from 'const char *' to 'const uint8_t *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 362 | data = va_arg(args, const char *); @@ -3986,10 +4026,10 @@ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gateway.o gateway.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gateway_channel.o gateway_channel.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o gateway_commands.o gateway_commands.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o handshake.o handshake.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o interact.o interact.c gateway.c: In function 'make_gateway_address': gateway.c:92:20: warning: pointer targets in passing argument 1 of 'check_string' differ in signedness [-Wpointer-sign] 92 | if (check_string(local_user) @@ -4015,19 +4055,12 @@ gateway.c:51:48: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 51 | check_string_l(unsigned length, const uint8_t *s) | ~~~~~~~~~~~~~~~^ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o interact.o interact.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o io.o io.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o io_commands.o io_commands.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o keyexchange.o keyexchange.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o list.o list.c -io.c: In function 'do_buffered_read': -io.c:490:9: warning: this statement may fall through [-Wimplicit-fallthrough=] - 490 | werror("Unexpected EPIPE from read.\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -io.c:491:7: note: here - 491 | default: - | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lookup_verifier.o lookup_verifier.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lock_file.o lock_file.c In file included from list.c:35: list.c: In function 'lsh_list_alloc': xalloc.h:95:30: warning: statement with no effect [-Wunused-value] @@ -4036,11 +4069,20 @@ list.c:55:3: note: in expansion of macro 'CHECK_SUBTYPE' 55 | CHECK_SUBTYPE(list_header, list); | ^~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lock_file.o lock_file.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh_string.o lsh_string.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o parse.o parse.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o pkcs5.o pkcs5.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o publickey_crypto.o publickey_crypto.c +io.c: In function 'do_buffered_read': +io.c:490:9: warning: this statement may fall through [-Wimplicit-fallthrough=] + 490 | werror("Unexpected EPIPE from read.\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +io.c:491:7: note: here + 491 | default: + | ^~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o queue.o queue.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o randomness.o randomness.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read_data.o read_data.c lsh_string.c: In function 'lsh_get_cstring': lsh_string.c:139:60: warning: pointer targets in returning 'const uint8_t *' {aka 'const unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 139 | return (s && !memchr(s->data, '\0', s->length) ? s->data : NULL); @@ -4122,9 +4164,6 @@ /usr/include/nettle/base64.h:107:27: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 107 | char *dst); | ~~~~~~^~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o queue.o queue.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o randomness.o randomness.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read_data.o read_data.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read_file.o read_file.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read_line.o read_line.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o read_packet.o read_packet.c @@ -4138,29 +4177,33 @@ read_packet.c:264:7: note: here 264 | case WAIT_CONTENTS: | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server.o server.c read_packet.c:303:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 303 | closure->pos = 0; | ~~~~~~~~~~~~~^~~ read_packet.c:305:7: note: here 305 | case WAIT_MAC: | ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server.o server.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_authorization.o server_authorization.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_keyexchange.o server_keyexchange.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_password.o server_password.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_publickey.o server_publickey.c -server_keyexchange.c: In function 'do_handle_srp_init': -server_keyexchange.c:297:29: warning: variable 'e' set but not used [-Wunused-but-set-variable] - 297 | struct exception_handler *e; - | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_pty.o server_pty.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_session.o server_session.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_userauth.o server_userauth.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o server_x11.o server_x11.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sexp.o sexp.c +server_keyexchange.c: In function 'do_handle_srp_init': +server_keyexchange.c:297:29: warning: variable 'e' set but not used [-Wunused-but-set-variable] + 297 | struct exception_handler *e; + | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o socks.o socks.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o spki.o spki.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o srp_exchange.o srp_exchange.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o string_buffer.o string_buffer.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o suspend.o suspend.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpforward.o tcpforward.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpforward_commands.o tcpforward_commands.c spki.c: In function 'make_ssh_hostkey_tag': spki.c:76:22: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'const char *' differ in signedness [-Wpointer-sign] 76 | const uint8_t *s = host; @@ -4183,6 +4226,10 @@ /usr/include/nettle/sexp.h:152:41: note: expected 'const char * const*' but argument is of type 'const uint8_t **' {aka 'const unsigned char **'} 152 | const char * const *keys, | ~~~~~~~~~~~~~~~~~~~~^~~~ +srp_exchange.c: In function 'make_srp_entry': +srp_exchange.c:72:32: warning: variable 'salt' set but not used [-Wunused-but-set-variable] + 72 | const struct lsh_string *salt; + | ^~~~ spki.c: In function 'parse_pkcs5_payload': spki.c:435:31: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 435 | const uint8_t *names[2] = { "data", "iv" }; @@ -4208,14 +4255,6 @@ /usr/include/nettle/sexp.h:152:41: note: expected 'const char * const*' but argument is of type 'const uint8_t **' {aka 'const unsigned char **'} 152 | const char * const *keys, | ~~~~~~~~~~~~~~~~~~~~^~~~ -srp_exchange.c: In function 'make_srp_entry': -srp_exchange.c:72:32: warning: variable 'salt' set but not used [-Wunused-but-set-variable] - 72 | const struct lsh_string *salt; - | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o string_buffer.o string_buffer.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o suspend.o suspend.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpforward.o tcpforward.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpforward_commands.o tcpforward_commands.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o translate_signal.o translate_signal.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tty.o tty.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o unix_interact.o unix_interact.c @@ -4223,7 +4262,9 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o unix_random.o unix_random.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o unix_user.o unix_user.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o userauth.o userauth.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o werror.o werror.c unix_interact.c: In function 'unix_get_attributes': +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o write_buffer.o write_buffer.c unix_interact.c:392:49: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] 392 | if (!tty_getattr(self->tty_fd, &res->ios) < 0) | ^ @@ -4232,7 +4273,10 @@ 392 | if (!tty_getattr(self->tty_fd, &res->ios) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o werror.o werror.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o write_packet.o write_packet.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o xalloc.o xalloc.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o xauth.o xauth.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o zlib.o zlib.c unix_user.c: In function 'do_verify_password': unix_user.c:255:11: warning: pointer targets in assignment from 'const char *' to 'const uint8_t *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 255 | cpasswd = lsh_get_cstring(password); @@ -4249,7 +4293,8 @@ /usr/include/unistd.h:1159:33: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 1159 | extern char *crypt (const char *__key, const char *__salt) | ~~~~~~~~~~~~^~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o write_buffer.o write_buffer.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lshg.o lshg.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dummy.o dummy.c werror.c: In function 'werror_cstring': werror.c:294:51: warning: pointer targets in passing argument 2 of 'werror_write' differ in signedness [-Wpointer-sign] 294 | werror_cstring(char *s) { werror_write(strlen(s), s); } @@ -4317,18 +4362,11 @@ werror.c:275:46: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 275 | werror_write(uint32_t length, const uint8_t *msg) | ~~~~~~~~~~~~~~~^~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-keygen.o lsh-keygen.c werror.c: At top level: werror.c:617:1: warning: 'werror_format' defined but not used [-Wunused-function] 617 | werror_format(const char *format, ...) | ^~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o write_packet.o write_packet.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o xalloc.o xalloc.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o xauth.o xauth.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o zlib.o zlib.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lshg.o lshg.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dummy.o dummy.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-keygen.o lsh-keygen.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-writekey.o lsh-writekey.c dummy.c:150:29: warning: argument 1 of type 'const __mpz_struct[1]' with mismatched bound [-Warray-parameter=] 150 | mpz_sizeinbase (const mpz_t x UNUSED, int base UNUSED) In file included from /usr/include/nettle/bignum.h:50, @@ -4341,12 +4379,20 @@ /usr/include/i386-linux-gnu/gmp.h:833:48: note: previously declared as 'mpz_srcptr' {aka 'const __mpz_struct *'} 833 | __GMP_DECLSPEC char *mpz_get_str (char *, int, mpz_srcptr); | ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-writekey.o lsh-writekey.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-decrypt-key.o lsh-decrypt-key.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-decode-key.o lsh-decode-key.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-export-key.o lsh-export-key.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-make-seed.o lsh-make-seed.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o srp-gen.o srp-gen.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lshd.o lshd.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-execuv.o lsh-execuv.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-krb-checkpw.o lsh-krb-checkpw.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-pam-checkpw.o lsh-pam-checkpw.c +lsh-krb-checkpw.c: In function 'main': +lsh-krb-checkpw.c:98:15: warning: unused variable 'ccache' [-Wunused-variable] + 98 | krb5_ccache ccache; + | ^~~~~~ lsh-make-seed.c: In function 'get_dev_random': lsh-make-seed.c:312:51: warning: pointer targets in passing argument 5 of 'nettle_yarrow256_update' differ in signedness [-Wpointer-sign] 312 | yarrow256_update(ctx, source, res * 4, res, buffer); @@ -4364,20 +4410,10 @@ lsh-make-seed.c:363:57: warning: unused parameter 'source' [-Wunused-parameter] 363 | get_dev_mem(struct yarrow256_ctx *ctx, enum source_type source) | ~~~~~~~~~~~~~~~~~^~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-execuv.o lsh-execuv.c lsh-make-seed.c: In function 'get_system': lsh-make-seed.c:1037:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1037 | if (res > linux_proc_sources[i].limit) | ^ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-krb-checkpw.o lsh-krb-checkpw.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o lsh-pam-checkpw.o lsh-pam-checkpw.c -rm -f liblsh.a -ar cru liblsh.a abstract_io.o abstract_crypto.o algorithms.o alist.o atoms.o channel.o channel_commands.o channel_forward.o charset.o client.o client_escape.o client_keyexchange.o client_pty.o client_session.o client_userauth.o client_x11.o combinators.o command.o compress.o parse_config.o connection.o connection_commands.o crypto.o daemon.o debug.o dh_exchange.o dsa.o exception.o format.o gc.o gateway.o gateway_channel.o gateway_commands.o handshake.o interact.o io.o io_commands.o keyexchange.o list.o lookup_verifier.o lock_file.o lsh_string.o parse.o pkcs5.o publickey_crypto.o queue.o randomness.o read_data.o read_file.o read_line.o read_packet.o reaper.o resource.o rsa.o server.o server_authorization.o server_keyexchange.o server_password.o server_publickey.o server_pty.o server_session.o server_userauth.o server_x11.o sexp.o socks.o spki.o srp_exchange.o string_buffer.o suspend.o tcpforward.o tcpforward_commands.o translate_signal.o tty.o unix_interact.o unix_process.o unix_random.o unix_user.o userauth.o werror.o write_buffer.o write_packet.o xalloc.o xauth.o zlib.o -ar: `u' modifier ignored since `D' is the default (see `U') -lsh-krb-checkpw.c: In function 'main': -lsh-krb-checkpw.c:98:15: warning: unused variable 'ccache' [-Wunused-variable] - 98 | krb5_ccache ccache; - | ^~~~~~ lsh-krb-checkpw.c:135:7: warning: 'server' may be used uninitialized [-Wmaybe-uninitialized] 135 | if (krb5_verify_init_creds(context, &creds, server, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4386,8 +4422,6 @@ lsh-krb-checkpw.c:101:18: note: 'server' was declared here 101 | krb5_principal server; | ^~~~~~ -gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-krb-checkpw lsh-krb-checkpw.o -lkrb5 -lresolv -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp -gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-execuv lsh-execuv.o -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp lshd.c: In function 'main_argp_parser': lshd.c:699:17: warning: 'host' may be used uninitialized [-Wmaybe-uninitialized] 699 | : io_resolv_address(host, "ssh", 22, &self->local))) @@ -4395,6 +4429,11 @@ lshd.c:687:21: note: 'host' was declared here 687 | const char *host; | ^~~~ +gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-execuv lsh-execuv.o -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-krb-checkpw lsh-krb-checkpw.o -lkrb5 -lresolv -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +rm -f liblsh.a +ar cru liblsh.a abstract_io.o abstract_crypto.o algorithms.o alist.o atoms.o channel.o channel_commands.o channel_forward.o charset.o client.o client_escape.o client_keyexchange.o client_pty.o client_session.o client_userauth.o client_x11.o combinators.o command.o compress.o parse_config.o connection.o connection_commands.o crypto.o daemon.o debug.o dh_exchange.o dsa.o exception.o format.o gc.o gateway.o gateway_channel.o gateway_commands.o handshake.o interact.o io.o io_commands.o keyexchange.o list.o lookup_verifier.o lock_file.o lsh_string.o parse.o pkcs5.o publickey_crypto.o queue.o randomness.o read_data.o read_file.o read_line.o read_packet.o reaper.o resource.o rsa.o server.o server_authorization.o server_keyexchange.o server_password.o server_publickey.o server_pty.o server_session.o server_userauth.o server_x11.o sexp.o socks.o spki.o srp_exchange.o string_buffer.o suspend.o tcpforward.o tcpforward_commands.o translate_signal.o tty.o unix_interact.o unix_process.o unix_random.o unix_user.o userauth.o werror.o write_buffer.o write_packet.o xalloc.o xauth.o zlib.o +ar: `u' modifier ignored since `D' is the default (see `U') ranlib liblsh.a gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh lsh.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lshg lshg.o dummy.o liblsh.a -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp @@ -4403,10 +4442,10 @@ gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-decrypt-key lsh-decrypt-key.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-decode-key lsh-decode-key.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-export-key lsh-export-key.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-make-seed lsh-make-seed.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o srp-gen srp-gen.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lshd lshd.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-pam-checkpw lsh-pam-checkpw.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp -gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lsh-make-seed lsh-make-seed.o liblsh.a spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp make[5]: Leaving directory '/build/lsh-utils-2.1/src' Making all in testsuite make[5]: Entering directory '/build/lsh-utils-2.1/src/testsuite' @@ -4418,6 +4457,13 @@ gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o des-test.o des-test.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o serpent-test.o serpent-test.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o twofish-test.o twofish-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o md5-test.o md5-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sha1-test.o sha1-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o rsa-test.o rsa-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dsa-test.o dsa-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o spki-tag-test.o spki-tag-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o string-test.o string-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o parse-config-test.o parse-config-test.c In file included from cast128-test.c:1: cast128-test.c: In function 'test_main': cast128-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] @@ -4464,20 +4510,11 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -testutils.c: In function 'decode_hex': -testutils.c:62:39: warning: pointer targets in passing argument 1 of 'decode_hex_length' differ in signedness [-Wpointer-sign] - 62 | uint32_t length = decode_hex_length(hex); - | ^~~ - | | - | const unsigned char * -testutils.c:39:31: note: expected 'const char *' but argument is of type 'const unsigned char *' - 39 | decode_hex_length(const char *h) - | ~~~~~~~~~~~~^ -In file included from aes-test.c:1: -aes-test.c: In function 'test_main': -aes-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 9 | H("603deb1015ca71be2b73aef0857d7781" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from twofish-test.c:1: +twofish-test.c: In function 'test_main': +twofish-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 7 | H("0123456789ABCDEF FEDCBA9876543210" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4486,9 +4523,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -aes-test.c:11:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 11 | H("6bc1bee22e409f96e93d7e117393172a" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +twofish-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 9 | H("0000000000000000 0000000000000000" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4497,9 +4534,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -aes-test.c:15:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 15 | H("f58c4c04d6e5f1ba779eabfb5f7bfbd6" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +twofish-test.c:11:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 11 | H("7c9cde6d86b1d9f2 9fceb6830c451281" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4508,9 +4545,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -aes-test.c:19:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 19 | H("000102030405060708090a0b0c0d0e0f")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +twofish-test.c:13:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 13 | H("0011223344556677 8899AABBCCDDEEFF")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4521,8 +4558,6 @@ | ^~~~~~~~~~~~~~~~~~~~~ In file included from arcfour-test.c:1: arcfour-test.c: In function 'test_main': -In file included from blowfish-test.c:1: -blowfish-test.c: In function 'test_main': arcfour-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 7 | H("01234567 89ABCDEF 00000000 00000000"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4531,9 +4566,12 @@ testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ -blowfish-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 7 | H("0123456789ABCDEF FEDCBA9876543210"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ +arcfour-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 8 | H("01234567 89ABCDEF"), + | ^~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4542,20 +4580,31 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ -arcfour-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 8 | H("01234567 89ABCDEF"), +arcfour-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 9 | H("69723659 1B5242B1"), | ^~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ -blowfish-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 8 | H("0000000000000000 1111111111111111"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ +testutils.c: In function 'decode_hex': +testutils.c:62:39: warning: pointer targets in passing argument 1 of 'decode_hex_length' differ in signedness [-Wpointer-sign] + 62 | uint32_t length = decode_hex_length(hex); + | ^~~ + | | + | const unsigned char * +testutils.c:39:31: note: expected 'const char *' but argument is of type 'const unsigned char *' + 39 | decode_hex_length(const char *h) + | ~~~~~~~~~~~~^ +In file included from aes-test.c:1: +aes-test.c: In function 'test_main': +aes-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 9 | H("603deb1015ca71be2b73aef0857d7781" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4564,20 +4613,31 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ +aes-test.c:11:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 11 | H("6bc1bee22e409f96e93d7e117393172a" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * +testutils.h:63:25: note: in definition of macro 'H' + 63 | #define H(x) decode_hex(x) + | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -arcfour-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 9 | H("69723659 1B5242B1"), - | ^~~~~~~~~~~~~~~~~~~ +aes-test.c:15:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 15 | H("f58c4c04d6e5f1ba779eabfb5f7bfbd6" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ -blowfish-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 9 | H("f0fb0320a19f306d ff5880191e616c10"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ +aes-test.c:19:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 19 | H("000102030405060708090a0b0c0d0e0f")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4586,35 +4646,58 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sockaddr2info-test.o sockaddr2info-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o utf8-test.o utf8-test.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o mini-inetd.o mini-inetd.c +parse-config-test.c: In function 'test_main': +In file included from string-test.c:1: +string-test.c: In function 'test_main': +parse-config-test.c:100:48: warning: pointer targets in passing argument 2 of 'config_parse_string' differ in signedness [-Wpointer-sign] + 100 | = config_parse_string(strlen(config_file), config_file); + | ^~~~~~~~~~~ + | | + | const char * +In file included from parse-config-test.c:3: +/build/lsh-utils-2.1/src/testsuite/../parse_config.h:36:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 36 | config_parse_string(uint32_t length, const uint8_t *data); + | ~~~~~~~~~~~~~~~^~~~ +string-test.c:14:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 14 | s = H("66006f"); + | ^~~~~~~~ + | | + | char * +testutils.h:63:25: note: in definition of macro 'H' + 63 | #define H(x) decode_hex(x) + | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -blowfish-test.c:10:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 10 | H("0011223344556677")); - | ^~~~~~~~~~~~~~~~~~ - | | - | char * +string-test.c:17:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 17 | s = H("6600"); + | ^~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -In file included from serpent-test.c:1: -serpent-test.c: In function 'test_main': -serpent-test.c:10:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 10 | H("0123456789ABCDEF FEDCBA9876543210" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +string-test.c:20:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 20 | s = H(""); + | ^~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -serpent-test.c:12:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 12 | H("0000000000000000 0000000000000000" +In file included from blowfish-test.c:1: +blowfish-test.c: In function 'test_main': +blowfish-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 7 | H("0123456789ABCDEF FEDCBA9876543210"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4624,8 +4707,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -serpent-test.c:14:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 14 | H("c170ed586cfda8fe 084f01ef04475883" +blowfish-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 8 | H("0000000000000000 1111111111111111"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4635,8 +4718,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -serpent-test.c:16:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 16 | H("0011223344556677 8899AABBCCDDEEFF")); +blowfish-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 9 | H("f0fb0320a19f306d ff5880191e616c10"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4646,18 +4729,19 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -In file included from des-test.c:1: -des-test.c: In function 'test_main': -In file included from twofish-test.c:1: -twofish-test.c: In function 'test_main': -twofish-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 7 | H("0123456789ABCDEF FEDCBA9876543210" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +blowfish-test.c:10:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 10 | H("0011223344556677")); + | ^~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ +In file included from des-test.c:1: +des-test.c: In function 'test_main': des-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 7 | H("0123456789ABCDEF 1313131313131313 3232323232323232"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4669,9 +4753,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ +In file included from serpent-test.c:1: +serpent-test.c: In function 'test_main': des-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 8 | H("0011223344556677 8899AABBCCDDEEFF"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4680,8 +4763,11 @@ testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ -twofish-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 9 | H("0000000000000000 0000000000000000" +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ +serpent-test.c:10:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 10 | H("0123456789ABCDEF FEDCBA9876543210" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4691,9 +4777,6 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ des-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 9 | H("C4DB96109B6186B2 5F9AA359160909D9"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4702,8 +4785,8 @@ testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ -twofish-test.c:11:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 11 | H("7c9cde6d86b1d9f2 9fceb6830c451281" +serpent-test.c:12:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 12 | H("0000000000000000 0000000000000000" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4713,19 +4796,22 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ -des-test.c:10:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 10 | H("0001020304050607")); - | ^~~~~~~~~~~~~~~~~~ +serpent-test.c:14:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 14 | H("c170ed586cfda8fe 084f01ef04475883" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ -twofish-test.c:13:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 13 | H("0011223344556677 8899AABBCCDDEEFF")); +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ +testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' + 21 | decode_hex(const unsigned char *); + | ^~~~~~~~~~~~~~~~~~~~~ +serpent-test.c:16:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 16 | H("0011223344556677 8899AABBCCDDEEFF")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4735,32 +4821,22 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o md5-test.o md5-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sha1-test.o sha1-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o rsa-test.o rsa-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o dsa-test.o dsa-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o spki-tag-test.o spki-tag-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o string-test.o string-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o parse-config-test.o parse-config-test.c -In file included from md5-test.c:1: -md5-test.c: In function 'test_main': -md5-test.c:12:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 12 | H("D41D8CD98F00B204 E9800998ECF8427E")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +des-test.c:10:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 10 | H("0001020304050607")); + | ^~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:16:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 16 | H("0CC175B9C0F1B6A8 31C399E269772661")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from sha1-test.c:1: +sha1-test.c: In function 'test_main': +sha1-test.c:11:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 11 | H("A9993E364706816A BA3E25717850C26C 9CD0D89D")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4769,63 +4845,63 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:20:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 20 | H("900150983cd24fb0 D6963F7D28E17F72")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +sha1-test.c:16:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 16 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:24:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 24 | H("F96B697D7CB7938D 525A2F31AAF161D0")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +sha1-test.c:18:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 18 | H("675B0B3A1B4DDF4E 124872DA6C2F632B FED957E9")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:28:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 28 | H("C3FCD3D76192E400 7DFB496CCA67E13B")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +sha1-test.c:21:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 21 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b 0b0b0b0b"), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:32:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 32 | H("D174AB98D277D9F5 A5611C2C9F419D9F")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +sha1-test.c:23:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 23 | H("B617318655057264 E28BC0B6FB378C8E F146BE00")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:37:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 37 | H("57EDF4A22BE3C955 AC49DA2E2107B67A")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +sha1-test.c:28:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 28 | H("EFFCDF6AE5EB2FA2 D27416D5F184DF9C 259A7C79")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:41:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 41 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), +sha1-test.c:31:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 31 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4835,8 +4911,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:43:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 43 | H("9294727A3638BB1C 13F48EF8158BFC9D")); +sha1-test.c:32:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 32 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4846,9 +4922,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:48:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 48 | H("750C783E6AB0B503 EAA86E310A5DB738")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:36:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 36 | H("D730594D167E35D5 956FD8003D0DB3D3 F46DC7BB")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4857,9 +4933,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:51:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 51 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:39:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 39 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA AAAAAAAA"), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4868,8 +4944,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:52:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 52 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" +sha1-test.c:40:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 40 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4879,9 +4955,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:56:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 56 | H("56BE34521D144C88 DBB8C733F0E8B3F6")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:44:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 44 | H("125D7342B9AC11CD 91A39AF48AA17B4F 63F175D3")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4890,8 +4966,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:59:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 59 | H("0102030405060708 090A0B0C0D0E0F10 1112131415161718 19"), +sha1-test.c:47:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 47 | H("0102030405060708 090A0B0C0D0E0F10 1112131415161718 19"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4901,8 +4977,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:60:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 60 | H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" +sha1-test.c:48:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 48 | H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4912,9 +4988,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:64:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 64 | H("697EAF0ACA3A3AEA 3A75164746FFAA79")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:52:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 52 | H("4C9007F4026250C6 BC8414F9BF50C86C 2D7235DA")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4923,9 +4999,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:67:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 67 | H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:55:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 55 | H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C 0C0C0C0C"), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4934,9 +5010,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:69:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 69 | H("56461EF2342EDC00 F9BAB995690EFD4C")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:57:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 57 | H("4C1A03424B55E07F E7F27BE1D58BB932 4A9A5A04")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4945,8 +5021,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:72:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 72 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" +sha1-test.c:60:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 60 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4956,9 +5032,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:78:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 78 | H("6b1ab7fe4bd7bf8f0b62e6ce61b9d0cd")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:66:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 66 | H("AA4AE5E15272D00E 95705637CE8A3B55 ED402112")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4967,8 +5043,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:81:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 81 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" +sha1-test.c:69:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 69 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -4978,9 +5054,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -md5-test.c:88:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 88 | H("6f630fad67cda0ee1fb1f562db3aa53e")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sha1-test.c:76:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 76 | H("E8E99D0F45237D78 6D6BBAA7965C7808 BBFF1A91")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -4989,12 +5065,12 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o sockaddr2info-test.o sockaddr2info-test.c -In file included from sha1-test.c:1: -sha1-test.c: In function 'test_main': -sha1-test.c:11:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 11 | H("A9993E364706816A BA3E25717850C26C 9CD0D89D")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpconnect.o tcpconnect.c +In file included from md5-test.c:1: +md5-test.c: In function 'test_main': +md5-test.c:12:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 12 | H("D41D8CD98F00B204 E9800998ECF8427E")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5003,74 +5079,74 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:16:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 16 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +md5-test.c:16:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 16 | H("0CC175B9C0F1B6A8 31C399E269772661")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:18:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 18 | H("675B0B3A1B4DDF4E 124872DA6C2F632B FED957E9")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +md5-test.c:20:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 20 | H("900150983cd24fb0 D6963F7D28E17F72")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:21:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 21 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b 0b0b0b0b"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +md5-test.c:24:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 24 | H("F96B697D7CB7938D 525A2F31AAF161D0")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:23:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 23 | H("B617318655057264 E28BC0B6FB378C8E F146BE00")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +md5-test.c:28:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 28 | H("C3FCD3D76192E400 7DFB496CCA67E13B")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:28:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 28 | H("EFFCDF6AE5EB2FA2 D27416D5F184DF9C 259A7C79")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +md5-test.c:32:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 32 | H("D174AB98D277D9F5 A5611C2C9F419D9F")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:31:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 31 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * +md5-test.c:37:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 37 | H("57EDF4A22BE3C955 AC49DA2E2107B67A")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:32:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 32 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" +md5-test.c:41:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 41 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -5080,20 +5156,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:36:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 36 | H("D730594D167E35D5 956FD8003D0DB3D3 F46DC7BB")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | char * -testutils.h:63:25: note: in definition of macro 'H' - 63 | #define H(x) decode_hex(x) - | ^ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:39:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 39 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA AAAAAAAA"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:43:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 43 | H("9294727A3638BB1C 13F48EF8158BFC9D")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5102,8 +5167,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:40:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 40 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" +md5-test.c:48:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 48 | H("750C783E6AB0B503 EAA86E310A5DB738")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -5113,9 +5178,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:44:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 44 | H("125D7342B9AC11CD 91A39AF48AA17B4F 63F175D3")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:51:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 51 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5124,9 +5189,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:47:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 47 | H("0102030405060708 090A0B0C0D0E0F10 1112131415161718 19"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:52:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 52 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5135,8 +5200,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:48:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 48 | H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" +md5-test.c:56:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 56 | H("56BE34521D144C88 DBB8C733F0E8B3F6")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -5146,9 +5211,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:52:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 52 | H("4C9007F4026250C6 BC8414F9BF50C86C 2D7235DA")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:59:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 59 | H("0102030405060708 090A0B0C0D0E0F10 1112131415161718 19"), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5157,9 +5222,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:55:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 55 | H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C 0C0C0C0C"), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:60:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 60 | H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5168,9 +5233,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:57:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 57 | H("4C1A03424B55E07F E7F27BE1D58BB932 4A9A5A04")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:64:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 64 | H("697EAF0ACA3A3AEA 3A75164746FFAA79")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5179,8 +5244,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:60:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 60 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" +md5-test.c:67:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 67 | H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -5190,9 +5255,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:66:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 66 | H("AA4AE5E15272D00E 95705637CE8A3B55 ED402112")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:69:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 69 | H("56461EF2342EDC00 F9BAB995690EFD4C")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5201,8 +5266,8 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:69:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 69 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" +md5-test.c:72:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 72 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * @@ -5212,9 +5277,9 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -sha1-test.c:76:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 76 | H("E8E99D0F45237D78 6D6BBAA7965C7808 BBFF1A91")); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:78:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 78 | H("6b1ab7fe4bd7bf8f0b62e6ce61b9d0cd")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' @@ -5223,56 +5288,38 @@ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -In file included from string-test.c:1: -string-test.c: In function 'test_main': -string-test.c:14:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 14 | s = H("66006f"); - | ^~~~~~~~ - | | - | char * -testutils.h:63:25: note: in definition of macro 'H' - 63 | #define H(x) decode_hex(x) - | ^ -testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' - 21 | decode_hex(const unsigned char *); - | ^~~~~~~~~~~~~~~~~~~~~ -string-test.c:17:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 17 | s = H("6600"); - | ^~~~~~ - | | - | char * +md5-test.c:81:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 81 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -string-test.c:20:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - 20 | s = H(""); - | ^~ - | | - | char * +md5-test.c:88:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + 88 | H("6f630fad67cda0ee1fb1f562db3aa53e")); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ -parse-config-test.c: In function 'test_main': -parse-config-test.c:100:48: warning: pointer targets in passing argument 2 of 'config_parse_string' differ in signedness [-Wpointer-sign] - 100 | = config_parse_string(strlen(config_file), config_file); - | ^~~~~~~~~~~ - | | - | const char * -In file included from parse-config-test.c:3: -/build/lsh-utils-2.1/src/testsuite/../parse_config.h:36:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 36 | config_parse_string(uint32_t length, const uint8_t *data); - | ~~~~~~~~~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o utf8-test.o utf8-test.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o mini-inetd.o mini-inetd.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I/build/lsh-utils-2.1/src/testsuite/.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -c -o tcpconnect.o tcpconnect.c -gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o arcfour-test arcfour-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp -gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o aes-test aes-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +utf8-test.c: In function 'test_main': +utf8-test.c:84:45: warning: pointer targets in passing argument 2 of 'low_utf8_to_local' differ in signedness [-Wpointer-sign] + 84 | s = low_utf8_to_local(length, buffer, flags[j]); + | ^~~~~~ + | | + | char * +In file included from utf8-test.c:2: +/build/lsh-utils-2.1/src/testsuite/../charset.h:62:70: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 62 | struct lsh_string *low_utf8_to_local(uint32_t length, const uint8_t *s, enum utf8_flag flags); + | ~~~~~~~~~~~~~~~^ In file included from sockaddr2info-test.c:1: sockaddr2info-test.c: In function 'test_ip_v4': sockaddr2info-test.c:19:50: warning: pointer targets in passing argument 3 of 'lsh_string_eq_l' differ in signedness [-Wpointer-sign] @@ -5299,23 +5346,13 @@ /build/lsh-utils-2.1/src/testsuite/../lsh_string.h:89:77: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 89 | lsh_string_eq_l(const struct lsh_string *a, uint32_t length, const uint8_t *b); | ~~~~~~~~~~~~~~~^ +gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o arcfour-test arcfour-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o aes-test aes-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o blowfish-test blowfish-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp -utf8-test.c: In function 'test_main': -utf8-test.c:84:45: warning: pointer targets in passing argument 2 of 'low_utf8_to_local' differ in signedness [-Wpointer-sign] - 84 | s = low_utf8_to_local(length, buffer, flags[j]); - | ^~~~~~ - | | - | char * -In file included from utf8-test.c:2: -/build/lsh-utils-2.1/src/testsuite/../charset.h:62:70: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 62 | struct lsh_string *low_utf8_to_local(uint32_t length, const uint8_t *s, enum utf8_flag flags); - | ~~~~~~~~~~~~~~~^ gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o cast128-test cast128-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o des-test des-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o serpent-test serpent-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o twofish-test twofish-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp -gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o md5-test md5-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp -gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o sha1-test sha1-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o rsa-test rsa-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o dsa-test dsa-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o spki-tag-test spki-tag-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp @@ -5323,6 +5360,8 @@ gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o parse-config-test parse-config-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o sockaddr2info-test sockaddr2info-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o utf8-test utf8-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o md5-test md5-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp +gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o sha1-test sha1-test.o testutils.o ../liblsh.a ../spki/libspki.a -lnettle -lhogweed -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o mini-inetd mini-inetd.o -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp gcc -g -O2 -ffile-prefix-map=/build/lsh-utils-2.1=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o tcpconnect tcpconnect.o -lpam -lutil -lcrypt -lXau -lwrap -lz -loop -lgmp make check to build testprograms. @@ -5515,39 +5554,38 @@ PASS: conv-3 PASS: export-1 Testing lsh-keygen DSA key generation -xxxxxxxxxqpg(private-key (dsa (p |AMScSsFErt/D5ZSnMdvV3ChgJk18MPnG/BhJh7Wb8Xqao1NLpF - 7ad5LrbwmHnx5FwIjENNKl+Ztd2763cLMtFgcsX6XOVHlnqozl - A4olqcMx|) - (q |AJHlvpw/aIbN0em4KXNSDvW8IV2l|) - (g |XQ9bxIClMI3D/CQh5YPOu3BpEJA6qnR/x3p8pM+cA8RV3MptEO - D4T/HTffcy+kS1PvIvGnRZ4rNKmLM8Ku6Kpue80aGZns95Ahz5 - n8shLg8=|) - (y |AJyZDa7ia0iqPNJyjTI3/Ryts5q8xIZAJ4mGymQKvm5EAhaT0K - NCllR8pSgEFn2zWWgttf8D0fyvXvilulSlJJMDtiGg+kyeo4As - oGJEtB8d|) - (x |Jn0yiD9E7mutSc+6G6Tcygnsqbs=|))) +xxxxxxxxxqpg(private-key (dsa (p |AMclYr1R0cCNnrMR8IKTKuOTE90O0kOJa+EjCI+/AZt/dvLCr+ + mbaaV8HLUJ6A40ZYFWS3ztmoLXD8xpe0/FxtuVSPMgiBwz4DoG + YL9af66b|) + (q |AItbOd/WgJd02oY0M3YSh3EZUIzJ|) + (g |AJaj7fnAJGrzG32gvsUvymeCPli6V7O/Q56Sy2qxvfXNh53Px7 + o862VK6BdXBKThxnGHmLo/RIgHve38pn6AiOiFp0iMwvawlBmR + wvDb3Emi|) + (y |ALJQCHDPVPEFqnvGGZ3rrtvxkikd6X6KIga5nPY1kxBuUcgxyq + m7PwoWE/xPsqTbCm/siL+Zv9b8X8MUcvfUFEhmAejZeSKdu2fM + kMbnDWN6|) + (x |AIIMR2G5GmzKaJ5cMdBOCiRlNzjo|))) PASS: keygen-1 Testing lsh-keygen RSA key generation xxxxx xxxxx - -(private-key (rsa-pkcs1 (n |AZxznq/alMmbnJId6cDSjRm8AtNXgF0HhKnjo23p/2tR - axIM4oxWvT3Is0K1qeEe+Td47iU6Utm0P1T/MUVpphZl - YU5v/XlaQxkkZbpDN6HOn5INL5ZmELXrjeqLVX5uhr0=|) - (e |OjP48Q==|) - (d |BWAcA0pcGr8RbwpsrJTlTwV7tlOqCBbXpdcsWKjASR8C - Qy+ckj9DrJsWRYYc/Ymb5IWffYW2/1jtToWNj1GavgF/ - 81qmQCHL4Im3yuhibFiYdm5Bti/JnQ5eH0d8f5fGUQ==|) - (p |HfAFewek7Ltcp+ZSw1jDwOb4qpmduZ+fB0WHy/X1LAzC - 1jWdOoiAxyOLFU+lltW+1Q==|) - (q |Dcbs3byQVMYasp+fVic1UrHMmHgdJhrypyI2J9PWU+7Q - aPzpNLvGmlYOtX2UrDSsSQ==|) - (a |E/MWel8iWTv6femcaVJilARKXUlVG5JC0+et777ccAKD - lx7LUiUwuv2BzXm5vnl2gQ==|) - (b |Cqr0Z06bFP00pANAmTf6rtoIN21c6wcORFqqlfc8qyXp - JlqiLgwuxAQoDK+sXEbqUQ==|) - (c |HGS2Z3ApPyOzJPgmTAkaBqkjzh4q0349Nsd07HyCeqb4 - WsZslpx4K1ee4M7hRvhwQw==|))) +(private-key (rsa-pkcs1 (n |AWCdmPsqdLedijN1lKLZ9m3wVxs1ThfaEhfq8Mz/lXmS + TU3ozRSyzvgPV9lUj/CIxlx37m2J9wfr7l2zuA9cnMYy + CXpfOgvCJDcwU/1OdCW/273diAjQv04dc8c9CGk4xtE=|) + (e |O0IP4w==|) + (d |ALnZtoooSWUoBTNx4QuljlwnKM8bgy+J3iObK58UNG0Z + vO1+7T2A4OwQhYXQhx3E5YP1LZFbGU96C0ZzURdp5mp8 + dp0KFyKD+HlNtP/whdvzdzXJKlqrIsBqFDYtK7dksUs=|) + (p |GdL8vhi1wdotXIH3pet8ja3B4thbdLNT3mDn6jnmmzJg + bT0TPUVqYvkZlncaOE8edQ==|) + (q |DaeMCpkVlMA8QA+dHkUesqfLPLJzXHjsPE9Cgi6L4rS6 + Cnqu20am6yGW90Y3uqmzbQ==|) + (a |AX0b2lYcmWhO+lJhxvm3bHUUnecTC4mq5vSs4IuFW5V0 + 0ZqQ+JByq/tVoH2jcnEsww==|) + (b |Ax7tGWBXh8zM7D9P2+hnxj7LCJ3SJr7pQ5Y/Pxdgwhqy + PthE8SIzyFZUKK0BSnwpAw==|) + (c |F3Vub5zX9ueOa/qd/mzxewQUk6tiNWT8/eKOM6i9kyHi + clfNlP5PGxccjUsyz7p+qg==|))) PASS: keygen-2 Testing lsh-writekey PASS: write-key-1 @@ -5557,25 +5595,25 @@ test-seed-1 test-seed-2 differ: char 1, line 1 PASS: seed lsh, test 1 -lshd pid: 23070 +lshd pid: 63609 PASS: lsh-1 lsh, test 2 -lshd pid: 23663 +lshd pid: 64089 Hello world. PASS: lsh-2 lsh, test 3 -lshd pid: 23885 +lshd pid: 67162 Hello world. PASS: lsh-3 lsh, test 4 -lshd pid: 24215 +lshd pid: 69225 Hello world PASS: lsh-4 lsh, test 5, using an RSA hostkey -lshd pid: 24503 +lshd pid: 70947 PASS: lsh-5 lsh, test 6, using various encryption algorithms -lshd pid: 25423 +lshd pid: 71639 Trying encryption flag arcfour Ok Trying encryption flag twofish @@ -5596,18 +5634,19 @@ Ok PASS: lsh-6 lsh, test 7 -lshd pid: 26463 +lshd pid: 72361 PASS: lsh-7 lsh, test 8, unencrypted session -lshd pid: 29210 +lshd pid: 75736 PASS: lsh-8 lsh, test 9, check that LSHFLAGS works. -lshd pid: 30050 +lshd pid: 75967 PASS: lsh-9 lsh, encrypted key test xxxxxx xxxxxx -lshd pid: 490 + +lshd pid: 76293 Hello world PASS: lsh-encrypted-key lsh-decrypt-key-test @@ -5616,42 +5655,41 @@ PASS: lsh-decrypt-key lsh, cat test -lshd pid: 1054 +lshd pid: 76582 lsh-cat-test: Ok, files match. PASS: lsh-cat lshg test 1 -lshd pid: 2453 +lshd pid: 78871 PASS: lshg-1 lshg, cat test -lshd pid: 3780 +lshd pid: 81567 lshg-cat-test: Ok, files match. PASS: lshg-cat lshg, cat 2 test -lshd pid: 7681 +lshd pid: 84554 lshg-cat-2-test: Ok, files match. PASS: lshg-cat-2 Closed spurious fd 9 -lshd pid: 9361 +lshd pid: 87245 daemon-fd-test: Ok, files match. PASS: daemon-fd -lshd pid: 11241 +lshd pid: 87702 foo PASS: tcpip-local -lshd pid: 11674 +lshd pid: 88050 bar PASS: tcpip-local-in-use -lshd pid: 12015 +lshd pid: 88367 foo PASS: tcpip-remote SKIP: socks5 SKIP: socks4 -lshd pid: 13777 +lshd pid: 90425 foo -./lshg-tcpip-local-test: 1: kill: No such process - +/build/lsh-utils-2.1/src/testsuite/functions.sh: line 44: kill: (90528) - No such process PASS: lshg-tcpip-local testing lcp -lshd pid: 14504 +lshd pid: 90733 bash: line 1: files/lcp-file-1.txt: cannot overwrite existing file bash: line 1: files/lcp-file-1.txt: cannot overwrite existing file /build/lsh-utils-2.1/src/testsuite/../lcp: line 116: ./lcp-file-1.txt: cannot overwrite existing file @@ -6328,7 +6366,7 @@ Test done PASS: rapid7-lsh Testing lshd -lshd pid: 19722 +lshd pid: 94403 Testing /build/lsh-utils-2.1/src/testsuite/rapid7-ssh-pdu/0000001.pdu Testing /build/lsh-utils-2.1/src/testsuite/rapid7-ssh-pdu/0000002.pdu Testing /build/lsh-utils-2.1/src/testsuite/rapid7-ssh-pdu/0000003.pdu @@ -6998,7 +7036,7 @@ Test done PASS: rapid7-lshd lsh, test login, login-auth-mode -lshd pid: 21623 +lshd pid: 97235 lsh-login-test: Ok, files match. PASS: login-auth lshd, no-auth-test @@ -7006,7 +7044,7 @@ Try `lshd --help' or `lshd --usage' for more information. PASS: lshd-no-auth Testing lshd with random input -lshd pid: 22444 +lshd pid: 101757 Trying seed 1 Trying seed 2 Trying seed 3 @@ -7082,13 +7120,13 @@ Making install in . make[5]: Entering directory '/build/lsh-utils-2.1/src/sftp' make[6]: Entering directory '/build/lsh-utils-2.1/src/sftp' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' /usr/bin/install -c lsftp '/build/lsh-utils-2.1/debian/tmp/usr/bin' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/sbin' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/sbin' /usr/bin/install -c sftp-server '/build/lsh-utils-2.1/debian/tmp/usr/sbin' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' /usr/bin/install -c -m 644 lsftp.1 '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 sftp-server.8 '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' make[6]: Leaving directory '/build/lsh-utils-2.1/src/sftp' make[5]: Leaving directory '/build/lsh-utils-2.1/src/sftp' @@ -7127,11 +7165,11 @@ Making install in . make[4]: Entering directory '/build/lsh-utils-2.1/src' make[5]: Entering directory '/build/lsh-utils-2.1/src' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' /usr/bin/install -c lsh lshg lsh-keygen lsh-writekey lsh-decrypt-key lsh-decode-key lsh-export-key lsh-make-seed srp-gen '/build/lsh-utils-2.1/debian/tmp/usr/bin' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/bin' /usr/bin/install -c lsh-authorize ssh-conv lsh-upgrade lsh-upgrade-key lcp '/build/lsh-utils-2.1/debian/tmp/usr/bin' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/sbin' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/sbin' /usr/bin/install -c lshd lsh-execuv lsh-krb-checkpw lsh-pam-checkpw '/build/lsh-utils-2.1/debian/tmp/usr/sbin' make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/build/lsh-utils-2.1/src' @@ -7149,13 +7187,13 @@ make[2]: Entering directory '/build/lsh-utils-2.1/doc' make[3]: Entering directory '/build/lsh-utils-2.1/doc' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/info' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/info' /usr/bin/install -c -m 644 ./lsh.info '/build/lsh-utils-2.1/debian/tmp/usr/share/info' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' /usr/bin/install -c -m 644 lsh.1 lsh-authorize.1 lsh-decode-key.1 lsh-decrypt-key.1 lsh-export-key.1 lshg.1 lsh-keygen.1 lsh-make-seed.1 lsh-upgrade.1 lsh-upgrade-key.1 lsh-writekey.1 ssh-conv.1 '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man1' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man5' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man5' /usr/bin/install -c -m 644 DSA.5 SHA.5 SPKI.5 secsh.5 '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man5' - /bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' + /usr/bin/mkdir -p '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 lshd.8 '/build/lsh-utils-2.1/debian/tmp/usr/share/man/man8' make[3]: Leaving directory '/build/lsh-utils-2.1/doc' make[2]: Leaving directory '/build/lsh-utils-2.1/doc' @@ -7221,10 +7259,10 @@ dh_builddeb -a dpkg-deb: building package 'lsh-utils' in '../lsh-utils_2.1-13_i386.deb'. dpkg-deb: building package 'lsh-client-dbgsym' in '../lsh-client-dbgsym_2.1-13_i386.deb'. -dpkg-deb: building package 'lsh-server-dbgsym' in '../lsh-server-dbgsym_2.1-13_i386.deb'. dpkg-deb: building package 'lsh-client' in '../lsh-client_2.1-13_i386.deb'. -dpkg-deb: building package 'lsh-server' in '../lsh-server_2.1-13_i386.deb'. dpkg-deb: building package 'lsh-utils-dbgsym' in '../lsh-utils-dbgsym_2.1-13_i386.deb'. +dpkg-deb: building package 'lsh-server-dbgsym' in '../lsh-server-dbgsym_2.1-13_i386.deb'. +dpkg-deb: building package 'lsh-server' in '../lsh-server_2.1-13_i386.deb'. dh_testdir dh_testroot dh_install -i --sourcedir=debian/tmp @@ -7257,12 +7295,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/44780/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/44780/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/2697 and its subdirectories -I: Current time: Thu Apr 27 11:30:46 -12 2023 -I: pbuilder-time-stamp: 1682638246 +I: removing directory /srv/workspace/pbuilder/44780 and its subdirectories +I: Current time: Thu May 30 19:58:30 +14 2024 +I: pbuilder-time-stamp: 1717048710