Diff of the two buildlogs: -- --- b1/build.log 2021-12-06 00:42:30.263593052 +0000 +++ b2/build.log 2021-12-06 00:58:19.339049327 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 7 19:00:46 -12 2023 -I: pbuilder-time-stamp: 1673161246 +I: Current time: Mon Dec 6 14:42:51 +14 2021 +I: pbuilder-time-stamp: 1638751371 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Tue Jan 9 09:26:22 2018 -12 +gpgv: Signature made Wed Jan 10 11:26:22 2018 +14 gpgv: using RSA key CD2A073B386154170A4082E8D4F219BFEC998489 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./lsh-utils_2.1-12.dsc @@ -37,136 +37,170 @@ dpkg-source: info: applying dont_clear_umask.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2231122/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2420851/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/2420851/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2420851/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='62159cf7c3c24dffbdb28c80777ae7cb' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2231122' - PS1='# ' - PS2='> ' + INVOCATION_ID=fc724cf144eb4ee7855890c8d587143e + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=2420851 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/tmp.thzyRxYasH/pbuilderrc_S2DX --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.thzyRxYasH/b1 --logfile b1/build.log lsh-utils_2.1-12.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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/tmp.thzyRxYasH/pbuilderrc_i87m --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.thzyRxYasH/b2 --logfile b2/build.log lsh-utils_2.1-12.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos5-amd64 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Dec 10 16:21 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/2231122/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Dec 6 14:44 sh -> bash + lrwxrwxrwx 1 root root 4 Nov 8 11:58 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/2420851/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -306,7 +340,7 @@ Get: 71 http://deb.debian.org/debian buster/main amd64 nettle-dev amd64 3.4.1-1+deb10u1 [1077 kB] Get: 72 http://deb.debian.org/debian buster/main amd64 texinfo amd64 6.5.0.dfsg.1-4+b1 [1431 kB] Get: 73 http://deb.debian.org/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1 [214 kB] -Fetched 27.3 MB in 0s (73.1 MB/s) +Fetched 27.3 MB in 3s (10.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (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 ... 19195 files and directories currently installed.) @@ -631,7 +665,8 @@ fakeroot is already the newest version (1.23-1). 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-12_source.changes +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-12_source.changes dpkg-buildpackage: info: source package lsh-utils dpkg-buildpackage: info: source version 2.1-12 dpkg-buildpackage: info: source distribution unstable @@ -922,7 +957,7 @@ 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=x86_64-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' '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' '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=x86_64-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=x86_64-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' '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' '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=x86_64-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 thread-safe mkdir -p... /bin/mkdir -p @@ -992,7 +1027,7 @@ 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=x86_64-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' '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' '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=x86_64-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=x86_64-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' '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' '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=x86_64-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 thread-safe mkdir -p... /bin/mkdir -p @@ -1136,7 +1171,7 @@ config.status: executing depfiles commands dh_testdir # Add here commands to compile the package. -/usr/bin/make -j16 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' @@ -1213,23 +1248,6 @@ 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 -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 -io_input.c: In function 'sftp_read_packet': -io_input.c:149:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 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] - while (writteni) - ^ -misc_fun.c: In function 'mgetenv_init': -misc_fun.c:61:27: warning: unused parameter 'envp' [-Wunused-parameter] - void mgetenv_init( char** envp ) - ~~~~~~~^~~~ -misc_fun.c: In function 'massage_fname': -misc_fun.c:68:38: warning: unused parameter 'local' [-Wunused-parameter] - char* massage_fname(char* fname, int local) - ~~~~^~~~~ 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] length = vsnprintf(current, needed, format, args); @@ -1250,6 +1268,10 @@ /usr/include/time.h:88:15: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} extern size_t strftime (char *__restrict __s, size_t __maxsize, ^~~~~~~~ +io_input.c: In function 'sftp_read_packet': +io_input.c:149:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + while (bytesread < sizeof(buf)) + ^ 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] statret = stat( fname, &st ); @@ -1286,34 +1308,22 @@ sftp_c.c:1239:15: warning: unused parameter 'fnamelen' [-Wunused-parameter] uint32_t fnamelen, ~~~~~~~~~^~~~~~~~ -sftp_bind.c: In function 'lsftp_open_connection': -sftp_bind.c:210:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - cur_string = - ^~~~~~~~~~ -sftp_bind.c:234:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - cur_string = - ^~~~~~~~~~ -sftp_bind.c: In function 'lsftp_callback': -sftp_bind.c:581:7: warning: variable 'retval' set but not used [-Wunused-but-set-variable] - int retval; - ^~~~~~ -sftp_bind.c: In function 'lsftp_do_get': -sftp_bind.c:779:5: warning: pointer targets in passing argument 5 of 'sftp_get_file_init' differ in signedness [-Wpointer-sign] - tmp, strlen( tmp ), - ^~~ -In file included from sftp_bind.h:61, - from sftp_bind.c:34: -sftp_c.h:276:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - sftp_get_file_init(struct sftp_callback *state, - ^~~~~~~~~~~~~~~~~~ -sftp_bind.c:780:5: warning: pointer targets in passing argument 7 of 'sftp_get_file_init' differ in signedness [-Wpointer-sign] - local, strlen( local), - ^~~~~ -In file included from sftp_bind.h:61, - from sftp_bind.c:34: -sftp_c.h:276:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - sftp_get_file_init(struct sftp_callback *state, - ^~~~~~~~~~~~~~~~~~ +misc_fun.c: In function 'mgetenv_init': +misc_fun.c:61:27: warning: unused parameter 'envp' [-Wunused-parameter] + void mgetenv_init( char** envp ) + ~~~~~~~^~~~ +misc_fun.c: In function 'massage_fname': +misc_fun.c:68:38: warning: unused parameter 'local' [-Wunused-parameter] + char* massage_fname(char* fname, int local) + ~~~~^~~~~ +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] + while (writteni) + ^ +commands.c: In function 'com_lcd': +commands.c:1868:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] + int ret; + ^~~ rl.c: In function 'lsftp_rl_completion': rl.c:222:11: warning: passing argument 2 of 'rl_completion_matches' from incompatible pointer type [-Wincompatible-pointer-types] lsftp_rl_command_generator @@ -1366,6 +1376,71 @@ rl.c:522:9: warning: unused variable 'username' [-Wunused-variable] char* username; ^~~~~~~~ +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] + 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] + s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ + ^ +In file included from sftp_bind.h:63, + from commands.h:41, + from commands.c:31: +str_utils.h:42:13: note: expected 'const char *' but argument is of type 'const unsigned char *' + 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] + 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] + return com_escape( s+1, entered_cmd ); + ~^~ +commands.c:352:1: note: expected 'const char *' but argument is of type 'const unsigned char *' + 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] + return com_longhelp( s+1, entered_cmd ); + ~^~ +commands.c:244:1: note: expected 'const char *' but argument is of type 'const unsigned char *' + 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] + s = lsftp_s_strtok(s," \n\t\r", &tmp ); + ^ +In file included from sftp_bind.h:63, + from commands.h:41, + from commands.c:31: +str_utils.h:39:13: note: expected 'const char *' but argument is of type 'const unsigned char *' + 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] + s = lsftp_s_strtok(s," \n\t\r", &tmp ); + ^ +commands.c:2184:22: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] + lsftp_s_skip(s," \n\t\r"), + ^ +In file included from sftp_bind.h:63, + from commands.h:41, + from commands.c:31: +str_utils.h:42:13: note: expected 'const char *' but argument is of type 'const unsigned char *' + const char *lsftp_s_skip(const char *s, const char *sep); + ^~~~~~~~~~~~ +sftp_bind.c: In function 'lsftp_open_connection': +sftp_bind.c:210:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + cur_string = + ^~~~~~~~~~ +sftp_bind.c:234:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + cur_string = + ^~~~~~~~~~ +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] + sftp_put_string(ctx->o, strlen(name), name); + ^~~~ +In file included from io.h:24, + from sftp-test-client.c:38: +buffer.h:108:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 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] handle_command( current_line ); @@ -1379,7 +1454,6 @@ lsftp.c:78:11: warning: variable 'retval' set but not used [-Wunused-but-set-variable] int retval; ^~~~~~ -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 lsftp.c: In function 'lsftp_noninteractive_mainloop': lsftp.c:167:22: warning: pointer targets in passing argument 1 of 'handle_command' differ in signedness [-Wpointer-sign] handle_command( argv[startat++] ); /* Do it */ @@ -1401,6 +1475,45 @@ gnu_stuff.h:35:33: note: expected 'const char **' but argument is of type 'char **' void do_gnu_stuff( const char** argv ); ~~~~~~~~~~~~~^~~~ +sftp_bind.c: In function 'lsftp_callback': +sftp_bind.c:581:7: warning: variable 'retval' set but not used [-Wunused-but-set-variable] + int retval; + ^~~~~~ +sftp_bind.c: In function 'lsftp_do_get': +sftp_bind.c:779:5: warning: pointer targets in passing argument 5 of 'sftp_get_file_init' differ in signedness [-Wpointer-sign] + tmp, strlen( tmp ), + ^~~ +In file included from sftp_bind.h:61, + from sftp_bind.c:34: +sftp_c.h:276:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + sftp_get_file_init(struct sftp_callback *state, + ^~~~~~~~~~~~~~~~~~ +sftp_bind.c:780:5: warning: pointer targets in passing argument 7 of 'sftp_get_file_init' differ in signedness [-Wpointer-sign] + local, strlen( local), + ^~~~~ +In file included from sftp_bind.h:61, + from sftp_bind.c:34: +sftp_c.h:276:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + sftp_get_file_init(struct sftp_callback *state, + ^~~~~~~~~~~~~~~~~~ +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] + sftp_put_string(ctx->o, strlen(name), name ); + ^~~~ +In file included from io.h:24, + from sftp-test-client.c:38: +buffer.h:108:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + 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] + sftp_put_string(ctx->o, strlen(name), name); + ^~~~ +In file included from io.h:24, + from sftp-test-client.c:38: +buffer.h:108:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' + sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); + ^~~~~~~~~~~~~~~ sftp_bind.c: In function 'lsftp_do_put': sftp_bind.c:1390:5: warning: pointer targets in passing argument 5 of 'sftp_put_file_init' differ in signedness [-Wpointer-sign] tmp, strlen( tmp ), @@ -1427,6 +1540,7 @@ sftp_c.h:399:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' sftp_ls_init(struct sftp_callback *state, ^~~~~~~~~~~~ +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 sftp_bind.c: In function 'lsftp_handle_ls': sftp_bind.c:1690:46: warning: pointer targets in passing argument 2 of 'lsftp_concat' differ in signedness [-Wpointer-sign] prefixed_fname = lsftp_concat( prefix, fname ); @@ -1455,20 +1569,11 @@ sftp_bind.c:1773:17: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] tmp = strdup( fname ); ^~~~~ -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] - sftp_put_string(ctx->o, strlen(name), name ); - ^~~~ In file included from sftp_bind.h:58, from sftp_bind.c:34: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ -In file included from client.h:29, - from client.c:32: -buffer.h:108:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); - ^~~~~~~~~~~~~~~ sftp_bind.c:1780:38: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] longstrings[used-1] = strdup( longname ); ^~~~~~~~ @@ -1608,88 +1713,18 @@ sftp_c.h:153:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' sftp_remove_init(struct sftp_callback *state, ^~~~~~~~~~~~~~~~ +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 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 -commands.c: In function 'com_lcd': -commands.c:1868:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] - int ret; - ^~~ -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] - sftp_put_string(ctx->o, strlen(name), name); - ^~~~ -In file included from io.h:24, - from sftp-test-client.c:38: -buffer.h:108:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 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] +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 +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] sftp_put_string(ctx->o, strlen(name), name ); ^~~~ -In file included from io.h:24, - from sftp-test-client.c:38: -buffer.h:108:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' - 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] - sftp_put_string(ctx->o, strlen(name), name); - ^~~~ -In file included from io.h:24, - from sftp-test-client.c:38: +In file included from client.h:29, + from client.c:32: buffer.h:108:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); ^~~~~~~~~~~~~~~ -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] - 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] - s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ - ^ -In file included from sftp_bind.h:63, - from commands.h:41, - from commands.c:31: -str_utils.h:42:13: note: expected 'const char *' but argument is of type 'const unsigned char *' - 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] - 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] - return com_escape( s+1, entered_cmd ); - ~^~ -commands.c:352:1: note: expected 'const char *' but argument is of type 'const unsigned char *' - 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] - return com_longhelp( s+1, entered_cmd ); - ~^~ -commands.c:244:1: note: expected 'const char *' but argument is of type 'const unsigned char *' - 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] - s = lsftp_s_strtok(s," \n\t\r", &tmp ); - ^ -In file included from sftp_bind.h:63, - from commands.h:41, - from commands.c:31: -str_utils.h:39:13: note: expected 'const char *' but argument is of type 'const unsigned char *' - 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] - s = lsftp_s_strtok(s," \n\t\r", &tmp ); - ^ -commands.c:2184:22: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] - lsftp_s_skip(s," \n\t\r"), - ^ -In file included from sftp_bind.h:63, - from commands.h:41, - from commands.c:31: -str_utils.h:42:13: note: expected 'const char *' but argument is of type 'const unsigned char *' - const char *lsftp_s_skip(const char *s, const char *sep); - ^~~~~~~~~~~~ -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 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 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] @@ -2183,12 +2218,12 @@ 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 +spki-check-signature.c: In function 'main': 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] hash->update(ctx, res, buffer); ^~~~~~ misc.c:67:30: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' -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] if (sexp_transport_iterator_first(&sexp, strlen(o.signature), o.signature) ~^~~~~~~~~~ @@ -2210,37 +2245,6 @@ spki-check-signature.c:90:2: note: here case 'n': ^~~~ -spki-reduce.c: In function 'process_acls': -spki-reduce.c:115:48: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] - && spki_transport_iterator_first(&i, length, data) - ^~~~ -In file included from spki-reduce.c:31: -../parse.h:66:1: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - spki_transport_iterator_first(struct spki_iterator *i, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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] - && spki_transport_iterator_first(&i, length, data)) - ^~~~ -In file included from spki-reduce.c:31: -../parse.h:66:1: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - spki_transport_iterator_first(struct spki_iterator *i, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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] - if (!write_file(stdout, buffer.size, buffer.contents)) - ~~~~~~^~~~~~~~~ -In file included from spki-reduce.c:34: -misc.h:48:1: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} - write_file(FILE *f, unsigned size, const char *buffer); - ^~~~~~~~~~ -spki-reduce.c: In function 'parse_options': -spki-reduce.c:89:4: warning: this statement may fall through [-Wimplicit-fallthrough=] - die("spki-delegate --version not implemented\n"); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -spki-reduce.c:91:2: note: here - 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] if (spki_transport_iterator_first(&i, strlen(expr), expr) @@ -2283,13 +2287,6 @@ misc.h:48:1: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} write_file(FILE *f, unsigned size, const char *buffer); ^~~~~~~~~~ -spki-delegate.c: In function 'parse_options': -spki-delegate.c:114:4: warning: this statement may fall through [-Wimplicit-fallthrough=] - die("spki-delegate --version not implemented\n"); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -spki-delegate.c:116:2: note: here - case 'i': - ^~~~ 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] if (! (spki_transport_iterator_first(&i, key_length, key) @@ -2315,6 +2312,13 @@ misc.h:48:1: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} write_file(FILE *f, unsigned size, const char *buffer); ^~~~~~~~~~ +spki-delegate.c: In function 'parse_options': +spki-delegate.c:114:4: warning: this statement may fall through [-Wimplicit-fallthrough=] + die("spki-delegate --version not implemented\n"); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +spki-delegate.c:116:2: note: here + case 'i': + ^~~~ spki-make-signature.c: In function 'parse_options': spki-make-signature.c:99:4: warning: this statement may fall through [-Wimplicit-fallthrough=] die("spki-make-signature --version not implemented\n"); @@ -2322,9 +2326,40 @@ spki-make-signature.c:101:2: note: here case 's': ^~~~ +spki-reduce.c: In function 'process_acls': +spki-reduce.c:115:48: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] + && spki_transport_iterator_first(&i, length, data) + ^~~~ +In file included from spki-reduce.c:31: +../parse.h:66:1: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + spki_transport_iterator_first(struct spki_iterator *i, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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] + && spki_transport_iterator_first(&i, length, data)) + ^~~~ +In file included from spki-reduce.c:31: +../parse.h:66:1: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + spki_transport_iterator_first(struct spki_iterator *i, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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] + if (!write_file(stdout, buffer.size, buffer.contents)) + ~~~~~~^~~~~~~~~ +In file included from spki-reduce.c:34: +misc.h:48:1: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} + write_file(FILE *f, unsigned size, const char *buffer); + ^~~~~~~~~~ +spki-reduce.c: In function 'parse_options': +spki-reduce.c:89:4: warning: this statement may fall through [-Wimplicit-fallthrough=] + die("spki-delegate --version not implemented\n"); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +spki-reduce.c:91:2: note: here + case '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 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-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-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 @@ -2337,6 +2372,98 @@ 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 lookup-acl-test.o lookup-acl-test.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 read-cert-test.o read-cert-test.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 cdsa-reduce-test.o cdsa-reduce-test.c +In file included from lookup-acl-test.c:1: +lookup-acl-test.c: In function 'test_main': +lookup-acl-test.c:17:6: warning: pointer targets in passing argument 3 of 'read_acl' differ in signedness [-Wpointer-sign] + ("(3:acl(5:entry(7:subject(10:public-key2:k1))" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +testutils.h:30:35: note: in definition of macro 'LDATA' + #define LDATA(x) (sizeof(x) - 1), x + ^ +testutils.h:16:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + read_acl(struct spki_acl_db *db, + ^~~~~~~~ +lookup-acl-test.c:22:41: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + k1 = spki_principal_by_key(&db, LDATA("(10:public-key2:k1)")); + ^~~~~~~~~~~~~~~~~~~~~ +testutils.h:30:35: note: in definition of macro 'LDATA' + #define LDATA(x) (sizeof(x) - 1), x + ^ +In file included from testutils.h:5, + from lookup-acl-test.c:1: +../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + spki_principal_by_key(struct spki_acl_db *db, + ^~~~~~~~~~~~~~~~~~~~~ +In file included from lookup-acl-test.c:1: +lookup-acl-test.c:25:41: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + k2 = spki_principal_by_key(&db, LDATA("(10:public-key2:k2)")); + ^~~~~~~~~~~~~~~~~~~~~ +testutils.h:30:35: note: in definition of macro 'LDATA' + #define LDATA(x) (sizeof(x) - 1), x + ^ +In file included from testutils.h:5, + from lookup-acl-test.c:1: +../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + spki_principal_by_key(struct spki_acl_db *db, + ^~~~~~~~~~~~~~~~~~~~~ +In file included from lookup-acl-test.c:1: +lookup-acl-test.c:30:41: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + k3 = spki_principal_by_key(&db, LDATA("(10:public-key2:k3)")); + ^~~~~~~~~~~~~~~~~~~~~ +lookup-acl-test.c:30:35: note: in expansion of macro 'LDATA' + k3 = spki_principal_by_key(&db, LDATA("(10:public-key2:k3)")); + ^~~~~ +In file included from testutils.h:5, + from lookup-acl-test.c:1: +../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + spki_principal_by_key(struct spki_acl_db *db, + ^~~~~~~~~~~~~~~~~~~~~ +In file included from lookup-acl-test.c:1: +lookup-acl-test.c:45:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] + tag = make_tag(LDATA("(4:http)")); + ^~~~~~~~~~ +testutils.h:30:35: note: in definition of macro 'LDATA' + #define LDATA(x) (sizeof(x) - 1), x + ^ +testutils.h:20:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + make_tag(unsigned length, const uint8_t *expr); + ^~~~~~~~ +lookup-acl-test.c:52:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] + tag = make_tag(LDATA("(3:ftp)")); + ^~~~~~~~~ +testutils.h:30:35: note: in definition of macro 'LDATA' + #define LDATA(x) (sizeof(x) - 1), x + ^ +testutils.h:20:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + make_tag(unsigned length, const uint8_t *expr); + ^~~~~~~~ +lookup-acl-test.c:57:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] + tag = make_tag(LDATA("(3:ftp2:h5)")); + ^~~~~~~~~~~~~ +testutils.h:30:35: note: in definition of macro 'LDATA' + #define LDATA(x) (sizeof(x) - 1), x + ^ +testutils.h:20:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + make_tag(unsigned length, const uint8_t *expr); + ^~~~~~~~ +lookup-acl-test.c:62:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] + tag = make_tag(LDATA("(3:ftp2:h1)")); + ^~~~~~~~~~~~~ +testutils.h:30:35: note: in definition of macro 'LDATA' + #define LDATA(x) (sizeof(x) - 1), x + ^ +testutils.h:20:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + make_tag(unsigned length, const uint8_t *expr); + ^~~~~~~~ +lookup-acl-test.c:72:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] + tag = make_tag(LDATA("(3:ftp2:h2)")); + ^~~~~~~~~~~~~ +testutils.h:30:35: note: in definition of macro 'LDATA' + #define LDATA(x) (sizeof(x) - 1), x + ^ +testutils.h:20:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 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:6: warning: pointer targets in passing argument 3 of 'read_acl' differ in signedness [-Wpointer-sign] @@ -2362,8 +2489,6 @@ ../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' spki_principal_by_key(struct spki_acl_db *db, ^~~~~~~~~~~~~~~~~~~~~ -In file included from tag-test.c:1: -tag-test.c: In function 'test_main': In file included from read-acl-test.c:1: read-acl-test.c:18:37: warning: pointer targets in passing argument 2 of 'spki_principal_by_md5' differ in signedness [-Wpointer-sign] ASSERT(spki_principal_by_md5(&db, "xxxxxxxxxxxxxxxx")); @@ -2376,6 +2501,8 @@ ../certificate.h:224:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' spki_principal_by_md5(struct spki_acl_db *db, const uint8_t *digest); ^~~~~~~~~~~~~~~~~~~~~ +In file included from tag-test.c:1: +tag-test.c: In function 'test_main': tag-test.c:25:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2407,6 +2534,8 @@ tag-test.c:4:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' includes(unsigned alength, const uint8_t *adata, ^~~~~~~~ +In file included from read-cert-test.c:1: +read-cert-test.c: In function 'test_main': In file included from tag-test.c:1: tag-test.c:28:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] ASSERT(!INCLUDES("(3:ftp18:ftp.lysator.liu.se)", @@ -2631,10 +2760,6 @@ tag-test.c:4:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' includes(unsigned alength, const uint8_t *adata, ^~~~~~~~ -cdsa-reduce-test.c: In function 'test_main': -cdsa-reduce-test.c:140:7: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - data = read_file(srcdir, "cdsa-cases/", i, ".in", - ^ In file included from tag-test.c:1: tag-test.c:46:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", @@ -2891,63 +3016,6 @@ tag-test.c:4:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' includes(unsigned alength, const uint8_t *adata, ^~~~~~~~ -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] - s = spki_principal_by_key(&db, 5, "3:foo"); - ^~~~~~~ -In file included from testutils.h:5, - from principal-test.c:1: -../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - spki_principal_by_key(struct spki_acl_db *db, - ^~~~~~~~~~~~~~~~~~~~~ -In file included from principal-test.c:1: -principal-test.c:14:40: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - ASSERT(spki_principal_by_key(&db, 5, "3:foo") == s); - ^~~~~~~ -testutils.h:27:30: note: in definition of macro 'ASSERT' - #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - ^ -In file included from testutils.h:5, - from principal-test.c:1: -../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - spki_principal_by_key(struct spki_acl_db *db, - ^~~~~~~~~~~~~~~~~~~~~ -In file included from lookup-acl-test.c:1: -lookup-acl-test.c: In function 'test_main': -lookup-acl-test.c:17:6: warning: pointer targets in passing argument 3 of 'read_acl' differ in signedness [-Wpointer-sign] - ("(3:acl(5:entry(7:subject(10:public-key2:k1))" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -testutils.h:30:35: note: in definition of macro 'LDATA' - #define LDATA(x) (sizeof(x) - 1), x - ^ -In file included from principal-test.c:1: -principal-test.c:15:40: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - ASSERT(spki_principal_by_key(&db, 5, "3:bar") != s); - ^~~~~~~ -testutils.h:27:30: note: in definition of macro 'ASSERT' - #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) - ^ -testutils.h:16:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - read_acl(struct spki_acl_db *db, - ^~~~~~~~ -In file included from testutils.h:5, - from principal-test.c:1: -../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - spki_principal_by_key(struct spki_acl_db *db, - ^~~~~~~~~~~~~~~~~~~~~ -lookup-acl-test.c:22:41: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - k1 = spki_principal_by_key(&db, LDATA("(10:public-key2:k1)")); - ^~~~~~~~~~~~~~~~~~~~~ -testutils.h:30:35: note: in definition of macro 'LDATA' - #define LDATA(x) (sizeof(x) - 1), x - ^ -In file included from read-cert-test.c:1: -read-cert-test.c: In function 'test_main': -In file included from testutils.h:5, - from lookup-acl-test.c:1: -../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - spki_principal_by_key(struct spki_acl_db *db, - ^~~~~~~~~~~~~~~~~~~~~ read-cert-test.c:23:12: warning: pointer targets in passing argument 4 of 'read_cert' differ in signedness [-Wpointer-sign] LDATA("(4:cert(6:issuer(10:public-key2:k1))" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2967,18 +3035,6 @@ read-cert-test.c:30:30: note: in expansion of macro 'LDATA' spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); ^~~~~ -In file included from lookup-acl-test.c:1: -lookup-acl-test.c:25:41: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - k2 = spki_principal_by_key(&db, LDATA("(10:public-key2:k2)")); - ^~~~~~~~~~~~~~~~~~~~~ -testutils.h:30:35: note: in definition of macro 'LDATA' - #define LDATA(x) (sizeof(x) - 1), x - ^ -In file included from testutils.h:5, - from lookup-acl-test.c:1: -../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - spki_principal_by_key(struct spki_acl_db *db, - ^~~~~~~~~~~~~~~~~~~~~ In file included from testutils.h:5, from read-cert-test.c:1: ../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' @@ -2994,75 +3050,54 @@ read-cert-test.c:32:30: note: in expansion of macro 'LDATA' spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); ^~~~~ -In file included from lookup-acl-test.c:1: -lookup-acl-test.c:30:41: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] - k3 = spki_principal_by_key(&db, LDATA("(10:public-key2:k3)")); - ^~~~~~~~~~~~~~~~~~~~~ -lookup-acl-test.c:30:35: note: in expansion of macro 'LDATA' - k3 = spki_principal_by_key(&db, LDATA("(10:public-key2:k3)")); - ^~~~~ In file included from testutils.h:5, from read-cert-test.c:1: ../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' spki_principal_by_key(struct spki_acl_db *db, ^~~~~~~~~~~~~~~~~~~~~ +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] + s = spki_principal_by_key(&db, 5, "3:foo"); + ^~~~~~~ In file included from testutils.h:5, - from lookup-acl-test.c:1: + from principal-test.c:1: ../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' spki_principal_by_key(struct spki_acl_db *db, ^~~~~~~~~~~~~~~~~~~~~ -In file included from lookup-acl-test.c:1: -lookup-acl-test.c:45:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] - tag = make_tag(LDATA("(4:http)")); - ^~~~~~~~~~ -testutils.h:30:35: note: in definition of macro 'LDATA' - #define LDATA(x) (sizeof(x) - 1), x - ^ -testutils.h:20:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - make_tag(unsigned length, const uint8_t *expr); - ^~~~~~~~ -lookup-acl-test.c:52:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] - tag = make_tag(LDATA("(3:ftp)")); - ^~~~~~~~~ -testutils.h:30:35: note: in definition of macro 'LDATA' - #define LDATA(x) (sizeof(x) - 1), x - ^ -testutils.h:20:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - make_tag(unsigned length, const uint8_t *expr); - ^~~~~~~~ -lookup-acl-test.c:57:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] - tag = make_tag(LDATA("(3:ftp2:h5)")); - ^~~~~~~~~~~~~ -testutils.h:30:35: note: in definition of macro 'LDATA' - #define LDATA(x) (sizeof(x) - 1), x - ^ -testutils.h:20:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - make_tag(unsigned length, const uint8_t *expr); - ^~~~~~~~ -lookup-acl-test.c:62:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] - tag = make_tag(LDATA("(3:ftp2:h1)")); - ^~~~~~~~~~~~~ -testutils.h:30:35: note: in definition of macro 'LDATA' - #define LDATA(x) (sizeof(x) - 1), x - ^ -testutils.h:20:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - make_tag(unsigned length, const uint8_t *expr); - ^~~~~~~~ -lookup-acl-test.c:72:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] - tag = make_tag(LDATA("(3:ftp2:h2)")); - ^~~~~~~~~~~~~ -testutils.h:30:35: note: in definition of macro 'LDATA' - #define LDATA(x) (sizeof(x) - 1), x - ^ -testutils.h:20:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - make_tag(unsigned length, const uint8_t *expr); - ^~~~~~~~ +In file included from principal-test.c:1: +principal-test.c:14:40: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + ASSERT(spki_principal_by_key(&db, 5, "3:foo") == s); + ^~~~~~~ +testutils.h:27:30: note: in definition of macro 'ASSERT' + #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + ^ +In file included from testutils.h:5, + from principal-test.c:1: +../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + spki_principal_by_key(struct spki_acl_db *db, + ^~~~~~~~~~~~~~~~~~~~~ +In file included from principal-test.c:1: +principal-test.c:15:40: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] + ASSERT(spki_principal_by_key(&db, 5, "3:bar") != s); + ^~~~~~~ +testutils.h:27:30: note: in definition of macro 'ASSERT' + #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) + ^ +In file included from testutils.h:5, + from principal-test.c:1: +../certificate.h:220:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + spki_principal_by_key(struct spki_acl_db *db, + ^~~~~~~~~~~~~~~~~~~~~ +cdsa-reduce-test.c: In function 'test_main': +cdsa-reduce-test.c:140:7: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + data = read_file(srcdir, "cdsa-cases/", i, ".in", + ^ 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 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 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 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-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 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 cdsa-reduce-test cdsa-reduce-test.o testutils.o ../libspki.a -lhogweed -lnettle -lgmp make check to build testprograms. make[7]: Leaving directory '/build/lsh-utils-2.1/src/spki/testsuite' @@ -3085,7 +3120,6 @@ 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 -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 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] { { "UNKNOWN", 7 }, {"none", 4}, @@ -3519,6 +3553,7 @@ {"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 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 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] @@ -3587,8 +3622,6 @@ /usr/include/nettle/sexp.h:152:27: note: expected 'const char * const*' but argument is of type 'const uint8_t **' {aka 'const unsigned char **'} 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 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:13: warning: pointer targets in assignment from 'const char *' to 'const uint8_t *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] data = va_arg(args, const char *); @@ -3600,8 +3633,11 @@ /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 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 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 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 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] if (check_string(local_user) @@ -3621,15 +3657,12 @@ gateway.c:51:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 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 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 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 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 -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 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] @@ -3638,17 +3671,12 @@ list.c:55:3: note: in expansion of macro 'CHECK_SUBTYPE' 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 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 -io.c: In function 'do_buffered_read': -io.c:490:2: warning: this statement may fall through [-Wimplicit-fallthrough=] - werror("Unexpected EPIPE from read.\n"); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -io.c:491:7: note: here - default: - ^~~~~~~ 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] return (s && !memchr(s->data, '\0', s->length) ? s->data : NULL); @@ -3720,6 +3748,13 @@ base64_encode_final(struct base64_encode_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 randomness.o randomness.c +io.c: In function 'do_buffered_read': +io.c:490:2: warning: this statement may fall through [-Wimplicit-fallthrough=] + werror("Unexpected EPIPE from read.\n"); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +io.c:491:7: note: here + 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 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 @@ -3729,6 +3764,7 @@ 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 rsa.o rsa.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.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 read_packet.c: In function 'do_read_packet': read_packet.c:262:24: warning: this statement may fall through [-Wimplicit-fallthrough=] closure->state = WAIT_CONTENTS; @@ -3742,18 +3778,17 @@ read_packet.c:305:7: note: here 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_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 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] 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_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 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 @@ -3761,7 +3796,6 @@ 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 srp_exchange.c: In function 'make_srp_entry': srp_exchange.c:72:32: warning: variable 'salt' set but not used [-Wunused-but-set-variable] const struct lsh_string *salt; @@ -3809,13 +3843,12 @@ /usr/include/nettle/sexp.h:152:27: note: expected 'const char * const*' but argument is of type 'const uint8_t **' {aka 'const unsigned char **'} 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 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 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_process.o unix_process.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_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': unix_interact.c:392:49: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] if (!tty_getattr(self->tty_fd, &res->ios) < 0) @@ -3825,24 +3858,11 @@ 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 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 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 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 -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] - cpasswd = lsh_get_cstring(password); - ^ -unix_user.c:281:24: warning: pointer targets in initialization of 'const char *' from 'const uint8_t *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] - const char *salt = lsh_string_data(user->passwd); - ^~~~~~~~~~~~~~~ -unix_user.c:286:22: warning: pointer targets in passing argument 1 of 'crypt' differ in signedness [-Wpointer-sign] - if (strcmp(crypt(cpasswd, salt), - ^~~~~~~ -In file included from unix_user.c:48: -/usr/include/crypt.h:36:14: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} - extern char *crypt (const char *__phrase, const char *__salt) - ^~~~~ 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] werror_cstring(char *s) { werror_write(strlen(s), s); } @@ -3894,10 +3914,25 @@ werror.c:275:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' werror_write(uint32_t length, const uint8_t *msg) ^~~~~~~~~~~~ +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] + cpasswd = lsh_get_cstring(password); + ^ +unix_user.c:281:24: warning: pointer targets in initialization of 'const char *' from 'const uint8_t *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] + const char *salt = lsh_string_data(user->passwd); + ^~~~~~~~~~~~~~~ +unix_user.c:286:22: warning: pointer targets in passing argument 1 of 'crypt' differ in signedness [-Wpointer-sign] + if (strcmp(crypt(cpasswd, salt), + ^~~~~~~ +In file included from unix_user.c:48: +/usr/include/crypt.h:36:14: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} + extern char *crypt (const char *__phrase, const char *__salt) + ^~~~~ At top level: werror.c:617:1: warning: 'werror_format' defined but not used [-Wunused-function] 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 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 @@ -3911,7 +3946,6 @@ 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-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] yarrow256_update(ctx, source, res * 4, res, buffer); @@ -3935,6 +3969,7 @@ lsh-krb-checkpw.c:98:15: warning: unused variable 'ccache' [-Wunused-variable] krb5_ccache ccache; ^~~~~~ +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:135:7: warning: 'server' may be used uninitialized in this function [-Wmaybe-uninitialized] if (krb5_verify_init_creds(context, &creds, server, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3957,10 +3992,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' @@ -3979,128 +4014,158 @@ 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 -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 md5-test.c:1: -md5-test.c: In function 'test_main': -md5-test.c:12:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("D41D8CD98F00B204 E9800998ECF8427E")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from des-test.c:1: +des-test.c: In function 'test_main': +des-test.c:7:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0123456789ABCDEF 1313131313131313 3232323232323232"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:16:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0CC175B9C0F1B6A8 31C399E269772661")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +des-test.c:8:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0011223344556677 8899AABBCCDDEEFF"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:20:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("900150983cd24fb0 D6963F7D28E17F72")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +des-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("C4DB96109B6186B2 5F9AA359160909D9"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:24:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("F96B697D7CB7938D 525A2F31AAF161D0")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +des-test.c:10:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0001020304050607")); + ^~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:28:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("C3FCD3D76192E400 7DFB496CCA67E13B")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from arcfour-test.c:1: +arcfour-test.c: In function 'test_main': +arcfour-test.c:7:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("01234567 89ABCDEF 00000000 00000000"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:32:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("D174AB98D277D9F5 A5611C2C9F419D9F")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +arcfour-test.c:8:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("01234567 89ABCDEF"), + ^~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:37:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("57EDF4A22BE3C955 AC49DA2E2107B67A")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +arcfour-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("69723659 1B5242B1"), + ^~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:41:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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] + uint32_t length = decode_hex_length(hex); + ^~~ +testutils.c:39:1: note: expected 'const char *' but argument is of type 'const unsigned char *' + 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:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("603deb1015ca71be2b73aef0857d7781" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:43:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("9294727A3638BB1C 13F48EF8158BFC9D")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +aes-test.c:11:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("6bc1bee22e409f96e93d7e117393172a" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:48:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("750C783E6AB0B503 EAA86E310A5DB738")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +aes-test.c:15:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("f58c4c04d6e5f1ba779eabfb5f7bfbd6" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:51:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +aes-test.c:19:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("000102030405060708090a0b0c0d0e0f")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:52:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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] + H("0123456789ABCDEF FEDCBA9876543210"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -In file included from cast128-test.c:1: -cast128-test.c: In function 'test_main': -md5-test.c:56:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("56BE34521D144C88 DBB8C733F0E8B3F6")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +blowfish-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0000000000000000 1111111111111111"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +testutils.h:63:25: note: in definition of macro 'H' + #define H(x) decode_hex(x) + ^ +testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' + decode_hex(const unsigned char *); + ^~~~~~~~~~ +blowfish-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("f0fb0320a19f306d ff5880191e616c10"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ +blowfish-test.c:10:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0011223344556677")); + ^~~~~~~~~~~~~~~~~~ +testutils.h:63:25: note: in definition of macro 'H' + #define H(x) decode_hex(x) + ^ +testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' + decode_hex(const unsigned char *); + ^~~~~~~~~~ +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] H("0123456789ABCDEF FEDCBA9876543210"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4110,14 +4175,37 @@ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:59:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0102030405060708 090A0B0C0D0E0F10 1112131415161718 19"), - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cast128-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0000000000000000 1111111111111111"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ -cast128-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0000000000000000 1111111111111111"), +testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' + decode_hex(const unsigned char *); + ^~~~~~~~~~ +cast128-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("9a1bf354bca596ad f7b2a2ce5f09a8b2"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +testutils.h:63:25: note: in definition of macro 'H' + #define H(x) decode_hex(x) + ^ +testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' + decode_hex(const unsigned char *); + ^~~~~~~~~~ +cast128-test.c:10:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0011223344556677")); + ^~~~~~~~~~~~~~~~~~ +testutils.h:63:25: note: in definition of macro 'H' + #define H(x) decode_hex(x) + ^ +testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' + 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] + H("0123456789ABCDEF FEDCBA9876543210" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) @@ -4125,17 +4213,26 @@ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' 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] + H("0000000000000000 0000000000000000" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +testutils.h:63:25: note: in definition of macro 'H' + #define H(x) decode_hex(x) + ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:60:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +serpent-test.c:14:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("c170ed586cfda8fe 084f01ef04475883" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ -cast128-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("9a1bf354bca596ad f7b2a2ce5f09a8b2"), +testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' + decode_hex(const unsigned char *); + ^~~~~~~~~~ +serpent-test.c:16:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0011223344556677 8899AABBCCDDEEFF")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) @@ -4143,256 +4240,267 @@ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ +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] + H("0123456789ABCDEF FEDCBA9876543210" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +testutils.h:63:25: note: in definition of macro 'H' + #define H(x) decode_hex(x) + ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:64:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("697EAF0ACA3A3AEA 3A75164746FFAA79")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +twofish-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0000000000000000 0000000000000000" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ -cast128-test.c:10:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0011223344556677")); - ^~~~~~~~~~~~~~~~~~ +testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' + decode_hex(const unsigned char *); + ^~~~~~~~~~ +twofish-test.c:11:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("7c9cde6d86b1d9f2 9fceb6830c451281" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ +twofish-test.c:13:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0011223344556677 8899AABBCCDDEEFF")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +testutils.h:63:25: note: in definition of macro 'H' + #define H(x) decode_hex(x) + ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:67:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C"), - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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] + s = H("66006f"); + ^~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:69:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("56461EF2342EDC00 F9BAB995690EFD4C")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +string-test.c:17:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + s = H("6600"); + ^~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:72:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +string-test.c:20:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + s = H(""); + ^~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:78:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("6b1ab7fe4bd7bf8f0b62e6ce61b9d0cd")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from md5-test.c:1: +md5-test.c: In function 'test_main': +md5-test.c:12:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("D41D8CD98F00B204 E9800998ECF8427E")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:81:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:16:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0CC175B9C0F1B6A8 31C399E269772661")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -md5-test.c:88:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("6f630fad67cda0ee1fb1f562db3aa53e")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:20:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("900150983cd24fb0 D6963F7D28E17F72")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -In file included from aes-test.c:1: -aes-test.c: In function 'test_main': -aes-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("603deb1015ca71be2b73aef0857d7781" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:24:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("F96B697D7CB7938D 525A2F31AAF161D0")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -aes-test.c:11:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("6bc1bee22e409f96e93d7e117393172a" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:28:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("C3FCD3D76192E400 7DFB496CCA67E13B")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -aes-test.c:15:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("f58c4c04d6e5f1ba779eabfb5f7bfbd6" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:32:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("D174AB98D277D9F5 A5611C2C9F419D9F")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -aes-test.c:19:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("000102030405060708090a0b0c0d0e0f")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:37:8: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("57EDF4A22BE3C955 AC49DA2E2107B67A")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -In file included from des-test.c:1: -des-test.c: In function 'test_main': -des-test.c:7:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0123456789ABCDEF 1313131313131313 3232323232323232"), - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:41:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -des-test.c:8:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0011223344556677 8899AABBCCDDEEFF"), - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:43:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("9294727A3638BB1C 13F48EF8158BFC9D")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -des-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("C4DB96109B6186B2 5F9AA359160909D9"), - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:48:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("750C783E6AB0B503 EAA86E310A5DB738")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -des-test.c:10:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0001020304050607")); - ^~~~~~~~~~~~~~~~~~ +md5-test.c:51:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -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] - H("0123456789ABCDEF FEDCBA9876543210" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:52:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -twofish-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0000000000000000 0000000000000000" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:56:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("56BE34521D144C88 DBB8C733F0E8B3F6")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -twofish-test.c:11:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("7c9cde6d86b1d9f2 9fceb6830c451281" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:59:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0102030405060708 090A0B0C0D0E0F10 1112131415161718 19"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -twofish-test.c:13:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0011223344556677 8899AABBCCDDEEFF")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:60:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -In file included from arcfour-test.c:1: -arcfour-test.c: In function 'test_main': -arcfour-test.c:7:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("01234567 89ABCDEF 00000000 00000000"), - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:64:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("697EAF0ACA3A3AEA 3A75164746FFAA79")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -arcfour-test.c:8:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("01234567 89ABCDEF"), - ^~~~~~~~~~~~~~~~~~~ +md5-test.c:67:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C"), + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -arcfour-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("69723659 1B5242B1"), - ^~~~~~~~~~~~~~~~~~~ +md5-test.c:69:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("56461EF2342EDC00 F9BAB995690EFD4C")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' 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] - H("0123456789ABCDEF FEDCBA9876543210" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:72:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' 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] - H("0000000000000000 0000000000000000" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:78:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("6b1ab7fe4bd7bf8f0b62e6ce61b9d0cd")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -serpent-test.c:14:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("c170ed586cfda8fe 084f01ef04475883" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:81:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' decode_hex(const unsigned char *); ^~~~~~~~~~ -serpent-test.c:16:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0011223344556677 8899AABBCCDDEEFF")); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +md5-test.c:88:7: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] + H("6f630fad67cda0ee1fb1f562db3aa53e")); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testutils.h:63:25: note: in definition of macro 'H' #define H(x) decode_hex(x) ^ @@ -4590,81 +4698,8 @@ testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' 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] - uint32_t length = decode_hex_length(hex); - ^~~ -testutils.c:39:1: note: expected 'const char *' but argument is of type 'const unsigned char *' - decode_hex_length(const char *h) - ^~~~~~~~~~~~~~~~~ -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] - H("0123456789ABCDEF FEDCBA9876543210"), - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -testutils.h:63:25: note: in definition of macro 'H' - #define H(x) decode_hex(x) - ^ -testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' - decode_hex(const unsigned char *); - ^~~~~~~~~~ -blowfish-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0000000000000000 1111111111111111"), - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -testutils.h:63:25: note: in definition of macro 'H' - #define H(x) decode_hex(x) - ^ -testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' - decode_hex(const unsigned char *); - ^~~~~~~~~~ -blowfish-test.c:9:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("f0fb0320a19f306d ff5880191e616c10"), - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -testutils.h:63:25: note: in definition of macro 'H' - #define H(x) decode_hex(x) - ^ -testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' - decode_hex(const unsigned char *); - ^~~~~~~~~~ -blowfish-test.c:10:10: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] - H("0011223344556677")); - ^~~~~~~~~~~~~~~~~~ -testutils.h:63:25: note: in definition of macro 'H' - #define H(x) decode_hex(x) - ^ -testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' - 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 -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] - s = H("66006f"); - ^~~~~~~~ -testutils.h:63:25: note: in definition of macro 'H' - #define H(x) decode_hex(x) - ^ -testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' - 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] - s = H("6600"); - ^~~~~~ -testutils.h:63:25: note: in definition of macro 'H' - #define H(x) decode_hex(x) - ^ -testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' - 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] - s = H(""); - ^~ -testutils.h:63:25: note: in definition of macro 'H' - #define H(x) decode_hex(x) - ^ -testutils.h:21:1: note: expected 'const unsigned char *' but argument is of type 'char *' - 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] = config_parse_string(strlen(config_file), config_file); @@ -4674,6 +4709,15 @@ 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 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 +utf8-test.c: In function 'test_main': +utf8-test.c:84:38: warning: pointer targets in passing argument 2 of 'low_utf8_to_local' differ in signedness [-Wpointer-sign] + s = low_utf8_to_local(length, buffer, flags[j]); + ^~~~~~ +In file included from utf8-test.c:2: +/build/lsh-utils-2.1/src/testsuite/../charset.h:62:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' + 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] @@ -4700,15 +4744,6 @@ /build/lsh-utils-2.1/src/testsuite/../lsh_string.h:89:1: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' lsh_string_eq_l(const struct lsh_string *a, uint32_t length, const uint8_t *b); ^~~~~~~~~~~~~~~ -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 -utf8-test.c: In function 'test_main': -utf8-test.c:84:38: warning: pointer targets in passing argument 2 of 'low_utf8_to_local' differ in signedness [-Wpointer-sign] - s = low_utf8_to_local(length, buffer, flags[j]); - ^~~~~~ -In file included from utf8-test.c:2: -/build/lsh-utils-2.1/src/testsuite/../charset.h:62:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' - 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 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 @@ -4917,38 +4952,39 @@ PASS: conv-3 PASS: export-1 Testing lsh-keygen DSA key generation -xxxxxxxxxqpg(private-key (dsa (p |AKE20AYa2CeB7BJTzgLxvaW3oPykj+yum//Xp5D+3hpabAMyRk - 1u2I1GvS/nBzzMCX/yWqakS2r52zLTzvGKrrKDYzCLZpiM9YCK - qO2I8Rw5|) - (q |APcSRrCLyOw9F1MGavKeK0naRpvD|) - (g |fXFe0oUv0DR01XfvpYelGyxUIYI+KjMcg50x+xSYiaVMGsPs7p - Rl5ukjyT4LmKrnVmQPk0/M/cVr2m1nF7K2PeEaYBgMv7lD47SF - /VYa5e0=|) - (y |R1aujhc6yUhTzKXnwtUzDYYboas4ucqxjidpAs25c+JhsMTAUT - 7whpKaPWvklRlqQ4Hp/G6MqGtUuc4/z4sJ+C3Qp4C7zMa8/cV6 - p1LH5zw=|) - (x |APNcEImLlAq0CZzhM3taviq136gQ|))) +xxxxxxxxxqpg(private-key (dsa (p |AM9n6xv+VoX/eC2xlscFf8gFYgrfVM03CMIdn5xCEctaGIjKWa + brMecT6IZrPCSWFbZQQIdLrCkSFL5bZJ5XLiiOhpronPQjN+KZ + X4K6U7Sf|) + (q |AJ0J+r7ChKKF6sIAI6F8ZMBDKe/b|) + (g |AK7iWxuQ77gNTdkfC+OJkWPmPA6bXNLc7v+tY9P0JEPcn8EzQw + tEc3SMkmlYG+KQ0CjsCv5WJ+BI/5Sc0z1eW1Vg20i6jy0ihfTR + Cl5rnJaN|) + (y |AICQdXHxwAQsWlVCdu4p8k9okvnxW1PtTQ8vnCcNimqqgh/akv + Qk3Do2xzlEIVvIrI7sOymgJveTGlZLGcBTbQC+3Nq2NZqH8DLz + NgweBOf7|) + (x |GA+QCQaeZA3i/XgeBbkXBalYhbA=|))) PASS: keygen-1 Testing lsh-keygen RSA key generation xxxxx xxxxx -(private-key (rsa-pkcs1 (n |AaYDr8nG1uVxbiHaqC+VWJh/XS/tNZ2YPiJiYYZ2Tgjt - wvvX3DwLBDaMOfGobRuARDcbe6VWVZjUJHS8BBg2NOPu - iort9Dj2ALJ7HXwSLby6RB0hGdfGUe1M13xHaaAXfiU=|) - (e |NUvZuQ==|) - (d |PDLv67zqcQGl0sij+8FP9076yG1bU0/ClMHY2dcihFru - Musq2BWm58zyBWXX2BChLLa9ugUXDpYNyEO1TaBZ2r5r - 6egCsAnUvdjc1yjJ0FwnbQ0zoPF+r9rP3Ao+nwQ61Q==|) - (p |HXkMLl4dc8b/ZZsIV2vArJRBcL0bkfd3R9ysjpGV+ByX - /bvSzaXkVBNTs5Y/MdZh7w==|) - (q |DlGZ6vwvUaYQU2OSIeajJmin5b+ZWMZxp4YPMebrlchA - QWUvHWejFZtVsJya6WqlKw==|) - (a |DoVXJfNh/qBgWZ4JNrKKoAnzPou9oVp1qIxg1KePMiub - C7VdDYgQVj93PNX46S2YNw==|) - (b |DRK1A2GlgHEr3vLauptLjXvYc4lTTn8oofCKgDX9doGw - 5wp35ztIn/Eq9YVW4okxDQ==|) - (c |BTOARSEPtCPzNY9FjZ33lpcCiVgWAOF3IqN5K6EOXCoe - 5vddsBGf5yHiJy2kutzYeQ==|))) + +(private-key (rsa-pkcs1 (n |ASrl/dY8XniEE9lAwXGdWYK/GxnDBxbQHF6bvIudBuP7 + VXvpgiutinf8+CGKMeqQIEgA7cdpCHK1tj8HqeX0+Pfm + XnPFOeIS0RYO1QyBEfDwZSQKanuqCzYdwTuW5Ou4nrc=|) + (e |K5xouQ==|) + (d |anghBmpfzoTsLa60EC3DDJMccP7h38fBcqN3x/0Y5zTr + 3SFIz5K8+KFe6Abaf3wQuduchicRuzEin5X9j6NTG2np + GadQNVHY8+QRUZELw/POc3vg4OkfIqwnrk4FQo00CQ==|) + (p |GJaY1MRvOA/nea7WkWceQOIgmADG6/W8A3Gp0l8dKlEt + d3uedPM4UEt8bY+CD1Pw+Q==|) + (q |DCf4rcOdaJmyUl9HziGIgvK/z/A1PvMeLlJ/cYxFbVo+ + 7OZx1WyWJrgrkxU/tNOpLw==|) + (a |ESHA0nJjvFZa+/txlN3hXCmB4YjZrq6g/Lk38PwyXRFG + nKrClOsXgM7QlPo3XeCmkQ==|) + (b |A7+98iAMGf2FjYxWdnHNhdLf9ZStwa1q2GUJXIxSB9sH + kgI3Ga66l1DisExU/f/uzQ==|) + (c |FVqaDEzKElyFLHyDG7vJYwJFfZaGh8iBXdaFzfzmRj4D + eou+PI5O1bmzRws2/CtQxQ==|))) PASS: keygen-2 Testing lsh-writekey PASS: write-key-1 @@ -4958,25 +4994,25 @@ test-seed-1 test-seed-2 differ: char 1, line 1 PASS: seed lsh, test 1 -lshd pid: 2264290 +lshd pid: 2673552 PASS: lsh-1 lsh, test 2 -lshd pid: 2264327 +lshd pid: 2676795 Hello world. PASS: lsh-2 lsh, test 3 -lshd pid: 2264479 +lshd pid: 2681027 Hello world. PASS: lsh-3 lsh, test 4 -lshd pid: 2265122 +lshd pid: 2685010 Hello world PASS: lsh-4 lsh, test 5, using an RSA hostkey -lshd pid: 2265746 +lshd pid: 2689166 PASS: lsh-5 lsh, test 6, using various encryption algorithms -lshd pid: 2266563 +lshd pid: 2692754 Trying encryption flag arcfour Ok Trying encryption flag twofish @@ -4997,18 +5033,18 @@ Ok PASS: lsh-6 lsh, test 7 -lshd pid: 2268612 +lshd pid: 2697826 PASS: lsh-7 lsh, test 8, unencrypted session -lshd pid: 2269067 +lshd pid: 2702395 PASS: lsh-8 lsh, test 9, check that LSHFLAGS works. -lshd pid: 2270069 +lshd pid: 2708095 PASS: lsh-9 lsh, encrypted key test xxxxxx xxxxxx -lshd pid: 2272231 +lshd pid: 2715664 Hello world PASS: lsh-encrypted-key lsh-decrypt-key-test @@ -5016,42 +5052,41 @@ xxxxxx PASS: lsh-decrypt-key lsh, cat test -lshd pid: 2274488 +lshd pid: 2718731 lsh-cat-test: Ok, files match. PASS: lsh-cat lshg test 1 -lshd pid: 2276910 +lshd pid: 2726005 PASS: lshg-1 lshg, cat test -lshd pid: 2278816 +lshd pid: 2730598 lshg-cat-test: Ok, files match. PASS: lshg-cat lshg, cat 2 test -lshd pid: 2280582 +lshd pid: 2736085 lshg-cat-2-test: Ok, files match. PASS: lshg-cat-2 Closed spurious fd 9 -lshd pid: 2282963 +lshd pid: 2743409 daemon-fd-test: Ok, files match. PASS: daemon-fd -lshd pid: 2288008 +lshd pid: 2748430 foo PASS: tcpip-local -lshd pid: 2288954 +lshd pid: 2752406 bar PASS: tcpip-local-in-use -lshd pid: 2289136 +lshd pid: 2756017 foo PASS: tcpip-remote SKIP: socks5 SKIP: socks4 -lshd pid: 2294543 +lshd pid: 2775577 foo -./lshg-tcpip-local-test: 1: kill: No such process - +/build/lsh-utils-2.1/src/testsuite/functions.sh: line 44: kill: (2776858) - No such process PASS: lshg-tcpip-local testing lcp -lshd pid: 2294967 +lshd pid: 2779490 bash: files/lcp-file-1.txt: cannot overwrite existing file bash: 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 @@ -5728,7 +5763,7 @@ Test done PASS: rapid7-lsh Testing lshd -lshd pid: 2298542 +lshd pid: 2823036 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 @@ -6398,7 +6433,7 @@ Test done PASS: rapid7-lshd lsh, test login, login-auth-mode -lshd pid: 2300888 +lshd pid: 2843205 lsh-login-test: Ok, files match. PASS: login-auth lshd, no-auth-test @@ -6406,7 +6441,7 @@ Try `lshd --help' or `lshd --usage' for more information. PASS: lshd-no-auth Testing lshd with random input -lshd pid: 2301079 +lshd pid: 2848036 Trying seed 1 Trying seed 2 Trying seed 3 @@ -6600,11 +6635,11 @@ dh_gencontrol -a dh_md5sums -a dh_builddeb -a -dpkg-deb: building package 'lsh-utils-dbgsym' in '../lsh-utils-dbgsym_2.1-12_amd64.deb'. dpkg-deb: building package 'lsh-server-dbgsym' in '../lsh-server-dbgsym_2.1-12_amd64.deb'. +dpkg-deb: building package 'lsh-utils-dbgsym' in '../lsh-utils-dbgsym_2.1-12_amd64.deb'. +dpkg-deb: building package 'lsh-client' in '../lsh-client_2.1-12_amd64.deb'. dpkg-deb: building package 'lsh-utils' in '../lsh-utils_2.1-12_amd64.deb'. dpkg-deb: building package 'lsh-client-dbgsym' in '../lsh-client-dbgsym_2.1-12_amd64.deb'. -dpkg-deb: building package 'lsh-client' in '../lsh-client_2.1-12_amd64.deb'. dpkg-deb: building package 'lsh-server' in '../lsh-server_2.1-12_amd64.deb'. dh_testdir dh_testroot @@ -6631,12 +6666,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/2420851/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2420851/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/2231122 and its subdirectories -I: Current time: Sat Jan 7 19:05:35 -12 2023 -I: pbuilder-time-stamp: 1673161535 +I: removing directory /srv/workspace/pbuilder/2420851 and its subdirectories +I: Current time: Mon Dec 6 14:58:18 +14 2021 +I: pbuilder-time-stamp: 1638752298