=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/security/lsh", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for lsh-2.0.4nb3 /opt/local/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4' Making all in src gmake[2]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src' (echo '/* Automatically generated from environ.h.in, by make. */' ; \ sed -e 's,@''prefix@,/opt/local,' \ -e 's,@''bindir@,/opt/local/bin,' \ -e 's,@''sbindir@,/opt/local/sbin,' \ -e 's,@''libexecdir@,/opt/local/libexec,' \ -e 's,@''sysconfdir@,/opt/local/etc,' \ < /tmp/work/security/lsh/work/lsh-2.0.4/src/environ.h.in) >environ.hT test -s environ.hT && mv -f environ.hT environ.h /opt/local/bin/gmake all-recursive gmake[3]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src' Making all in argp gmake[4]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/argp' /opt/local/bin/gmake all-recursive gmake[5]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/argp' Making all in . gmake[6]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/argp' gcc -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-ba.o -MD -MP -MF .deps/argp-ba.Tpo -c -o argp-ba.o argp-ba.c gcc -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-eexst.o -MD -MP -MF .deps/argp-eexst.Tpo -c -o argp-eexst.o argp-eexst.c gcc -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-fmtstream.o -MD -MP -MF .deps/argp-fmtstream.Tpo -c -o argp-fmtstream.o argp-fmtstream.c mv -f .deps/argp-ba.Tpo .deps/argp-ba.Po gcc -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-help.o -MD -MP -MF .deps/argp-help.Tpo -c -o argp-help.o argp-help.c mv -f .deps/argp-eexst.Tpo .deps/argp-eexst.Po gcc -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-parse.o -MD -MP -MF .deps/argp-parse.Tpo -c -o argp-parse.o argp-parse.c argp-help.c: In function 'fill_in_uparams': argp-help.c:239:29: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 239 | val = atoi (arg); | ^~~ | | | const unsigned char * In file included from /usr/include/stdlib.h:41, from argp-help.c:45: /usr/include/iso/stdlib_iso.h:124:17: note: expected 'const char *' but argument is of type 'const unsigned char *' 124 | extern int atoi(const char *); | ^~~~~~~~~~~~ argp-help.c:247:31: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 247 | && strncmp (var, un->name, var_len) == 0) | ^~~ | | | const unsigned char * In file included from /usr/include/string.h:35, from argp-help.c:46: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'const unsigned char *' 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ argp-help.c: In function '_argp_short_program_name': argp-help.c:1739:4: warning: #warning No reasonable value to return [-Wcpp] 1739 | # warning No reasonable value to return | ^~~~~~~ mv -f .deps/argp-fmtstream.Tpo .deps/argp-fmtstream.Po gcc -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-pv.o -MD -MP -MF .deps/argp-pv.Tpo -c -o argp-pv.o argp-pv.c mv -f .deps/argp-pv.Tpo .deps/argp-pv.Po gcc -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-pvh.o -MD -MP -MF .deps/argp-pvh.Tpo -c -o argp-pvh.o argp-pvh.c mv -f .deps/argp-pvh.Tpo .deps/argp-pvh.Po gcc -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT mempcpy.o -MD -MP -MF .deps/mempcpy.Tpo -c -o mempcpy.o mempcpy.c mempcpy.c:13:1: warning: no previous prototype for 'mempcpy' [-Wmissing-prototypes] 13 | mempcpy (void *to, const void *from, size_t size) | ^~~~~~~ mv -f .deps/mempcpy.Tpo .deps/mempcpy.Po mv -f .deps/argp-parse.Tpo .deps/argp-parse.Po mv -f .deps/argp-help.Tpo .deps/argp-help.Po rm -f libargp.a ar cru libargp.a argp-ba.o argp-eexst.o argp-fmtstream.o argp-help.o argp-parse.o argp-pv.o argp-pvh.o mempcpy.o ranlib libargp.a gmake[6]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/argp' Making all in testsuite gmake[6]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/argp/testsuite' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT ex1.o -MD -MP -MF .deps/ex1.Tpo -c -o ex1.o ex1.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT ex3.o -MD -MP -MF .deps/ex3.Tpo -c -o ex3.o ex3.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT ex4.o -MD -MP -MF .deps/ex4.Tpo -c -o ex4.o ex4.c ex4.c: In function 'parse_opt': ex4.c:102:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 102 | argp_usage (state); | ^~~~~~~~~~~~~~~~~~ ex4.c:104:5: note: here 104 | case ARGP_KEY_ARG: | ^~~~ mv -f .deps/ex1.Tpo .deps/ex1.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o ex1 ex1.o ../libargp.a mv -f .deps/ex3.Tpo .deps/ex3.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o ex3 ex3.o ../libargp.a mv -f .deps/ex4.Tpo .deps/ex4.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o ex4 ex4.o ../libargp.a gmake[6]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/argp/testsuite' gmake[5]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/argp' gmake[4]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/argp' Making all in rsync gmake[4]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/rsync' gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT generate.o -MD -MP -MF .deps/generate.Tpo -c -o generate.o generate.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT receive.o -MD -MP -MF .deps/receive.Tpo -c -o receive.o receive.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT checksum.o -MD -MP -MF .deps/checksum.Tpo -c -o checksum.o checksum.c receive.c: In function 'rsync_receive': receive.c:42:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 42 | s->state = RSYNC_READ_TOKEN; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ receive.c:43:7: note: here 43 | case RSYNC_READ_TOKEN: | ^~~~ receive.c:73:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 73 | s->state = RSYNC_READ_LITERAL; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ receive.c:74:7: note: here 74 | case RSYNC_READ_LITERAL: | ^~~~ receive.c:101:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 101 | s->i = 0; | ~~~~~^~~ receive.c:102:7: note: here 102 | case RSYNC_READ_LOOKUP: | ^~~~ receive.c:131:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 131 | s->state = RSYNC_READ_CHECKSUM; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ receive.c:132:7: note: here 132 | case RSYNC_READ_CHECKSUM: | ^~~~ mv -f .deps/checksum.Tpo .deps/checksum.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT send.o -MD -MP -MF .deps/send.Tpo -c -o send.o send.c mv -f .deps/receive.Tpo .deps/receive.Po mv -f .deps/generate.Tpo .deps/generate.Po mv -f .deps/send.Tpo .deps/send.Po rm -f librsync.a ar cru librsync.a generate.o receive.o checksum.o send.o ranlib librsync.a gmake[4]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/rsync' Making all in nettle gmake[4]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/nettle' /opt/local/bin/gmake all-here gmake[5]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/nettle' gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aesdata.o -MD -MP -MF aesdata.o.d -fPIC -c aesdata.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT desdata.o -MD -MP -MF desdata.o.d -fPIC -c desdata.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT shadata.o -MD -MP -MF shadata.o.d -fPIC -c shadata.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-decrypt-internal.o -MD -MP -MF aes-decrypt-internal.o.d -fPIC -c aes-decrypt-internal.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-decrypt.o -MD -MP -MF aes-decrypt.o.d -fPIC -c aes-decrypt.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-encrypt-internal.o -MD -MP -MF aes-encrypt-internal.o.d -fPIC -c aes-encrypt-internal.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-encrypt.o -MD -MP -MF aes-encrypt.o.d -fPIC -c aes-encrypt.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-encrypt-table.o -MD -MP -MF aes-encrypt-table.o.d -fPIC -c aes-encrypt-table.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-set-encrypt-key.o -MD -MP -MF aes-set-encrypt-key.o.d -fPIC -c aes-set-encrypt-key.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-set-decrypt-key.o -MD -MP -MF aes-set-decrypt-key.o.d -fPIC -c aes-set-decrypt-key.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-meta.o -MD -MP -MF aes-meta.o.d -fPIC -c aes-meta.c \ && true aes-set-decrypt-key.c: In function 'nettle_aes_set_decrypt_key': aes-set-decrypt-key.c:144:12: warning: variable 'nkeys' set but not used [-Wunused-but-set-variable] 144 | unsigned nkeys; | ^~~~~ gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arcfour.o -MD -MP -MF arcfour.o.d -fPIC -c arcfour.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arcfour-crypt.o -MD -MP -MF arcfour-crypt.o.d -fPIC -c arcfour-crypt.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arcfour-meta.o -MD -MP -MF arcfour-meta.o.d -fPIC -c arcfour-meta.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arctwo.o -MD -MP -MF arctwo.o.d -fPIC -c arctwo.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arctwo-meta.o -MD -MP -MF arctwo-meta.o.d -fPIC -c arctwo-meta.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT base16-encode.o -MD -MP -MF base16-encode.o.d -fPIC -c base16-encode.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT base16-decode.o -MD -MP -MF base16-decode.o.d -fPIC -c base16-decode.c \ && true base16-encode.c: In function 'nettle_base16_encode_update': base16-encode.c:56:13: warning: right-hand operand of comma expression has no effect [-Wunused-value] 56 | for (i = 0, dst; iatom_length | ^~~~ | | | const uint8_t * {aka const unsigned char *} In file included from /usr/include/string.h:35, from sexp.c:31: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp.c: In function 'nettle_sexp_iterator_check_types': sexp.c:314:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 314 | if (strlen(types[i]) == iterator->atom_length | ~~~~~^~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp.c: In function 'nettle_sexp_iterator_assoc': sexp.c:358:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 358 | if (strlen(keys[i]) == iterator->atom_length | ~~~~^~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-format.o -MD -MP -MF sexp-format.o.d -fPIC -c sexp-format.c \ && true sexp-format.c: In function 'nettle_sexp_vformat': sexp-format.c:101:66: warning: pointer targets in passing argument 3 of 'format_string' differ in signedness [-Wpointer-sign] 101 | unsigned output_length = format_string(buffer, length, start); | ^~~~~ | | | const char * sexp-format.c:76:47: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 76 | unsigned length, const uint8_t *s) | ~~~~~~~~~~~~~~~^ sexp-format.c:174:63: warning: pointer targets in passing argument 3 of 'format_string' differ in signedness [-Wpointer-sign] 174 | output_length = format_string(buffer, length, s); | ^ | | | const char * sexp-format.c:76:47: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 76 | unsigned length, const uint8_t *s) | ~~~~~~~~~~~~~~~^ sexp-format.c:207:63: warning: pointer targets in passing argument 3 of 'format_string' differ in signedness [-Wpointer-sign] 207 | output_length = format_string(buffer, length, s); | ^ | | | const char * sexp-format.c:76:47: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 76 | unsigned length, const uint8_t *s) | ~~~~~~~~~~~~~~~^ sexp-format.c:237:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 237 | if (buffer && !nettle_buffer_write(buffer, length, s)) | ^ | | | const char * In file included from sexp-format.c:37: buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-transport.o -MD -MP -MF sexp-transport.o.d -fPIC -c sexp-transport.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-transport-format.o -MD -MP -MF sexp-transport-format.o.d -fPIC -c sexp-transport-format.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT bignum.o -MD -MP -MF bignum.o.d -fPIC -c bignum.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT bignum-random.o -MD -MP -MF bignum-random.o.d -fPIC -c bignum-random.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp2bignum.o -MD -MP -MF sexp2bignum.o.d -fPIC -c sexp2bignum.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pkcs1.o -MD -MP -MF pkcs1.o.d -fPIC -c pkcs1.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pkcs1-rsa-md5.o -MD -MP -MF pkcs1-rsa-md5.o.d -fPIC -c pkcs1-rsa-md5.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pkcs1-rsa-sha1.o -MD -MP -MF pkcs1-rsa-sha1.o.d -fPIC -c pkcs1-rsa-sha1.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa.o -MD -MP -MF rsa.o.d -fPIC -c rsa.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-sign.o -MD -MP -MF rsa-sign.o.d -fPIC -c rsa-sign.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-verify.o -MD -MP -MF rsa-verify.o.d -fPIC -c rsa-verify.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-md5-sign.o -MD -MP -MF rsa-md5-sign.o.d -fPIC -c rsa-md5-sign.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-md5-verify.o -MD -MP -MF rsa-md5-verify.o.d -fPIC -c rsa-md5-verify.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-sha1-sign.o -MD -MP -MF rsa-sha1-sign.o.d -fPIC -c rsa-sha1-sign.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-sha1-verify.o -MD -MP -MF rsa-sha1-verify.o.d -fPIC -c rsa-sha1-verify.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-encrypt.o -MD -MP -MF rsa-encrypt.o.d -fPIC -c rsa-encrypt.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-decrypt.o -MD -MP -MF rsa-decrypt.o.d -fPIC -c rsa-decrypt.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-keygen.o -MD -MP -MF rsa-keygen.o.d -fPIC -c rsa-keygen.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-compat.o -MD -MP -MF rsa-compat.o.d -fPIC -c rsa-compat.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa2sexp.o -MD -MP -MF rsa2sexp.o.d -fPIC -c rsa2sexp.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp2rsa.o -MD -MP -MF sexp2rsa.o.d -fPIC -c sexp2rsa.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa.o -MD -MP -MF dsa.o.d -fPIC -c dsa.c \ && true sexp2rsa.c: In function 'nettle_rsa_keypair_from_sexp_alist': sexp2rsa.c:58:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:9: note: (near initialization for 'names[0]') sexp2rsa.c:58:14: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:14: note: (near initialization for 'names[1]') sexp2rsa.c:58:19: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:19: note: (near initialization for 'names[2]') sexp2rsa.c:58:24: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:24: note: (near initialization for 'names[3]') sexp2rsa.c:58:29: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:29: note: (near initialization for 'names[4]') sexp2rsa.c:58:34: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:34: note: (near initialization for 'names[5]') sexp2rsa.c:58:39: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:39: note: (near initialization for 'names[6]') sexp2rsa.c:58:44: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "n", "e", "d", "p", "q", "a", "b", "c" }; | ^~~ sexp2rsa.c:58:44: note: (near initialization for 'names[7]') sexp2rsa.c: In function 'nettle_rsa_keypair_from_sexp': sexp2rsa.c:98:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 98 | = { "rsa", "rsa-pkcs1", "rsa-pkcs1-sha1" }; | ^~~~~ sexp2rsa.c:98:9: note: (near initialization for 'names[0]') sexp2rsa.c:98:16: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 98 | = { "rsa", "rsa-pkcs1", "rsa-pkcs1-sha1" }; | ^~~~~~~~~~~ sexp2rsa.c:98:16: note: (near initialization for 'names[1]') sexp2rsa.c:98:29: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 98 | = { "rsa", "rsa-pkcs1", "rsa-pkcs1-sha1" }; | ^~~~~~~~~~~~~~~~ sexp2rsa.c:98:29: note: (near initialization for 'names[2]') sexp2rsa.c:103:58: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 103 | if (!sexp_iterator_check_type(&i, priv ? "private-key" : "public-key")) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | char * In file included from sexp2rsa.c:36: sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa-sign.o -MD -MP -MF dsa-sign.o.d -fPIC -c dsa-sign.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa-verify.o -MD -MP -MF dsa-verify.o.d -fPIC -c dsa-verify.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa-keygen.o -MD -MP -MF dsa-keygen.o.d -fPIC -c dsa-keygen.c \ && true dsa-keygen.c: In function 'dsa_nist_gen': dsa-keygen.c:71:12: warning: variable 'b' set but not used [-Wunused-but-set-variable] 71 | unsigned b; | ^ gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp2dsa.o -MD -MP -MF sexp2dsa.o.d -fPIC -c sexp2dsa.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pgp-encode.o -MD -MP -MF pgp-encode.o.d -fPIC -c pgp-encode.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa2openpgp.o -MD -MP -MF rsa2openpgp.o.d -fPIC -c rsa2openpgp.c \ && true sexp2dsa.c: In function 'nettle_dsa_keypair_from_sexp_alist': sexp2dsa.c:58:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "p", "q", "g", "y", "x" }; | ^~~ sexp2dsa.c:58:9: note: (near initialization for 'names[0]') sexp2dsa.c:58:14: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "p", "q", "g", "y", "x" }; | ^~~ sexp2dsa.c:58:14: note: (near initialization for 'names[1]') sexp2dsa.c:58:19: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "p", "q", "g", "y", "x" }; | ^~~ sexp2dsa.c:58:19: note: (near initialization for 'names[2]') sexp2dsa.c:58:24: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "p", "q", "g", "y", "x" }; | ^~~ sexp2dsa.c:58:24: note: (near initialization for 'names[3]') sexp2dsa.c:58:29: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | = { "p", "q", "g", "y", "x" }; | ^~~ sexp2dsa.c:58:29: note: (near initialization for 'names[4]') sexp2dsa.c: In function 'nettle_dsa_keypair_from_sexp': sexp2dsa.c:85:58: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 85 | && sexp_iterator_check_type(&i, priv ? "private-key" : "public-key") | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | char * In file included from sexp2dsa.c:36: sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ sexp2dsa.c:86:37: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 86 | && sexp_iterator_check_type(&i, "dsa") | ^~~~~ | | | char * sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ sexp2dsa.c: In function 'nettle_dsa_signature_from_sexp': sexp2dsa.c:94:45: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 94 | static const uint8_t * const names[2] = { "r", "s" }; | ^~~ sexp2dsa.c:94:45: note: (near initialization for 'names[0]') sexp2dsa.c:94:50: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 94 | static const uint8_t * const names[2] = { "r", "s" }; | ^~~ sexp2dsa.c:94:50: note: (near initialization for 'names[1]') pgp-encode.c: In function 'nettle_pgp_put_rsa_sha1_signature': pgp-encode.c:263:11: warning: unused variable 'digest16' [-Wunused-variable] 263 | uint8_t digest16[2]; | ^~~~~~~~ pgp-encode.c: In function 'nettle_pgp_armor': pgp-encode.c:351:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 351 | #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) | ^~~ | | | char * pgp-encode.c:369:10: note: in expansion of macro 'WRITE' 369 | if (! (WRITE(buffer, "BEGIN PGP ") | ^~~~~ In file included from pgp-encode.c:49: buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ pgp-encode.c:351:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 351 | #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) | ^~~ | | | const char * pgp-encode.c:370:13: note: in expansion of macro 'WRITE' 370 | && WRITE(buffer, tag) | ^~~~~ buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ pgp-encode.c:351:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 351 | #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) | ^~~ | | | char * pgp-encode.c:371:13: note: in expansion of macro 'WRITE' 371 | && WRITE(buffer, "\nComment: Nettle\n\n"))) | ^~~~~ buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ pgp-encode.c:351:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 351 | #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) | ^~~ | | | char * pgp-encode.c:426:11: note: in expansion of macro 'WRITE' 426 | return (WRITE(buffer, "\nBEGIN PGP ") | ^~~~~ buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ pgp-encode.c:351:68: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 351 | #define WRITE(buffer, s) (nettle_buffer_write(buffer, strlen((s)), (s))) | ^~~ | | | const char * pgp-encode.c:427:14: note: in expansion of macro 'WRITE' 427 | && WRITE(buffer, tag) | ^~~~~ buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rsa2openpgp.c: In function 'nettle_rsa_keypair_to_openpgp': rsa2openpgp.c:83:47: warning: pointer targets in passing argument 3 of 'nettle_pgp_put_userid' differ in signedness [-Wpointer-sign] 83 | if (!pgp_put_userid(buffer, strlen(userid), userid)) | ^~~~~~ | | | const char * In file included from rsa2openpgp.c:38: pgp.h:114:31: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 114 | const uint8_t *name); | ~~~~~~~~~~~~~~~^~~~ rsa2openpgp.c:69:12: warning: unused variable 'key_length' [-Wunused-variable] 69 | unsigned key_length; | ^~~~~~~~~~ gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT der-iterator.o -MD -MP -MF der-iterator.o.d -fPIC -c der-iterator.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT der2rsa.o -MD -MP -MF der2rsa.o.d -fPIC -c der2rsa.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT buffer.o -MD -MP -MF buffer.o.d -fPIC -c buffer.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT buffer-init.o -MD -MP -MF buffer-init.o.d -fPIC -c buffer-init.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT realloc.o -MD -MP -MF realloc.o.d -fPIC -c realloc.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT nettle-internal.o -MD -MP -MF nettle-internal.o.d -fPIC -c nettle-internal.c \ && true gcc -I. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT memxor.o -MD -MP -MF memxor.o.d -fPIC -c memxor.c \ && true In file included from nettle-internal.h:30, from nettle-internal.c:34: nettle-meta.h:69:3: warning: cast between incompatible function types from 'int (*)(struct blowfish_ctx *, unsigned int, const uint8_t *)' {aka 'int (*)(struct blowfish_ctx *, unsigned int, const unsigned char *)'} to 'void (*)(void *, unsigned int, const uint8_t *)' {aka 'void (*)(void *, unsigned int, const unsigned char *)'} [-Wcast-function-type] 69 | (nettle_set_key_func) name##_set_key, \ | ^ nettle-internal.c:85:22: note: in expansion of macro '_NETTLE_CIPHER' 85 | nettle_blowfish128 = _NETTLE_CIPHER(blowfish, BLOWFISH, 128); | ^~~~~~~~~~~~~~ nettle-meta.h:70:3: warning: cast between incompatible function types from 'int (*)(struct blowfish_ctx *, unsigned int, const uint8_t *)' {aka 'int (*)(struct blowfish_ctx *, unsigned int, const unsigned char *)'} to 'void (*)(void *, unsigned int, const uint8_t *)' {aka 'void (*)(void *, unsigned int, const unsigned char *)'} [-Wcast-function-type] 70 | (nettle_set_key_func) name##_set_key, \ | ^ nettle-internal.c:85:22: note: in expansion of macro '_NETTLE_CIPHER' 85 | nettle_blowfish128 = _NETTLE_CIPHER(blowfish, BLOWFISH, 128); | ^~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 aesdata.o -lgmp -o aesdata gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 desdata.o -lgmp -o desdata gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 shadata.o -lgmp -lm -o shadata rm -f libnettle.a ar cru libnettle.a aes-decrypt-internal.o aes-decrypt.o aes-encrypt-internal.o aes-encrypt.o aes-encrypt-table.o aes-set-encrypt-key.o aes-set-decrypt-key.o aes-meta.o arcfour.o arcfour-crypt.o arcfour-meta.o arctwo.o arctwo-meta.o base16-encode.o base16-decode.o base16-meta.o base64-encode.o base64-decode.o base64-meta.o cast128.o cast128-meta.o blowfish.o cbc.o ctr.o des.o des3.o des-compat.o hmac.o hmac-md5.o hmac-sha1.o hmac-sha256.o knuth-lfib.o md2.o md2-meta.o md4.o md4-meta.o md5.o md5-compress.o md5-compat.o md5-meta.o sha1.o sha1-compress.o sha1-meta.o sha256.o sha256-meta.o serpent.o serpent-meta.o twofish.o twofish-meta.o yarrow256.o yarrow_key_event.o sexp.o sexp-format.o sexp-transport.o sexp-transport-format.o bignum.o bignum-random.o sexp2bignum.o pkcs1.o pkcs1-rsa-md5.o pkcs1-rsa-sha1.o rsa.o rsa-sign.o rsa-verify.o rsa-md5-sign.o rsa-md5-verify.o rsa-sha1-sign.o rsa-sha1-verify.o rsa-encrypt.o rsa-decrypt.o rsa-keygen.o rsa-compat.o rsa2sexp.o sexp2rsa.o dsa.o dsa-sign.o dsa-verify.o dsa-keygen.o sexp2dsa.o pgp-encode.o rsa2openpgp.o der-iterator.o der2rsa.o buffer.o buffer-init.o realloc.o nettle-internal.o memxor.o ranlib libnettle.a gmake[5]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/nettle' set -e; for d in tools testsuite examples; do \ echo "Making all in $d" ; (cd $d && /opt/local/bin/gmake all); done Making all in tools gmake[5]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/nettle/tools' gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-conv.o -MD -MP -MF sexp-conv.o.d -c sexp-conv.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT input.o -MD -MP -MF input.o.d -c input.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT output.o -MD -MP -MF output.o.d -c output.c && true input.c: In function 'sexp_get_string': input.c:234:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 234 | die("Unexpected end of file in coded string.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c:235:13: note: here 235 | case SEXP_END_CHAR: | ^~~~ output.c: In function 'sexp_put_string': output.c:179:51: warning: pointer targets in passing argument 3 of 'sexp_put_data' differ in signedness [-Wpointer-sign] 179 | (mode == SEXP_ADVANCED) ? "\"\"": "0:"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | char * output.c:117:47: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 117 | unsigned length, const uint8_t *data) | ~~~~~~~~~~~~~~~^~~~ In file included from sexp-conv.c:39: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ sexp-conv.c: In function 'sexp_convert_item': sexp-conv.c:83:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 83 | die("Unmatched end of list.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sexp-conv.c:84:5: note: here 84 | case SEXP_EOF: | ^~~~ sexp-conv.c:85:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 85 | die("Unexpected end of file.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sexp-conv.c:86:5: note: here 86 | case SEXP_CODING_END: | ^~~~ sexp-conv.c:87:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 87 | die("Unexpected end of coding.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sexp-conv.c:89:5: note: here 89 | case SEXP_LIST_START: | ^~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT parse.o -MD -MP -MF parse.o.d -c parse.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT getopt.o -MD -MP -MF getopt.o.d -c getopt.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT getopt1.o -MD -MP -MF getopt1.o.d -c getopt1.c && true In file included from getopt1.c:24: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ parse.c: In function 'sexp_parse': parse.c:153:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 153 | die("Unexpected end of transport encoding.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parse.c:155:9: note: here 155 | default: | ^~~~~~~ In file included from getopt.c:104: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ getopt.c:211:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 211 | extern char *getenv (); | ^~~~~~ getopt.c:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 215 | my_index (str, chr) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:397:10: warning: unused parameter 'argc' [-Wunused-parameter] 397 | int argc; | ^~~~ getopt.c:398:19: warning: unused parameter 'argv' [-Wunused-parameter] 398 | char *const *argv; | ^~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT misc.o -MD -MP -MF misc.o.d -c misc.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT nettle-lfib-stream.o -MD -MP -MF nettle-lfib-stream.o.d -c nettle-lfib-stream.c && true nettle-lfib-stream.c: In function 'main': nettle-lfib-stream.c:73:40: warning: pointer targets in passing argument 3 of 'nettle_knuth_lfib_random' differ in signedness [-Wpointer-sign] 73 | knuth_lfib_random(&ctx, BUFSIZE, buffer); | ^~~~~~ | | | char * In file included from nettle-lfib-stream.c:28: ../knuth-lfib.h:65:40: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 65 | unsigned n, uint8_t *dst); | ~~~~~~~~~^~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pkcs1-conv.o -MD -MP -MF pkcs1-conv.o.d -c pkcs1-conv.c && true gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 nettle-lfib-stream.o -lnettle -lgmp -o nettle-lfib-stream In file included from pkcs1-conv.c:39: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ pkcs1-conv.c: In function 'convert_file': pkcs1-conv.c:472:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 472 | if (memcmp(marker, "PUBLIC KEY", 10) == 0) | ^ pkcs1-conv.c:477:13: note: here 477 | case 14: | ^~~~ pkcs1-conv.c:478:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 478 | if (memcmp(marker, "RSA PUBLIC KEY", 14) == 0) | ^ pkcs1-conv.c:484:13: note: here 484 | case 15: | ^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 sexp-conv.o input.o output.o parse.o getopt.o getopt1.o misc.o -lnettle -lgmp -o sexp-conv gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 pkcs1-conv.o getopt.o getopt1.o misc.o -lnettle -lgmp -o pkcs1-conv gmake[5]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/nettle/tools' Making all in testsuite gmake[5]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/nettle/testsuite' gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-test.o -MD -MP -MF aes-test.o.d -c aes-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT testutils.o -MD -MP -MF testutils.o.d -c testutils.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arcfour-test.o -MD -MP -MF arcfour-test.o.d -c arcfour-test.c && true testutils.c: In function 'test_armor': testutils.c:378:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 378 | unsigned ascii_length = strlen(ascii); | ^~~~~ | | | const uint8_t * {aka const unsigned char *} In file included from /usr/include/string.h:35, from testutils.h:10, from testutils.c:3: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ testutils.c:401:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 401 | if (0x33 != buffer[strlen(ascii)]) | ^~~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ testutils.c: In function 'test_rsa_md5': testutils.c:552:18: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 552 | SIGN(key, md5, "The magic words are squeamish ossifrage", signature); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.c:552:3: note: in expansion of macro 'SIGN' 552 | SIGN(key, md5, "The magic words are squeamish ossifrage", signature); | ^~~~ In file included from ../rsa.h:32, from testutils.h:19: ../md5.h:56:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 56 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ testutils.c:566:14: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 566 | "The magick words are squeamish ossifrage", signature)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.c:565:7: note: in expansion of macro 'VERIFY' 565 | if (VERIFY(pub, md5, | ^~~~~~ ../md5.h:56:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 56 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ testutils.c:571:15: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 571 | "The magic words are squeamish ossifrage", signature)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.c:570:8: note: in expansion of macro 'VERIFY' 570 | if (!VERIFY(pub, md5, | ^~~~~~ ../md5.h:56:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 56 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ testutils.c:578:14: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 578 | "The magic words are squeamish ossifrage", signature)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.c:577:7: note: in expansion of macro 'VERIFY' 577 | if (VERIFY(pub, md5, | ^~~~~~ ../md5.h:56:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 56 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ testutils.c: In function 'test_rsa_sha1': testutils.c:595:19: warning: pointer targets in passing argument 3 of 'nettle_sha1_update' differ in signedness [-Wpointer-sign] 595 | SIGN(key, sha1, "The magic words are squeamish ossifrage", signature); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.c:595:3: note: in expansion of macro 'SIGN' 595 | SIGN(key, sha1, "The magic words are squeamish ossifrage", signature); | ^~~~ In file included from ../rsa.h:33: ../sha.h:61:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 61 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ testutils.c:609:14: warning: pointer targets in passing argument 3 of 'nettle_sha1_update' differ in signedness [-Wpointer-sign] 609 | "The magick words are squeamish ossifrage", signature)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.c:608:7: note: in expansion of macro 'VERIFY' 608 | if (VERIFY(pub, sha1, | ^~~~~~ ../sha.h:61:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 61 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ testutils.c:614:15: warning: pointer targets in passing argument 3 of 'nettle_sha1_update' differ in signedness [-Wpointer-sign] 614 | "The magic words are squeamish ossifrage", signature)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.c:613:8: note: in expansion of macro 'VERIFY' 613 | if (!VERIFY(pub, sha1, | ^~~~~~ ../sha.h:61:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 61 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ testutils.c:621:14: warning: pointer targets in passing argument 3 of 'nettle_sha1_update' differ in signedness [-Wpointer-sign] 621 | "The magic words are squeamish ossifrage", signature)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.c:620:7: note: in expansion of macro 'VERIFY' 620 | if (VERIFY(pub, sha1, | ^~~~~~ ../sha.h:61:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 61 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ testutils.c: In function 'test_dsa': testutils.c:718:28: warning: pointer targets in passing argument 3 of 'nettle_sha1_update' differ in signedness [-Wpointer-sign] 718 | sha1_update(&sha1, LDATA("The magic words are squeamish ossifrage")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../sha.h:61:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 61 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ testutils.c:739:18: warning: pointer targets in passing argument 3 of 'nettle_sha1_update' differ in signedness [-Wpointer-sign] 739 | "The magick words are squeamish ossifrage", &signature)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.c:738:7: note: in expansion of macro 'DSA_VERIFY' 738 | if (DSA_VERIFY(pub, &sha1, | ^~~~~~~~~~ ../sha.h:61:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 61 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ testutils.c:744:18: warning: pointer targets in passing argument 3 of 'nettle_sha1_update' differ in signedness [-Wpointer-sign] 744 | "The magic words are squeamish ossifrage", &signature)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.c:743:8: note: in expansion of macro 'DSA_VERIFY' 743 | if (!DSA_VERIFY(pub, &sha1, | ^~~~~~~~~~ ../sha.h:61:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 61 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ testutils.c:751:18: warning: pointer targets in passing argument 3 of 'nettle_sha1_update' differ in signedness [-Wpointer-sign] 751 | "The magic words are squeamish ossifrage", &signature)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.c:750:7: note: in expansion of macro 'DSA_VERIFY' 750 | if (DSA_VERIFY(pub, &sha1, | ^~~~~~~~~~ ../sha.h:61:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 61 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT arctwo-test.o -MD -MP -MF arctwo-test.o.d -c arctwo-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT blowfish-test.o -MD -MP -MF blowfish-test.o.d -c blowfish-test.c && true blowfish-test.c: In function 'test_main': blowfish-test.c:10:19: warning: pointer targets in passing argument 3 of 'test_cipher' differ in signedness [-Wpointer-sign] 10 | 26, "abcdefghijklmnopqrstuvwxyz", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from blowfish-test.c:1: testutils.h:52:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 52 | const uint8_t *key, | ~~~~~~~~~~~~~~~^~~ blowfish-test.c:11:36: warning: pointer targets in passing argument 5 of 'test_cipher' differ in signedness [-Wpointer-sign] 11 | BLOWFISH_BLOCK_SIZE, "BLOWFISH", | ^~~~~~~~~~ | | | char * testutils.h:54:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 54 | const uint8_t *cleartext, | ~~~~~~~~~~~~~~~^~~~~~~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT cast128-test.o -MD -MP -MF cast128-test.o.d -c cast128-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT base16-test.o -MD -MP -MF base16-test.o.d -c base16-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT base64-test.o -MD -MP -MF base64-test.o.d -c base64-test.c && true base64-test.c: In function 'test_main': base16-test.c: In function 'test_main': base64-test.c:22:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 22 | test_armor(&nettle_base64, 0, "", ""); | ^~ | | | char * base16-test.c:17:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 17 | test_armor(&nettle_base16, 0, "", ""); | ^~ | | | char * In file included from base64-test.c:1: testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ In file included from base16-test.c:1: testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ base64-test.c:22:37: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 22 | test_armor(&nettle_base64, 0, "", ""); | ^~ | | | char * base16-test.c:17:37: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 17 | test_armor(&nettle_base16, 0, "", ""); | ^~ | | | char * testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ base16-test.c:18:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 18 | test_armor(&nettle_base16, 1, "H", "48"); | ^~~ | | | char * base64-test.c:23:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 23 | test_armor(&nettle_base64, 1, "H", "SA=="); | ^~~ | | | char * testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ base16-test.c:18:38: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 18 | test_armor(&nettle_base16, 1, "H", "48"); | ^~~~ | | | char * base64-test.c:23:38: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 23 | test_armor(&nettle_base64, 1, "H", "SA=="); | ^~~~~~ | | | char * testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ base16-test.c:19:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 19 | test_armor(&nettle_base16, 2, "He", "4865"); | ^~~~ | | | char * base64-test.c:24:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 24 | test_armor(&nettle_base64, 2, "He", "SGU="); | ^~~~ | | | char * testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ base16-test.c:19:39: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 19 | test_armor(&nettle_base16, 2, "He", "4865"); | ^~~~~~ | | | char * base64-test.c:24:39: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 24 | test_armor(&nettle_base64, 2, "He", "SGU="); | ^~~~~~ | | | char * testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ base16-test.c:20:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 20 | test_armor(&nettle_base16, 3, "Hel", "48656c"); | ^~~~~ | | | char * testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ base64-test.c:25:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 25 | test_armor(&nettle_base64, 3, "Hel", "SGVs"); | ^~~~~ | | | char * testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ base16-test.c:20:40: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 20 | test_armor(&nettle_base16, 3, "Hel", "48656c"); | ^~~~~~~~ | | | char * testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ base64-test.c:25:40: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 25 | test_armor(&nettle_base64, 3, "Hel", "SGVs"); | ^~~~~~ | | | char * testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ base16-test.c:21:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 21 | test_armor(&nettle_base16, 4, "Hell", "48656c6c"); | ^~~~~~ | | | char * base64-test.c:26:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 26 | test_armor(&nettle_base64, 4, "Hell", "SGVsbA=="); | ^~~~~~ | | | char * testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ base16-test.c:21:41: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 21 | test_armor(&nettle_base16, 4, "Hell", "48656c6c"); | ^~~~~~~~~~ | | | char * base64-test.c:26:41: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 26 | test_armor(&nettle_base64, 4, "Hell", "SGVsbA=="); | ^~~~~~~~~~ | | | char * testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ base16-test.c:22:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 22 | test_armor(&nettle_base16, 5, "Hello", "48656c6c6f"); | ^~~~~~~ | | | char * testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ base64-test.c:27:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 27 | test_armor(&nettle_base64, 5, "Hello", "SGVsbG8="); | ^~~~~~~ | | | char * base16-test.c:22:42: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 22 | test_armor(&nettle_base16, 5, "Hello", "48656c6c6f"); | ^~~~~~~~~~~~ | | | char * testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ base64-test.c:27:42: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 27 | test_armor(&nettle_base64, 5, "Hello", "SGVsbG8="); | ^~~~~~~~~~ | | | char * testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ base16-test.c:23:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 23 | test_armor(&nettle_base16, 6, "Hello", "48656c6c6f00"); | ^~~~~~~ | | | char * testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ base64-test.c:28:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 28 | test_armor(&nettle_base64, 6, "Hello", "SGVsbG8A"); | ^~~~~~~ | | | char * testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ base16-test.c:23:42: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 23 | test_armor(&nettle_base16, 6, "Hello", "48656c6c6f00"); | ^~~~~~~~~~~~~~ | | | char * testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ base64-test.c:28:42: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 28 | test_armor(&nettle_base64, 6, "Hello", "SGVsbG8A"); | ^~~~~~~~~~ | | | char * testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ base64-test.c:29:33: warning: pointer targets in passing argument 3 of 'test_armor' differ in signedness [-Wpointer-sign] 29 | test_armor(&nettle_base64, 4, "\xff\xff\xff\xff", "/////w=="); | ^~~~~~~~~~~~~~~~~~ | | | char * testutils.h:98:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 98 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ base64-test.c:29:53: warning: pointer targets in passing argument 4 of 'test_armor' differ in signedness [-Wpointer-sign] 29 | test_armor(&nettle_base64, 4, "\xff\xff\xff\xff", "/////w=="); | ^~~~~~~~~~ | | | char * testutils.h:99:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 99 | const uint8_t *ascii); | ~~~~~~~~~~~~~~~^~~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT des-test.o -MD -MP -MF des-test.o.d -c des-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT des3-test.o -MD -MP -MF des3-test.o.d -c des3-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT des-compat-test.o -MD -MP -MF des-compat-test.o.d -c des-compat-test.c && true des-test.c: In function 'test_main': des-test.c:34:31: warning: pointer targets in passing argument 5 of 'test_cipher' differ in signedness [-Wpointer-sign] 34 | DES_BLOCK_SIZE, "Now is t", | ^~~~~~~~~~ | | | char * In file included from des-test.c:1: testutils.h:54:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 54 | const uint8_t *cleartext, | ~~~~~~~~~~~~~~~^~~~~~~~~ des3-test.c: In function 'test_main': des3-test.c:17:31: warning: pointer targets in passing argument 5 of 'test_cipher' differ in signedness [-Wpointer-sign] 17 | DES_BLOCK_SIZE, "Now is t", | ^~~~~~~~~~ | | | char * In file included from des3-test.c:1: testutils.h:54:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 54 | const uint8_t *cleartext, | ~~~~~~~~~~~~~~~^~~~~~~~~ des-compat-test.c: In function 'test_main': des-compat-test.c:312:15: warning: unused variable 'str' [-Wunused-variable] 312 | char *str; | ^~~ des-compat-test.c:311:13: warning: unused variable 'num' [-Wunused-variable] 311 | int num; | ^~~ des-compat-test.c:310:18: warning: unused variable 'lqret' [-Wunused-variable] 310 | DES_LONG lqret[4]; | ^~~~~ des-compat-test.c:309:23: warning: unused variable 'qret' [-Wunused-variable] 309 | unsigned char qret[4][4],cret[8]; | ^~~~ des-compat-test.c: At top level: des-compat-test.c:290:12: warning: 'cfb_test' declared 'static' but never defined [-Wunused-function] 290 | static int cfb_test(int bits, unsigned char *cfb_cipher); | ^~~~~~~~ des-compat-test.c:291:12: warning: 'cfb64_test' declared 'static' but never defined [-Wunused-function] 291 | static int cfb64_test(unsigned char *cfb_cipher); | ^~~~~~~~~~ des-compat-test.c:292:12: warning: 'ede_cfb64_test' declared 'static' but never defined [-Wunused-function] 292 | static int ede_cfb64_test(unsigned char *cfb_cipher); | ^~~~~~~~~~~~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT md2-test.o -MD -MP -MF md2-test.o.d -c md2-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT md4-test.o -MD -MP -MF md4-test.o.d -c md4-test.c && true md2-test.c: In function 'test_main': md2-test.c:8:29: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 8 | test_hash(&nettle_md2, 0, "", | ^~ | | | char * In file included from md2-test.c:1: testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md2-test.c:10:32: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 10 | test_hash(&nettle_md2, LDATA("a"), | ^~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md2-test.c:12:32: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 12 | test_hash(&nettle_md2, LDATA("abc"), | ^~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md2-test.c:14:32: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 14 | test_hash(&nettle_md2, LDATA("message digest"), | ^~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md2-test.c:16:32: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 16 | test_hash(&nettle_md2, LDATA("abcdefghijklmnopqrstuvwxyz"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md2-test.c:19:19: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 19 | LDATA("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md2-test.c:22:32: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 22 | test_hash(&nettle_md2, LDATA("1234567890123456789012345678901234567890" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ In file included from md4-test.c:1: md4-test.c: In function 'test_main': md4-test.c:8:32: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 8 | test_hash(&nettle_md4, LDATA(""), | ^~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md4-test.c:10:32: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 10 | test_hash(&nettle_md4, LDATA("a"), | ^~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md4-test.c:12:32: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 12 | test_hash(&nettle_md4, LDATA("abc"), | ^~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md4-test.c:14:32: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 14 | test_hash(&nettle_md4, LDATA("message digest"), | ^~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md4-test.c:16:32: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 16 | test_hash(&nettle_md4, LDATA("abcdefghijklmnopqrstuvwxyz"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md4-test.c:19:19: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 19 | LDATA("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md4-test.c:23:19: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 23 | LDATA("12345678901234567890123456789012345678901234567890" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT md5-test.o -MD -MP -MF md5-test.o.d -c md5-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT md5-compat-test.o -MD -MP -MF md5-compat-test.o.d -c md5-compat-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sha1-test.o -MD -MP -MF sha1-test.o.d -c sha1-test.c && true md5-test.c: In function 'test_main': md5-test.c:7:29: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 7 | test_hash(&nettle_md5, 0, "", | ^~ | | | char * In file included from md5-test.c:1: testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md5-test.c:10:29: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 10 | test_hash(&nettle_md5, 1, "a", | ^~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md5-test.c:13:29: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 13 | test_hash(&nettle_md5, 3, "abc", | ^~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md5-test.c:16:30: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 16 | test_hash(&nettle_md5, 14, "message digest", | ^~~~~~~~~~~~~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md5-test.c:19:30: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 19 | test_hash(&nettle_md5, 26, "abcdefghijklmnopqrstuvwxyz", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md5-test.c:23:13: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 23 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md5-test.c:29:13: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 29 | "1234567890123456789012345678901234567890" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ md5-compat-test.c: In function 'test_main': md5-compat-test.c:16:19: warning: pointer targets in passing argument 2 of 'nettle_MD5Update' differ in signedness [-Wpointer-sign] 16 | MD5Update(&ctx, "a", 1); | ^~~ | | | char * In file included from md5-compat-test.c:2: ../md5-compat.h:39:51: note: expected 'const unsigned char *' but argument is of type 'char *' 39 | void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); | ~~~~~~~~~~~~~~~~~~~~~^~~~ md5-compat-test.c:23:19: warning: pointer targets in passing argument 2 of 'nettle_MD5Update' differ in signedness [-Wpointer-sign] 23 | MD5Update(&ctx, "abc", 3); | ^~~~~ | | | char * ../md5-compat.h:39:51: note: expected 'const unsigned char *' but argument is of type 'char *' 39 | void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); | ~~~~~~~~~~~~~~~~~~~~~^~~~ md5-compat-test.c:30:19: warning: pointer targets in passing argument 2 of 'nettle_MD5Update' differ in signedness [-Wpointer-sign] 30 | MD5Update(&ctx, "message digest", 14); | ^~~~~~~~~~~~~~~~ | | | char * ../md5-compat.h:39:51: note: expected 'const unsigned char *' but argument is of type 'char *' 39 | void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); | ~~~~~~~~~~~~~~~~~~~~~^~~~ md5-compat-test.c:37:19: warning: pointer targets in passing argument 2 of 'nettle_MD5Update' differ in signedness [-Wpointer-sign] 37 | MD5Update(&ctx, "abcdefghijklmnopqrstuvwxyz", 26); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../md5-compat.h:39:51: note: expected 'const unsigned char *' but argument is of type 'char *' 39 | void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); | ~~~~~~~~~~~~~~~~~~~~~^~~~ md5-compat-test.c:44:19: warning: pointer targets in passing argument 2 of 'nettle_MD5Update' differ in signedness [-Wpointer-sign] 44 | MD5Update(&ctx, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", 62); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../md5-compat.h:39:51: note: expected 'const unsigned char *' but argument is of type 'char *' 39 | void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); | ~~~~~~~~~~~~~~~~~~~~~^~~~ md5-compat-test.c:51:19: warning: pointer targets in passing argument 2 of 'nettle_MD5Update' differ in signedness [-Wpointer-sign] 51 | MD5Update(&ctx, "1234567890123456789012345678901234567890" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ../md5-compat.h:39:51: note: expected 'const unsigned char *' but argument is of type 'char *' 39 | void MD5Update(MD5_CTX *ctx, const unsigned char *data, unsigned int length); | ~~~~~~~~~~~~~~~~~~~~~^~~~ sha1-test.c: In function 'test_main': sha1-test.c:7:30: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 7 | test_hash(&nettle_sha1, 0, "", | ^~ | | | char * In file included from sha1-test.c:1: testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ sha1-test.c:10:30: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 10 | test_hash(&nettle_sha1, 1, "a", | ^~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ sha1-test.c:13:30: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 13 | test_hash(&nettle_sha1, 3, "abc", | ^~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ sha1-test.c:16:31: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 16 | test_hash(&nettle_sha1, 26, "abcdefghijklmnopqrstuvwxyz", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ sha1-test.c:19:31: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 19 | test_hash(&nettle_sha1, 14, "message digest", | ^~~~~~~~~~~~~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ sha1-test.c:23:13: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 23 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ sha1-test.c:28:13: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 28 | "1234567890123456789012345678901234567890" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sha256-test.o -MD -MP -MF sha256-test.o.d -c sha256-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT serpent-test.o -MD -MP -MF serpent-test.o.d -c serpent-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT twofish-test.o -MD -MP -MF twofish-test.o.d -c twofish-test.c && true sha256-test.c: In function 'test_main': sha256-test.c:7:32: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 7 | test_hash(&nettle_sha256, 3, "abc", | ^~~~~ | | | char * In file included from sha256-test.c:1: testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ sha256-test.c:12:13: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 12 | "abcdbcdecdefdefgefghfghighij" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ sha256-test.c:18:13: warning: pointer targets in passing argument 3 of 'test_hash' differ in signedness [-Wpointer-sign] 18 | "abcdefghbcdefghicdefghijdefg" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:86:26: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 86 | const uint8_t *data, | ~~~~~~~~~~~~~~~^~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT buffer-test.o -MD -MP -MF buffer-test.o.d -c buffer-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-test.o -MD -MP -MF sexp-test.o.d -c sexp-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp-format-test.o -MD -MP -MF sexp-format-test.o.d -c sexp-format-test.c && true In file included from buffer-test.c:1: buffer-test.c: In function 'test_main': buffer-test.c:11:45: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 11 | ASSERT(nettle_buffer_write(&buffer, LDATA("foo"))); | ^~~~~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ buffer-test.c:11:39: note: in expansion of macro 'LDATA' 11 | ASSERT(nettle_buffer_write(&buffer, LDATA("foo"))); | ^~~~~ In file included from buffer-test.c:2: ../buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ buffer-test.c:23:45: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 23 | ASSERT(nettle_buffer_write(&buffer, LDATA("foo"))); | ^~~~~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ buffer-test.c:23:39: note: in expansion of macro 'LDATA' 23 | ASSERT(nettle_buffer_write(&buffer, LDATA("foo"))); | ^~~~~ ../buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ buffer-test.c:26:46: warning: pointer targets in passing argument 3 of 'nettle_buffer_write' differ in signedness [-Wpointer-sign] 26 | ASSERT(!nettle_buffer_write(&buffer, LDATA("bar"))); | ^~~~~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ buffer-test.c:26:40: note: in expansion of macro 'LDATA' 26 | ASSERT(!nettle_buffer_write(&buffer, LDATA("bar"))); | ^~~~~ ../buffer.h:75:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 75 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ In file included from sexp-test.c:1: sexp-test.c: In function 'test_main': sexp-test.c:10:40: warning: pointer targets in passing argument 3 of 'nettle_sexp_iterator_first' differ in signedness [-Wpointer-sign] 10 | ASSERT(sexp_iterator_first(&i, LDATA(""))); | ^~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ sexp-test.c:10:34: note: in expansion of macro 'LDATA' 10 | ASSERT(sexp_iterator_first(&i, LDATA(""))); | ^~~~~ In file included from sexp-test.c:2: ../sexp.h:79:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 79 | unsigned length, const uint8_t *input); | ~~~~~~~~~~~~~~~^~~~~ sexp-test.c:13:40: warning: pointer targets in passing argument 3 of 'nettle_sexp_iterator_first' differ in signedness [-Wpointer-sign] 13 | ASSERT(sexp_iterator_first(&i, LDATA("()"))); | ^~~~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ sexp-test.c:13:34: note: in expansion of macro 'LDATA' 13 | ASSERT(sexp_iterator_first(&i, LDATA("()"))); | ^~~~~ ../sexp.h:79:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 79 | unsigned length, const uint8_t *input); | ~~~~~~~~~~~~~~~^~~~~ sexp-test.c:20:40: warning: pointer targets in passing argument 3 of 'nettle_sexp_iterator_first' differ in signedness [-Wpointer-sign] 20 | ASSERT(sexp_iterator_first(&i, LDATA("("))); | ^~~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ sexp-test.c:20:34: note: in expansion of macro 'LDATA' 20 | ASSERT(sexp_iterator_first(&i, LDATA("("))); | ^~~~~ ../sexp.h:79:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 79 | unsigned length, const uint8_t *input); | ~~~~~~~~~~~~~~~^~~~~ sexp-test.c:25:40: warning: pointer targets in passing argument 3 of 'nettle_sexp_iterator_first' differ in signedness [-Wpointer-sign] 25 | ASSERT(sexp_iterator_first(&i, LDATA("1:\0" | ^~~~~~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ sexp-test.c:25:34: note: in expansion of macro 'LDATA' 25 | ASSERT(sexp_iterator_first(&i, LDATA("1:\0" | ^~~~~ ../sexp.h:79:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 79 | unsigned length, const uint8_t *input); | ~~~~~~~~~~~~~~~^~~~~ sexp-test.c:36:40: warning: pointer targets in passing argument 3 of 'nettle_sexp_iterator_first' differ in signedness [-Wpointer-sign] 36 | ASSERT(sexp_iterator_first(&i, LDATA("3:foo0:[3:bar]12:xxxxxxxxxxxx"))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ sexp-test.c:36:34: note: in expansion of macro 'LDATA' 36 | ASSERT(sexp_iterator_first(&i, LDATA("3:foo0:[3:bar]12:xxxxxxxxxxxx"))); | ^~~~~ ../sexp.h:79:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 79 | unsigned length, const uint8_t *input); | ~~~~~~~~~~~~~~~^~~~~ testutils.h:137:28: warning: pointer targets in passing argument 3 of 'nettle_sexp_transport_iterator_first' differ in signedness [-Wpointer-sign] 137 | #define LDUP(x) strlen(x), strdup(x) | ^~~~~~~~~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ sexp-test.c:54:15: note: in expansion of macro 'LDUP' 54 | (&i, LDUP("{Mzpmb28=} {MDo=} {WzM6YmFyXTEyOnh4eHh4eHh4eHh4eA==}"))); | ^~~~ ../sexp.h:84:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 84 | unsigned length, uint8_t *input); | ~~~~~~~~~^~~~~ sexp-test.c:70:39: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 70 | static const uint8_t *keys[2] = { "n", "e" }; | ^~~ sexp-test.c:70:39: note: (near initialization for 'keys[0]') sexp-test.c:70:44: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 70 | static const uint8_t *keys[2] = { "n", "e" }; | ^~~ sexp-test.c:70:44: note: (near initialization for 'keys[1]') sexp-test.c:73:42: warning: pointer targets in passing argument 3 of 'nettle_sexp_iterator_first' differ in signedness [-Wpointer-sign] 73 | ASSERT(sexp_iterator_first(&i, LDATA("((1:n2:xx3:foo)0:(1:y)(1:e))"))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ sexp-test.c:73:36: note: in expansion of macro 'LDATA' 73 | ASSERT(sexp_iterator_first(&i, LDATA("((1:n2:xx3:foo)0:(1:y)(1:e))"))); | ^~~~~ ../sexp.h:79:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 79 | unsigned length, const uint8_t *input); | ~~~~~~~~~~~~~~~^~~~~ sexp-test.c:89:42: warning: pointer targets in passing argument 3 of 'nettle_sexp_iterator_first' differ in signedness [-Wpointer-sign] 89 | ASSERT(sexp_iterator_first(&i, LDATA("((1:n))"))); | ^~~~~~~~~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ sexp-test.c:89:36: note: in expansion of macro 'LDATA' 89 | ASSERT(sexp_iterator_first(&i, LDATA("((1:n))"))); | ^~~~~ ../sexp.h:79:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 79 | unsigned length, const uint8_t *input); | ~~~~~~~~~~~~~~~^~~~~ sexp-test.c:93:42: warning: pointer targets in passing argument 3 of 'nettle_sexp_iterator_first' differ in signedness [-Wpointer-sign] 93 | ASSERT(sexp_iterator_first(&i, LDATA("((1:n)(1:n3:foo))"))); | ^~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ sexp-test.c:93:36: note: in expansion of macro 'LDATA' 93 | ASSERT(sexp_iterator_first(&i, LDATA("((1:n)(1:n3:foo))"))); | ^~~~~ ../sexp.h:79:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 79 | unsigned length, const uint8_t *input); | ~~~~~~~~~~~~~~~^~~~~ In file included from sexp-format-test.c:1: sexp-format-test.c: In function 'test_main': sexp-format-test.c:21:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 21 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ In file included from /usr/include/string.h:35, from testutils.h:10: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:25:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 25 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:27:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 27 | ASSERT(buffer.size == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:36:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 36 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:40:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 40 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:42:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 42 | ASSERT(buffer.size == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:63:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 63 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:65:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 65 | ASSERT(buffer.size == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:75:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 75 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:87:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 87 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:91:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 91 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:93:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 93 | ASSERT(buffer.size == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:102:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 102 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:106:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 106 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:108:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 108 | ASSERT(buffer.size == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:118:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 118 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:121:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 121 | == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:123:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 123 | ASSERT(buffer.size == strlen(e)); | ^ | | | const uint8_t * {aka const unsigned char *} testutils.h:148:30: note: in definition of macro 'ASSERT' 148 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sexp-format-test.c:139:42: warning: pointer targets in passing argument 3 of 'nettle_mpz_init_set_str_256_u' differ in signedness [-Wpointer-sign] 139 | nettle_mpz_init_set_str_256_u(y, 11, "abcdefghijk"); | ^~~~~~~~~~~~~ | | | char * In file included from testutils.h:15: ../bignum.h:66:63: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 66 | unsigned length, const uint8_t *s); | ~~~~~~~~~~~~~~~^ sexp-format-test.c:140:42: warning: pointer targets in passing argument 3 of 'nettle_mpz_init_set_str_256_u' differ in signedness [-Wpointer-sign] 140 | nettle_mpz_init_set_str_256_u(z, 12, "\x81""abcdefghijk"); | ^~~~~~ | | | char * ../bignum.h:66:63: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 66 | unsigned length, const uint8_t *s); | ~~~~~~~~~~~~~~~^ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa2sexp-test.o -MD -MP -MF rsa2sexp-test.o.d -c rsa2sexp-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sexp2rsa-test.o -MD -MP -MF sexp2rsa-test.o.d -c sexp2rsa-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT knuth-lfib-test.o -MD -MP -MF knuth-lfib-test.o.d -c knuth-lfib-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT cbc-test.o -MD -MP -MF cbc-test.o.d -c cbc-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT ctr-test.o -MD -MP -MF ctr-test.o.d -c ctr-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT hmac-test.o -MD -MP -MF hmac-test.o.d -c hmac-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT bignum-test.o -MD -MP -MF bignum-test.o.d -c bignum-test.c && true In file included from hmac-test.c:1: hmac-test.c: In function 'test_main': hmac-test.c:20:31: warning: pointer targets in passing argument 3 of 'nettle_hmac_md5_update' differ in signedness [-Wpointer-sign] 20 | hmac_md5_update(&md5, LDATA("Hi There")); | ^~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ In file included from hmac-test.c:2: ../hmac.h:88:49: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 88 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:28:32: warning: pointer targets in passing argument 3 of 'nettle_hmac_md5_set_key' differ in signedness [-Wpointer-sign] 28 | hmac_md5_set_key(&md5, LDATA("Jefe")); | ^~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:84:54: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 84 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ hmac-test.c:29:31: warning: pointer targets in passing argument 3 of 'nettle_hmac_md5_update' differ in signedness [-Wpointer-sign] 29 | hmac_md5_update(&md5, LDATA("what do ya want for nothing?")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:88:49: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 88 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:64:31: warning: pointer targets in passing argument 3 of 'nettle_hmac_md5_update' differ in signedness [-Wpointer-sign] 64 | hmac_md5_update(&md5, LDATA("Test With Truncation")); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:88:49: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 88 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:78:25: warning: pointer targets in passing argument 3 of 'nettle_hmac_md5_update' differ in signedness [-Wpointer-sign] 78 | LDATA("Test Using Larger Than Block-Size Key - Hash Key First")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:88:49: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 88 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:92:25: warning: pointer targets in passing argument 3 of 'nettle_hmac_md5_update' differ in signedness [-Wpointer-sign] 92 | LDATA("Test Using Larger Than Block-Size Key and Larger " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:88:49: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 88 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:105:33: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha1_update' differ in signedness [-Wpointer-sign] 105 | hmac_sha1_update(&sha1, LDATA("Hi There")); | ^~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:104:50: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 104 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:113:34: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha1_set_key' differ in signedness [-Wpointer-sign] 113 | hmac_sha1_set_key(&sha1, LDATA("Jefe")); | ^~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:100:55: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 100 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ hmac-test.c:114:33: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha1_update' differ in signedness [-Wpointer-sign] 114 | hmac_sha1_update(&sha1, LDATA("what do ya want for nothing?")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:104:50: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 104 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:149:33: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha1_update' differ in signedness [-Wpointer-sign] 149 | hmac_sha1_update(&sha1, LDATA("Test With Truncation")); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:104:50: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 104 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:163:26: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha1_update' differ in signedness [-Wpointer-sign] 163 | LDATA("Test Using Larger Than Block-Size Key - Hash Key First")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:104:50: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 104 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:177:25: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha1_update' differ in signedness [-Wpointer-sign] 177 | LDATA("Test Using Larger Than Block-Size Key and Larger " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:104:50: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 104 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:191:37: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_update' differ in signedness [-Wpointer-sign] 191 | hmac_sha256_update(&sha256, LDATA("abc")); | ^~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:119:52: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 119 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT pkcs1-test.o -MD -MP -MF pkcs1-test.o.d -c pkcs1-test.c && true hmac-test.c:202:37: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_update' differ in signedness [-Wpointer-sign] 202 | hmac_sha256_update(&sha256, LDATA("abcdbcdecdefdefgefghfghighijhijk" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:119:52: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 119 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:215:37: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_update' differ in signedness [-Wpointer-sign] 215 | hmac_sha256_update(&sha256, LDATA("abcdbcdecdefdefgefghfghighijhijk" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:119:52: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 119 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:229:37: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_update' differ in signedness [-Wpointer-sign] 229 | hmac_sha256_update(&sha256, LDATA("Hi There")); | ^~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:119:52: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 119 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:238:38: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_set_key' differ in signedness [-Wpointer-sign] 238 | hmac_sha256_set_key(&sha256, LDATA("Jefe")); | ^~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:115:57: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 115 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ hmac-test.c:239:37: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_update' differ in signedness [-Wpointer-sign] 239 | hmac_sha256_update(&sha256, LDATA("what do ya want for nothing?")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:119:52: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 119 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:280:37: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_update' differ in signedness [-Wpointer-sign] 280 | hmac_sha256_update(&sha256, LDATA("Test With Truncation")); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:119:52: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 119 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:295:5: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_update' differ in signedness [-Wpointer-sign] 295 | "Test Using Larger Than Block-Size Key - Hash Key First")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:119:52: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 119 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ hmac-test.c:311:5: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_update' differ in signedness [-Wpointer-sign] 311 | "Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:136:35: note: in definition of macro 'LDATA' 136 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../hmac.h:119:52: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 119 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ pkcs1-test.c: In function 'test_main': pkcs1-test.c:17:29: warning: pointer targets in passing argument 4 of 'nettle_pkcs1_signature_prefix' differ in signedness [-Wpointer-sign] 17 | 3, "abc"); | ^~~~~ | | | char * In file included from pkcs1-test.c:4: ../pkcs1.h:46:39: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 46 | const uint8_t *id); | ~~~~~~~~~~~~~~~^~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-test.o -MD -MP -MF rsa-test.o.d -c rsa-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-encrypt-test.o -MD -MP -MF rsa-encrypt-test.o.d -c rsa-encrypt-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-keygen-test.o -MD -MP -MF rsa-keygen-test.o.d -c rsa-keygen-test.c && true rsa-encrypt-test.c: In function 'test_main': rsa-encrypt-test.c:18:24: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 18 | const uint8_t *msg = "Squemish ossifrage"; | ^~~~~~~~~~~~~~~~~~~~ rsa-encrypt-test.c:33:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 33 | msg_length = strlen(msg); | ^~~ | | | const uint8_t * {aka const unsigned char *} In file included from /usr/include/string.h:35, from testutils.h:10, from rsa-encrypt-test.c:1: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa-test.o -MD -MP -MF dsa-test.o.d -c dsa-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT dsa-keygen-test.o -MD -MP -MF dsa-keygen-test.o.d -c dsa-keygen-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT yarrow-test.o -MD -MP -MF yarrow-test.o.d -c yarrow-test.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT sha1-huge-test.o -MD -MP -MF sha1-huge-test.o.d -c sha1-huge-test.c && true yarrow-test.c: In function 'test_main': yarrow-test.c:103:53: warning: pointer targets in passing argument 5 of 'nettle_yarrow256_update' differ in signedness [-Wpointer-sign] 103 | yarrow256_update(&yarrow, 0, 200, sizeof(zeroes), zeroes); | ^~~~~~ | | | const char * In file included from yarrow-test.c:2: ../yarrow.h:90:50: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 90 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 aes-test.o testutils.o -lnettle -lgmp -o aes-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 arcfour-test.o testutils.o -lnettle -lgmp -o arcfour-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 arctwo-test.o testutils.o -lnettle -lgmp -o arctwo-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 blowfish-test.o testutils.o -lnettle -lgmp -o blowfish-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cast128-test.o testutils.o -lnettle -lgmp -o cast128-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 base16-test.o testutils.o -lnettle -lgmp -o base16-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 base64-test.o testutils.o -lnettle -lgmp -o base64-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 des-test.o testutils.o -lnettle -lgmp -o des-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 des3-test.o testutils.o -lnettle -lgmp -o des3-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 des-compat-test.o testutils.o -lnettle -lgmp -o des-compat-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 md2-test.o testutils.o -lnettle -lgmp -o md2-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 md4-test.o testutils.o -lnettle -lgmp -o md4-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 md5-test.o testutils.o -lnettle -lgmp -o md5-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 md5-compat-test.o testutils.o -lnettle -lgmp -o md5-compat-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 sha1-test.o testutils.o -lnettle -lgmp -o sha1-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 sha256-test.o testutils.o -lnettle -lgmp -o sha256-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 serpent-test.o testutils.o -lnettle -lgmp -o serpent-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 twofish-test.o testutils.o -lnettle -lgmp -o twofish-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 buffer-test.o testutils.o -lnettle -lgmp -o buffer-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 sexp-test.o testutils.o -lnettle -lgmp -o sexp-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 sexp-format-test.o testutils.o -lnettle -lgmp -o sexp-format-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 rsa2sexp-test.o testutils.o -lnettle -lgmp -o rsa2sexp-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 sexp2rsa-test.o testutils.o -lnettle -lgmp -o sexp2rsa-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 knuth-lfib-test.o testutils.o -lnettle -lgmp -o knuth-lfib-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cbc-test.o testutils.o -lnettle -lgmp -o cbc-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 ctr-test.o testutils.o -lnettle -lgmp -o ctr-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 hmac-test.o testutils.o -lnettle -lgmp -o hmac-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 bignum-test.o testutils.o -lnettle -lgmp -o bignum-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 pkcs1-test.o testutils.o -lnettle -lgmp -o pkcs1-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 rsa-test.o testutils.o -lnettle -lgmp -o rsa-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 rsa-encrypt-test.o testutils.o -lnettle -lgmp -o rsa-encrypt-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 rsa-keygen-test.o testutils.o -lnettle -lgmp -o rsa-keygen-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 dsa-test.o testutils.o -lnettle -lgmp -o dsa-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 dsa-keygen-test.o testutils.o -lnettle -lgmp -o dsa-keygen-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 yarrow-test.o testutils.o -lnettle -lgmp -o yarrow-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 sha1-huge-test.o testutils.o -lnettle -lgmp -o sha1-huge-test gmake[5]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/nettle/testsuite' Making all in examples gmake[5]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/nettle/examples' gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT nettle-benchmark.o -MD -MP -MF nettle-benchmark.o.d -c nettle-benchmark.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT nettle-openssl.o -MD -MP -MF nettle-openssl.o.d -c nettle-openssl.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT getopt.o -MD -MP -MF getopt.o.d -c getopt.c && true In file included from getopt.c:104: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ getopt.c:211:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 211 | extern char *getenv (); | ^~~~~~ getopt.c:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 215 | my_index (str, chr) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:397:10: warning: unused parameter 'argc' [-Wunused-parameter] 397 | int argc; | ^~~~ getopt.c:398:19: warning: unused parameter 'argv' [-Wunused-parameter] 398 | char *const *argv; | ^~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT getopt1.o -MD -MP -MF getopt1.o.d -c getopt1.c && true In file included from nettle-benchmark.c:51: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ nettle-benchmark.c: In function 'time_cipher': nettle-benchmark.c:273:29: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 273 | memset(iv, 0, sizeof(iv)); | ^ nettle-benchmark.c:289:29: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 289 | memset(iv, 0, sizeof(iv)); | ^ nettle-benchmark.c: In function 'main': nettle-benchmark.c:344:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 344 | if (frequency > 0.0) | ^ nettle-benchmark.c:347:7: note: here 347 | case ':': case '?': | ^~~~ In file included from getopt1.c:24: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT io.o -MD -MP -MF io.o.d -c io.c && true io.c: In function 'simple_random': io.c:168:31: warning: pointer targets in passing argument 3 of 'nettle_yarrow256_seed' differ in signedness [-Wpointer-sign] 168 | yarrow256_seed(ctx, length, buffer); | ^~~~~~ | | | char * In file included from io.h:33, from io.c:37: ../yarrow.h:84:31: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 84 | const uint8_t *seed_file); | ~~~~~~~~~~~~~~~^~~~~~~~~ io.c: In function 'hash_file': io.c:183:30: warning: pointer targets in passing argument 3 of 'hash->update' differ in signedness [-Wpointer-sign] 183 | hash->update(ctx, res, buffer); | ^~~~~~ | | | char * io.c:183:30: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' io.c: In function 'read_rsa_key': io.c:203:53: warning: pointer targets in passing argument 5 of 'nettle_rsa_keypair_from_sexp' differ in signedness [-Wpointer-sign] 203 | res = rsa_keypair_from_sexp(pub, priv, 0, length, buffer); | ^~~~~~ | | | char * In file included from io.h:31: ../rsa.h:286:55: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 286 | unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-keygen.o -MD -MP -MF rsa-keygen.o.d -c rsa-keygen.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-sign.o -MD -MP -MF rsa-sign.o.d -c rsa-sign.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-verify.o -MD -MP -MF rsa-verify.o.d -c rsa-verify.c && true In file included from rsa-keygen.c:42: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ rsa-keygen.c: In function 'main': rsa-keygen.c:139:56: warning: pointer targets in passing argument 3 of 'write_file' differ in signedness [-Wpointer-sign] 139 | if (!write_file(pub_name, pub_buffer.size, pub_buffer.contents)) | ~~~~~~~~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from rsa-keygen.c:40: io.h:55:57: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 55 | write_file(const char *name, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ rsa-keygen.c:148:59: warning: pointer targets in passing argument 3 of 'write_file' differ in signedness [-Wpointer-sign] 148 | if (!write_file(priv_name, priv_buffer.size, priv_buffer.contents)) | ~~~~~~~~~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} io.h:55:57: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 55 | write_file(const char *name, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-encrypt.o -MD -MP -MF rsa-encrypt.o.d -c rsa-encrypt.c && true gcc -I.. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT rsa-decrypt.o -MD -MP -MF rsa-decrypt.o.d -c rsa-decrypt.c && true gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 nettle-benchmark.o nettle-openssl.o io.o getopt.o getopt1.o \ -lnettle -lgmp -o nettle-benchmark rsa-decrypt.c: In function 'process_file': rsa-decrypt.c:149:40: warning: pointer targets in passing argument 3 of 'write_string' differ in signedness [-Wpointer-sign] 149 | if (!write_string(out, size, buffer)) | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from rsa-decrypt.c:45: io.h:58:50: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | write_string(FILE *f, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ rsa-decrypt.c:172:40: warning: pointer targets in passing argument 3 of 'write_string' differ in signedness [-Wpointer-sign] 172 | if (!write_string(out, leftover, buffer)) | ^~~~~~ | | | uint8_t * {aka unsigned char *} io.h:58:50: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | write_string(FILE *f, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ In file included from rsa-encrypt.c:45: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ rsa-encrypt.c: In function 'write_uint32': rsa-encrypt.c:66:42: warning: pointer targets in passing argument 3 of 'write_string' differ in signedness [-Wpointer-sign] 66 | return write_string(f, sizeof(buffer), buffer); | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from rsa-encrypt.c:42: io.h:58:50: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | write_string(FILE *f, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ rsa-encrypt.c: In function 'write_bignum': rsa-encrypt.c:88:31: warning: pointer targets in passing argument 3 of 'write_string' differ in signedness [-Wpointer-sign] 88 | res = write_string(f, size, p); | ^ | | | uint8_t * {aka unsigned char *} io.h:58:50: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | write_string(FILE *f, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ rsa-encrypt.c: In function 'process_file': rsa-encrypt.c:125:36: warning: pointer targets in passing argument 3 of 'write_string' differ in signedness [-Wpointer-sign] 125 | if (!write_string(out, size, buffer)) | ^~~~~~ | | | uint8_t * {aka unsigned char *} io.h:58:50: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | write_string(FILE *f, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ rsa-encrypt.c:146:61: warning: pointer targets in passing argument 3 of 'write_string' differ in signedness [-Wpointer-sign] 146 | if (!write_string(out, AES_BLOCK_SIZE + SHA1_DIGEST_SIZE, buffer)) | ^~~~~~ | | | uint8_t * {aka unsigned char *} io.h:58:50: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 58 | write_string(FILE *f, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 rsa-keygen.o io.o getopt.o getopt1.o \ -lnettle -lgmp -o rsa-keygen gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 rsa-sign.o io.o \ -lnettle -lgmp -o rsa-sign gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 rsa-verify.o io.o \ -lnettle -lgmp -o rsa-verify gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 rsa-decrypt.o io.o \ -lnettle -lgmp -o rsa-decrypt gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 rsa-encrypt.o io.o getopt.o getopt1.o \ -lnettle -lgmp -o rsa-encrypt gmake[5]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/nettle/examples' gmake[4]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/nettle' Making all in scm gmake[4]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/scm' gmake[4]: Nothing to be done for 'all'. gmake[4]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/scm' Making all in sftp gmake[4]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/sftp' /opt/local/bin/gmake all-recursive gmake[5]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/sftp' Making all in . gmake[6]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/sftp' gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT commands.o -MD -MP -MF .deps/commands.Tpo -c -o commands.o commands.c gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT lsftp.o -MD -MP -MF .deps/lsftp.Tpo -c -o lsftp.o lsftp.c gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT rl.o -MD -MP -MF .deps/rl.Tpo -c -o rl.o rl.c lsftp.c: In function 'lsftp_interactive_mainloop': lsftp.c:142:23: warning: pointer targets in passing argument 1 of 'handle_command' differ in signedness [-Wpointer-sign] 142 | handle_command( current_line ); | ^~~~~~~~~~~~ | | | char * In file included from rl.h:33, from lsftp.h:36, from lsftp.c:31: commands.h:58:41: note: expected 'const unsigned char *' but argument is of type 'char *' 58 | int handle_command(const unsigned char *s); | ~~~~~~~~~~~~~~~~~~~~~^ lsftp.c:78:11: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 78 | int retval; | ^~~~~~ lsftp.c: In function 'lsftp_noninteractive_mainloop': lsftp.c:167:29: warning: pointer targets in passing argument 1 of 'handle_command' differ in signedness [-Wpointer-sign] 167 | handle_command( argv[startat++] ); /* Do it */ | ~~~~^~~~~~~~~~~ | | | char * commands.h:58:41: note: expected 'const unsigned char *' but argument is of type 'char *' 58 | int handle_command(const unsigned char *s); | ~~~~~~~~~~~~~~~~~~~~~^ lsftp.c: In function 'main': lsftp.c:181:17: warning: passing argument 1 of 'do_gnu_stuff' from incompatible pointer type [-Wincompatible-pointer-types] 181 | do_gnu_stuff( argv ); /* Check for GNU thingies and act accordingly */ | ^~~~ | | | char ** In file included from commands.h:45: gnu_stuff.h:35:33: note: expected 'const char **' but argument is of type 'char **' 35 | void do_gnu_stuff( const char** argv ); | ~~~~~~~~~~~~~^~~~ commands.c: In function 'com_lcd': commands.c:1868:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1868 | int ret; | ^~~ commands.c: In function 'handle_command': commands.c:2144:29: warning: pointer targets in initialization of 'const char *' from 'const unsigned char *' differ in signedness [-Wpointer-sign] 2144 | const char *entered_cmd = s; | ^ commands.c:2149:20: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] 2149 | s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ | ^ | | | const unsigned char * In file included from sftp_bind.h:63, from commands.h:41, from commands.c:31: str_utils.h:42:38: note: expected 'const char *' but argument is of type 'const unsigned char *' 42 | const char *lsftp_s_skip(const char *s, const char *sep); | ~~~~~~~~~~~~^ commands.c:2149:5: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 2149 | s = lsftp_s_skip(s," \n\t\r"); /* Skip any initial whitespace */ | ^ commands.c:2158:25: warning: pointer targets in passing argument 1 of 'com_escape' differ in signedness [-Wpointer-sign] 2158 | return com_escape( s+1, entered_cmd ); | ~^~ | | | const unsigned char * commands.c:352:24: note: expected 'const char *' but argument is of type 'const unsigned char *' 352 | com_escape(const char *arg, const char *command UNUSED) | ~~~~~~~~~~~~^~~ commands.c:2161:27: warning: pointer targets in passing argument 1 of 'com_longhelp' differ in signedness [-Wpointer-sign] 2161 | return com_longhelp( s+1, entered_cmd ); | ~^~ | | | const unsigned char * commands.c:244:26: note: expected 'const char *' but argument is of type 'const unsigned char *' 244 | com_longhelp(const char *arg, const char *command UNUSED) | ~~~~~~~~~~~~^~~ commands.c:2165:22: warning: pointer targets in passing argument 1 of 'lsftp_s_strtok' differ in signedness [-Wpointer-sign] 2165 | s = lsftp_s_strtok(s," \n\t\r", &tmp ); | ^ | | | const unsigned char * str_utils.h:39:40: note: expected 'const char *' but argument is of type 'const unsigned char *' 39 | const char *lsftp_s_strtok(const char *s, const char* tok, | ~~~~~~~~~~~~^ commands.c:2165:5: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 2165 | s = lsftp_s_strtok(s," \n\t\r", &tmp ); | ^ commands.c:2184:50: warning: pointer targets in passing argument 1 of 'lsftp_s_skip' differ in signedness [-Wpointer-sign] 2184 | lsftp_s_skip(s," \n\t\r"), | ^ | | | const unsigned char * str_utils.h:42:38: note: expected 'const char *' but argument is of type 'const unsigned char *' 42 | const char *lsftp_s_skip(const char *s, const char *sep); | ~~~~~~~~~~~~^ mv -f .deps/rl.Tpo .deps/rl.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT sftp_c.o -MD -MP -MF .deps/sftp_c.Tpo -c -o sftp_c.o sftp_c.c commands.c: In function 'put_file_or_folder': commands.c:1303:11: warning: pointer 'tmp' may be used after 'free' [-Wuse-after-free] 1303 | localwd = tmp; | ~~~~~~~~^~~~~ commands.c:1295:3: note: call to 'free' here 1295 | free( tmp ); | ^~~~~~~~~~~ mv -f .deps/lsftp.Tpo .deps/lsftp.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT sftp_bind.o -MD -MP -MF .deps/sftp_bind.Tpo -c -o sftp_bind.o sftp_bind.c sftp_c.c: In function 'sftp_get_file_init': sftp_c.c:960:23: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 960 | statret = stat( fname, &st ); | ^~~~~ | | | const uint8_t * {aka const unsigned char *} In file included from /usr/include/sys/stat.h:517, from sftp_c.h:39, from sftp_c.c:34: /usr/include/sys/stat_impl.h:46:17: note: expected 'const char * restrict' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 46 | extern int stat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); | ^ sftp_c.c:971:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 971 | ret = open( fname, openmode, 0777 & ~mask ); | ^~~~~ | | | const uint8_t * {aka const unsigned char *} In file included from sftp_c.h:45: /usr/include/fcntl.h:132:17: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 132 | extern int open(const char *, int, ...); | ^~~~~~~~~~~~ sftp_c.c:938:29: warning: unused parameter 'fnamelen' [-Wunused-parameter] 938 | uint32_t fnamelen, | ~~~~~~~~~^~~~~~~~ sftp_c.c: In function 'sftp_put_file_init': sftp_c.c:1262:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 1262 | ret = open( fname, O_RDONLY ); | ^~~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/fcntl.h:132:17: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 132 | extern int open(const char *, int, ...); | ^~~~~~~~~~~~ sftp_c.c:1239:29: warning: unused parameter 'fnamelen' [-Wunused-parameter] 1239 | uint32_t fnamelen, | ~~~~~~~~~^~~~~~~~ sftp_bind.c: In function 'lsftp_open_connection': sftp_bind.c:210:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 210 | cur_string = | ^~~~~~~~~~ sftp_bind.c:234:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 234 | 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] 581 | int retval; | ^~~~~~ sftp_bind.c: In function 'lsftp_do_get': sftp_bind.c:779:26: warning: pointer targets in passing argument 5 of 'sftp_get_file_init' differ in signedness [-Wpointer-sign] 779 | tmp, strlen( tmp ), | ^~~ | | | const char * In file included from sftp_bind.h:61, from sftp_bind.c:34: sftp_c.h:280:35: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 280 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ sftp_bind.c:780:26: warning: pointer targets in passing argument 7 of 'sftp_get_file_init' differ in signedness [-Wpointer-sign] 780 | local, strlen( local), | ^~~~~ | | | const char * sftp_c.h:282:35: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 282 | const uint8_t *fname, | ~~~~~~~~~~~~~~~^~~~~ sftp_bind.c: In function 'lsftp_do_put': sftp_bind.c:1390:26: warning: pointer targets in passing argument 5 of 'sftp_put_file_init' differ in signedness [-Wpointer-sign] 1390 | tmp, strlen( tmp ), | ^~~ | | | const char * sftp_c.h:320:35: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 320 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ sftp_bind.c:1391:26: warning: pointer targets in passing argument 7 of 'sftp_put_file_init' differ in signedness [-Wpointer-sign] 1391 | local, strlen( local), | ^~~~~ | | | const char * sftp_c.h:322:35: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 322 | const uint8_t *fname, | ~~~~~~~~~~~~~~~^~~~~ sftp_bind.c: In function 'lsftp_do_ls': sftp_bind.c:1529:24: warning: pointer targets in passing argument 5 of 'sftp_ls_init' differ in signedness [-Wpointer-sign] 1529 | tmp, | ^~~ | | | const char * sftp_c.h:403:29: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 403 | const uint8_t *dir, | ~~~~~~~~~~~~~~~^~~ 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] 1690 | prefixed_fname = lsftp_concat( prefix, fname ); | ^~~~~ | | | uint8_t * {aka unsigned char *} In file included from sftp_bind.h:60: misc_fun.h:40:49: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 40 | char* lsftp_concat( const char* s1, const char* s2 ); | ~~~~~~~~~~~~^~ sftp_bind.c:1742:35: warning: pointer targets in passing argument 1 of 'lsftp_dc_glob_matches' differ in signedness [-Wpointer-sign] 1742 | fname, | ^~~~~ | | | uint8_t * {aka unsigned char *} In file included from sftp_bind.h:64: dc.h:54:39: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 54 | int lsftp_dc_glob_matches(const char *fname, const char *glob, int period); | ~~~~~~~~~~~~^~~~~ sftp_bind.c:1771:37: warning: pointer targets in passing argument 1 of 'lsftp_concat' differ in signedness [-Wpointer-sign] 1771 | tmp = lsftp_concat( fname, "/" ); /* Add a trailing slash for directories */ | ^~~~~ | | | uint8_t * {aka unsigned char *} misc_fun.h:40:33: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 40 | char* lsftp_concat( const char* s1, const char* s2 ); | ~~~~~~~~~~~~^~ sftp_bind.c:1773:31: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 1773 | tmp = strdup( fname ); | ^~~~~ | | | uint8_t * {aka unsigned char *} In file included from sftp_bind.h:58: /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ sftp_bind.c:1780:45: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 1780 | longstrings[used-1] = strdup( longname ); | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ sftp_bind.c:1800:13: warning: unused variable 'screenwidth' [-Wunused-variable] 1800 | int screenwidth = 80; | ^~~~~~~~~~~ sftp_bind.c: In function 'lsftp_internal_ls': sftp_bind.c:1907:24: warning: pointer targets in passing argument 5 of 'sftp_ls_init' differ in signedness [-Wpointer-sign] 1907 | tmp, | ^~~ | | | const char * sftp_c.h:403:29: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 403 | const uint8_t *dir, | ~~~~~~~~~~~~~~~^~~ sftp_bind.c: In function 'lsftp_handle_internal_ls': sftp_bind.c:2029:46: warning: pointer targets in passing argument 2 of 'lsftp_concat' differ in signedness [-Wpointer-sign] 2029 | prefixed_fname = lsftp_concat( prefix, fname ); | ^~~~~ | | | uint8_t * {aka unsigned char *} misc_fun.h:40:49: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 40 | char* lsftp_concat( const char* s1, const char* s2 ); | ~~~~~~~~~~~~^~ sftp_bind.c: In function 'lsftp_do_stat': sftp_bind.c:2119:22: warning: pointer targets in passing argument 5 of 'sftp_stat_init' differ in signedness [-Wpointer-sign] 2119 | tmp, strlen( tmp )); | ^~~ | | | const char * sftp_c.h:200:31: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 200 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ sftp_bind.c: In function 'lsftp_do_realpath': sftp_bind.c:2168:26: warning: pointer targets in passing argument 5 of 'sftp_realpath_init' differ in signedness [-Wpointer-sign] 2168 | tmp, | ^~~ | | | const char * sftp_c.h:183:35: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 183 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ sftp_bind.c: In function 'lsftp_handle_realpath': sftp_bind.c:2245:26: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 2245 | *destptr = strdup( fname ); /* Copy whatever name we have */ | ^~~~~ | | | uint8_t * {aka unsigned char *} /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ sftp_bind.c: In function 'lsftp_do_chown': sftp_bind.c:2301:25: warning: pointer targets in passing argument 5 of 'sftp_setstat_init' differ in signedness [-Wpointer-sign] 2301 | tmp, strlen( tmp ), | ^~~ | | | const char * sftp_c.h:226:34: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 226 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ sftp_bind.c: In function 'lsftp_do_chmod': sftp_bind.c:2367:25: warning: pointer targets in passing argument 5 of 'sftp_setstat_init' differ in signedness [-Wpointer-sign] 2367 | tmp, strlen( tmp ), | ^~~ | | | const char * sftp_c.h:226:34: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 226 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ sftp_bind.c: In function 'lsftp_handle_stat': sftp_bind.c:2390:9: warning: unused variable 'f' [-Wunused-variable] 2390 | void* f; | ^ sftp_bind.c: In function 'lsftp_do_mv': sftp_bind.c:2463:24: warning: pointer targets in passing argument 5 of 'sftp_rename_init' differ in signedness [-Wpointer-sign] 2463 | tmp1, | ^~~~ | | | const char * sftp_c.h:145:33: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 145 | const uint8_t *srcname, | ~~~~~~~~~~~~~~~^~~~~~~ sftp_bind.c:2465:24: warning: pointer targets in passing argument 7 of 'sftp_rename_init' differ in signedness [-Wpointer-sign] 2465 | tmp2, | ^~~~ | | | const char * sftp_c.h:147:33: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 147 | const uint8_t *dstname, | ~~~~~~~~~~~~~~~^~~~~~~ sftp_bind.c: In function 'lsftp_do_ln': sftp_bind.c:2529:25: warning: pointer targets in passing argument 5 of 'sftp_symlink_init' differ in signedness [-Wpointer-sign] 2529 | tmp1, | ^~~~ | | | const char * sftp_c.h:133:34: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 133 | const uint8_t *linkname, | ~~~~~~~~~~~~~~~^~~~~~~~ sftp_bind.c:2531:25: warning: pointer targets in passing argument 7 of 'sftp_symlink_init' differ in signedness [-Wpointer-sign] 2531 | tmp2, | ^~~~ | | | const char * sftp_c.h:135:34: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 135 | const uint8_t *targetname, | ~~~~~~~~~~~~~~~^~~~~~~~~~ sftp_bind.c: In function 'lsftp_do_mkdir': sftp_bind.c:2598:23: warning: pointer targets in passing argument 5 of 'sftp_mkdir_init' differ in signedness [-Wpointer-sign] 2598 | tmp, | ^~~ | | | const char * sftp_c.h:165:32: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 165 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ sftp_bind.c: In function 'lsftp_do_rmdir': sftp_bind.c:2652:23: warning: pointer targets in passing argument 5 of 'sftp_rmdir_init' differ in signedness [-Wpointer-sign] 2652 | tmp, | ^~~ | | | const char * sftp_c.h:174:32: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 174 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ sftp_bind.c: In function 'lsftp_do_rm': sftp_bind.c:2702:24: warning: pointer targets in passing argument 5 of 'sftp_remove_init' differ in signedness [-Wpointer-sign] 2702 | tmp, | ^~~ | | | const char * sftp_c.h:157:33: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 157 | const uint8_t *name, | ~~~~~~~~~~~~~~~^~~~ sftp_bind.c: In function 'lsftp_handle_ls': sftp_bind.c:1723:36: warning: pointer 'namestrings' may be used after 'realloc' [-Wuse-after-free] 1723 | free( namestrings[l] ); | ^ sftp_bind.c:1698:35: note: call to 'realloc' here 1698 | char** newnamestrings = realloc( namestrings, sizeof( char* ) * ( allocated + allocstepsize ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp_bind.c:1721:48: warning: pointer 'namestrings' may be used after 'realloc' [-Wuse-after-free] 1721 | printf( "%s\n", namestrings[l] ); | ^ sftp_bind.c:1698:35: note: call to 'realloc' here 1698 | char** newnamestrings = realloc( namestrings, sizeof( char* ) * ( allocated + allocstepsize ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sftp_bind.c:1726:15: warning: pointer 'namestrings' may be used after 'realloc' [-Wuse-after-free] 1726 | free( namestrings ); | ^~~~~~~~~~~~~~~~~~~ sftp_bind.c:1698:35: note: call to 'realloc' here 1698 | char** newnamestrings = realloc( namestrings, sizeof( char* ) * ( allocated + allocstepsize ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'put_file_or_folder.isra': commands.c:1375:3: warning: pointer 'tmp' may be used after 'free' [-Wuse-after-free] 1375 | free( localwd ); /* Free memory used by to hold remote wd */ | ^~~~~~~~~~~~~~~ commands.c:1295:3: note: call to 'free' here 1295 | free( tmp ); | ^~~~~~~~~~~ commands.c:1353:21: warning: pointer 'tmp' may be used after 'free' [-Wuse-after-free] 1353 | src = lsftp_concat( localwd, curentry ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:1295:3: note: call to 'free' here 1295 | free( tmp ); | ^~~~~~~~~~~ commands.c:1342:34: warning: pointer 'tmp' may be used after 'free' [-Wuse-after-free] 1342 | const char *curentry = lsftp_skip_common( *curdirinfo, localwd ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:1295:3: note: call to 'free' here 1295 | free( tmp ); | ^~~~~~~~~~~ commands.c:1327:9: warning: pointer 'tmp' may be used after 'free' [-Wuse-after-free] 1327 | tmp = lsftp_concat( localwd, ".*" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:1295:3: note: call to 'free' here 1295 | free( tmp ); | ^~~~~~~~~~~ commands.c:1318:9: warning: pointer 'tmp' may be used after 'free' [-Wuse-after-free] 1318 | tmp = lsftp_concat( localwd, "*" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:1295:3: note: call to 'free' here 1295 | free( tmp ); | ^~~~~~~~~~~ mv -f .deps/commands.Tpo .deps/commands.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT str_utils.o -MD -MP -MF .deps/str_utils.Tpo -c -o str_utils.o str_utils.c mv -f .deps/sftp_c.Tpo .deps/sftp_c.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT dc.o -MD -MP -MF .deps/dc.Tpo -c -o dc.o dc.c mv -f .deps/str_utils.Tpo .deps/str_utils.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT gnu_stuff.o -MD -MP -MF .deps/gnu_stuff.Tpo -c -o gnu_stuff.o gnu_stuff.c mv -f .deps/gnu_stuff.Tpo .deps/gnu_stuff.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT misc_fun.o -MD -MP -MF .deps/misc_fun.Tpo -c -o misc_fun.o misc_fun.c misc_fun.c: In function 'mgetenv_init': misc_fun.c:61:27: warning: unused parameter 'envp' [-Wunused-parameter] 61 | void mgetenv_init( char** envp ) | ~~~~~~~^~~~ misc_fun.c: In function 'massage_fname': misc_fun.c:68:38: warning: unused parameter 'local' [-Wunused-parameter] 68 | char* massage_fname(char* fname, int local) | ~~~~^~~~~ misc_fun.c: In function 'lsftp_concat': misc_fun.c:102:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 102 | strncpy( ret, s1, i1 ); | ^~~~~~~~~~~~~~~~~~~~~~ misc_fun.c:94:8: note: length computed here 94 | i1 = strlen( s1 ); | ^~~~~~~~~~~~ misc_fun.c:103:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 103 | strncpy( ret+i1, s2, i2 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ misc_fun.c:95:8: note: length computed here 95 | i2 = strlen( s2 ); | ^~~~~~~~~~~~ mv -f .deps/sftp_bind.Tpo .deps/sftp_bind.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c mv -f .deps/misc_fun.Tpo .deps/misc_fun.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT io_input.o -MD -MP -MF .deps/io_input.Tpo -c -o io_input.o io_input.c buffer.c: In function 'sftp_put_printf': buffer.c:149:26: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] 149 | length = vsnprintf(current, needed, format, args); | ^~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/stdio.h:152, from buffer.c:30: /usr/include/iso/stdio_c99.h:84:22: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 84 | extern int vsnprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ buffer.c: In function 'sftp_put_strftime': buffer.c:175:25: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign] 175 | length = strftime(current, needed, format, tm); | ^~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/time.h:40, from /usr/include/sys/time.h:490, from /usr/include/sys/select.h:53, from /usr/include/sys/types.h:687, from /usr/include/alloca.h:32, from config.h:296, from buffer.c:25: /usr/include/iso/time_iso.h:101:24: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 101 | extern size_t strftime(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ io_input.c: In function 'sftp_read_packet': mv -f .deps/dc.Tpo .deps/dc.Po io_input.c:149:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 149 | while (bytesread < sizeof(buf)) | ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT io_output.o -MD -MP -MF .deps/io_output.Tpo -c -o io_output.o io_output.c io_output.c: In function 'sftp_write_packet': io_output.c:196:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 196 | while (writteni) | ^ mv -f .deps/io_input.Tpo .deps/io_input.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c mv -f .deps/io_output.Tpo .deps/io_output.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT werror.o -MD -MP -MF .deps/werror.Tpo -c -o werror.o werror.c mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT sftp-test-client.o -MD -MP -MF .deps/sftp-test-client.Tpo -c -o sftp-test-client.o sftp-test-client.c mv -f .deps/buffer.Tpo .deps/buffer.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.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] 110 | sftp_put_string(ctx->o, strlen(name), name ); | ^~~~ | | | const char * In file included from client.h:29, from client.c:32: buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-test-client.c: In function 'do_ls': sftp-test-client.c:168:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 168 | sftp_put_string(ctx->o, strlen(name), name); | ^~~~ | | | const char * In file included from io.h:24, from sftp-test-client.c:38: buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-test-client.c: In function 'do_open': sftp-test-client.c:278:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 278 | sftp_put_string(ctx->o, strlen(name), name ); | ^~~~ | | | const char * buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-test-client.c: In function 'do_stat': sftp-test-client.c:526:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 526 | sftp_put_string(ctx->o, strlen(name), name); | ^~~~ | | | const char * buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ mv -f .deps/werror.Tpo .deps/werror.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT dump-hex.o -MD -MP -MF .deps/dump-hex.Tpo -c -o dump-hex.o dump-hex.c mv -f .deps/client.Tpo .deps/client.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT sftp-server.o -MD -MP -MF .deps/sftp-server.Tpo -c -o sftp-server.o sftp-server.c dump-hex.c: In function 'main': dump-hex.c:189:33: warning: pointer targets in passing argument 2 of 'do_read' differ in signedness [-Wpointer-sign] 189 | res = do_read(STDIN_FILENO, buf, left); | ^~~ | | | unsigned char * dump-hex.c:38:23: note: expected 'char *' but argument is of type 'unsigned char *' 38 | do_read(int fd, char *data, int length) | ~~~~~~^~~~ dump-hex.c:201:48: warning: pointer targets in passing argument 4 of 'output_line' differ in signedness [-Wpointer-sign] 201 | if (output_line(STDERR_FILENO, label, pos, buf, res) <= 0) | ^~~ | | | unsigned char * dump-hex.c:73:39: note: expected 'const char *' but argument is of type 'unsigned char *' 73 | unsigned pos, const char *data, unsigned length) | ~~~~~~~~~~~~^~~~ dump-hex.c:208:33: warning: pointer targets in passing argument 2 of 'do_write' differ in signedness [-Wpointer-sign] 208 | if (do_write(STDOUT_FILENO, buf, res) < 0) | ^~~ | | | unsigned char * dump-hex.c:50:30: note: expected 'const char *' but argument is of type 'unsigned char *' 50 | do_write(int fd, const char *data, int length) | ~~~~~~~~~~~~^~~~ sftp-server.c: In function 'sftp_put_longname_mode': sftp-server.c:229:22: warning: pointer targets in passing argument 2 of 'filemodestring' differ in signedness [-Wpointer-sign] 229 | filemodestring(st, modes); | ^~~~~ | | | uint8_t * {aka unsigned char *} In file included from sftp-server.c:77: filemode.h:21:56: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 21 | void filemodestring PARAMS ((struct stat *statp, char *str)); | ~~~~~~^~~ filemode.h:10:24: note: in definition of macro 'PARAMS' 10 | # define PARAMS(Args) Args | ^~~~ sftp-server.c: In function 'sftp_put_filename': sftp-server.c:298:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 298 | sftp_put_string(ctx->o, strlen(name), name); | ^~~~ | | | const char * In file included from io.h:24, from sftp-server.c:74: buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-server.c:299:30: warning: pointer targets in passing argument 3 of 'sftp_put_longname' differ in signedness [-Wpointer-sign] 299 | sftp_put_longname(ctx, st, name); | ^~~~ | | | const char * sftp-server.c:236:51: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 236 | struct stat *st, const uint8_t *fname) | ~~~~~~~~~~~~~~~^~~~~ sftp-server.c: In function 'sftp_get_name': sftp-server.c:313:10: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 313 | name = "."; | ^ sftp-server.c: In function 'sftp_send_status': sftp-server.c:443:50: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 443 | sftp_put_string(ctx->o, strlen("Success"), "Success"); | ^~~~~~~~~ | | | char * buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-server.c:447:54: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 447 | sftp_put_string(ctx->o, strlen("End of file"), "End of file"); | ^~~~~~~~~~~~~ | | | char * buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-server.c:450:55: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 450 | sftp_put_string(ctx->o, strlen("No such file"), "No such file"); | ^~~~~~~~~~~~~~ | | | char * buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-server.c:453:60: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 453 | sftp_put_string(ctx->o, strlen("Permission denied"), "Permission denied"); | ^~~~~~~~~~~~~~~~~~~ | | | char * buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-server.c:456:54: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 456 | sftp_put_string(ctx->o, strlen("Bad message"), "Bad message"); | ^~~~~~~~~~~~~ | | | char * buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-server.c:469:64: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 469 | sftp_put_string(ctx->o, strlen("Operation unsupported"), "Operation unsupported"); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-server.c:473:50: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 473 | sftp_put_string(ctx->o, strlen("Failure"), "Failure"); | ^~~~~~~~~ | | | char * buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-server.c:477:41: warning: pointer targets in passing argument 3 of 'sftp_put_string' differ in signedness [-Wpointer-sign] 477 | sftp_put_string(ctx->o, strlen("en"), "en"); /* Send english language tag */ | ^~~~ | | | char * buffer.h:108:72: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 108 | sftp_put_string(struct sftp_output *o, uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ sftp-server.c: In function 'sftp_process_opendir': sftp-server.c:532:15: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] 532 | dir=opendir(name); | ^~~~ | | | const uint8_t * {aka const unsigned char *} In file included from sftp-server.c:69: /usr/include/dirent.h:98:34: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 98 | extern DIR *opendir(const char *); | ^~~~~~~~~~~~ sftp-server.c:543:41: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 543 | HANDLE_DIR(ctx, handle).name = strdup(name); | ^~~~ | | | const uint8_t * {aka const unsigned char *} In file included from sftp-server.c:61: /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ sftp-server.c: In function 'sftp_process_stat': sftp-server.c:650:12: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 650 | if (stat(name, &st ) < 0) | ^~~~ | | | const uint8_t * {aka const unsigned char *} In file included from /usr/include/sys/stat.h:517, from sftp-server.c:67: /usr/include/sys/stat_impl.h:46:17: note: expected 'const char * restrict' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 46 | extern int stat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); | ^ sftp-server.c: In function 'sftp_process_lstat': sftp-server.c:672:13: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] 672 | if (lstat(name, &st) < 0) | ^~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/sys/stat_impl.h:54:18: note: expected 'const char * restrict' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 54 | extern int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); | ^ sftp-server.c: In function 'sftp_process_setstat': sftp-server.c:751:20: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] 751 | if ( chown(name, a.uid, a.gid ) ) | ^~~~ | | | const uint8_t * {aka const unsigned char *} In file included from sftp-server.c:65: /usr/include/unistd.h:250:18: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 250 | extern int chown(const char *, uid_t, gid_t); | ^~~~~~~~~~~~ sftp-server.c:755:22: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] 755 | if( truncate(name, a.size ) ) | ^~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/unistd.h:552:21: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 552 | extern int truncate(const char *, off_t); | ^~~~~~~~~~~~ sftp-server.c:759:19: warning: pointer targets in passing argument 1 of 'chmod' differ in signedness [-Wpointer-sign] 759 | if( chmod(name, a.permissions ) ) | ^~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/sys/stat.h:489:18: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 489 | extern int chmod(const char *, mode_t); | ^~~~~~~~~~~~ sftp-server.c: In function 'sftp_process_remove': sftp-server.c:778:14: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 778 | if (unlink(name) < 0) | ^~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/unistd.h:558:19: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 558 | extern int unlink(const char *); | ^~~~~~~~~~~~ sftp-server.c: In function 'sftp_process_mkdir': sftp-server.c:800:20: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] 800 | fail = mkdir(name, a.permissions & 0777); | ^~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/sys/stat.h:490:18: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 490 | extern int mkdir(const char *, mode_t); | ^~~~~~~~~~~~ sftp-server.c:804:18: warning: pointer targets in passing argument 1 of 'mkdir' differ in signedness [-Wpointer-sign] 804 | fail = mkdir(name, 0755); /* FIXME: Default permissions? */ | ^~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/sys/stat.h:490:18: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 490 | extern int mkdir(const char *, mode_t); | ^~~~~~~~~~~~ sftp-server.c: In function 'sftp_process_rmdir': sftp-server.c:820:12: warning: pointer targets in passing argument 1 of 'rmdir' differ in signedness [-Wpointer-sign] 820 | if(rmdir(name) < 0) | ^~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/unistd.h:492:18: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 492 | extern int rmdir(const char *); | ^~~~~~~~~~~~ sftp-server.c: In function 'sftp_process_realpath': sftp-server.c:842:24: warning: pointer targets in passing argument 1 of 'pathconf' differ in signedness [-Wpointer-sign] 842 | path_max = pathconf (name, _PC_PATH_MAX); | ^~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/unistd.h:430:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 430 | extern long pathconf(const char *, int); | ^~~~~~~~~~~~ sftp-server.c:847:23: warning: pointer targets in passing argument 1 of 'realpath' differ in signedness [-Wpointer-sign] 847 | resolved = realpath(name, alloca(path_max)); | ^~~~ | | | const uint8_t * {aka const unsigned char *} In file included from sftp-server.c:60: /usr/include/stdlib.h:241:23: note: expected 'const char * restrict' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 241 | extern char *realpath(const char *_RESTRICT_KYWD, char *_RESTRICT_KYWD); | ^ sftp-server.c:847:12: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 847 | resolved = realpath(name, alloca(path_max)); | ^ sftp-server.c:858:13: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] 858 | if (lstat(resolved, &st ) < 0) | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} /usr/include/sys/stat_impl.h:54:18: note: expected 'const char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 54 | extern int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); | ^ sftp-server.c:861:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 861 | sftp_put_string(ctx->o, strlen(resolved), resolved); | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:35: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ sftp-server.c:870:33: warning: pointer targets in passing argument 3 of 'sftp_put_filename' differ in signedness [-Wpointer-sign] 870 | sftp_put_filename(ctx, &st, resolved); | ^~~~~~~~ | | | uint8_t * {aka unsigned char *} sftp-server.c:293:31: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 293 | const char *name) | ~~~~~~~~~~~~^~~~ sftp-server.c: In function 'sftp_process_rename': sftp-server.c:888:14: warning: pointer targets in passing argument 1 of 'rename' differ in signedness [-Wpointer-sign] 888 | if (rename(src, dst) < 0) | ^~~ | | | const uint8_t * {aka const unsigned char *} In file included from /usr/include/stdio.h:83, from sftp-server.c:59: /usr/include/iso/stdio_iso.h:192:24: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 192 | extern int rename(const char *, const char *); | ^~~~~~~~~~~~ sftp-server.c:888:19: warning: pointer targets in passing argument 2 of 'rename' differ in signedness [-Wpointer-sign] 888 | if (rename(src, dst) < 0) | ^~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/iso/stdio_iso.h:192:38: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 192 | extern int rename(const char *, const char *); | ^~~~~~~~~~~~ sftp-server.c: In function 'sftp_process_open': sftp-server.c:950:21: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 950 | fd = open(name, mode, a.permissions); | ^~~~ | | | const uint8_t * {aka const unsigned char *} In file included from sftp-server.c:64: /usr/include/fcntl.h:132:17: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 132 | extern int open(const char *, int, ...); | ^~~~~~~~~~~~ sftp-server.c:955:19: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 955 | fd = open(name, mode, 0666); | ^~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/fcntl.h:132:17: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 132 | extern int open(const char *, int, ...); | ^~~~~~~~~~~~ sftp-server.c: In function 'sftp_process_readlink': sftp-server.c:1236:24: warning: pointer targets in passing argument 1 of 'pathconf' differ in signedness [-Wpointer-sign] 1236 | path_max = pathconf (name, _PC_PATH_MAX); | ^~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/unistd.h:430:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 430 | extern long pathconf(const char *, int); | ^~~~~~~~~~~~ sftp-server.c:1242:23: warning: pointer targets in passing argument 1 of 'readlink' differ in signedness [-Wpointer-sign] 1242 | link_len = readlink(name, linktarget, path_max); | ^~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/unistd.h:471:25: note: expected 'const char * restrict' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 471 | extern ssize_t readlink(const char *_RESTRICT_KYWD, char *_RESTRICT_KYWD, | ^ sftp-server.c:1242:29: warning: pointer targets in passing argument 2 of 'readlink' differ in signedness [-Wpointer-sign] 1242 | link_len = readlink(name, linktarget, path_max); | ^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} /usr/include/unistd.h:471:53: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 471 | extern ssize_t readlink(const char *_RESTRICT_KYWD, char *_RESTRICT_KYWD, | ^ sftp-server.c:1253:13: warning: pointer targets in passing argument 1 of 'lstat' differ in signedness [-Wpointer-sign] 1253 | if (lstat(linktarget, &st ) < 0) | ^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} /usr/include/sys/stat_impl.h:54:18: note: expected 'const char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 54 | extern int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD); | ^ sftp-server.c:1265:33: warning: pointer targets in passing argument 3 of 'sftp_put_filename' differ in signedness [-Wpointer-sign] 1265 | sftp_put_filename(ctx, &st, linktarget); | ^~~~~~~~~~ | | | uint8_t * {aka unsigned char *} sftp-server.c:293:31: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 293 | const char *name) | ~~~~~~~~~~~~^~~~ sftp-server.c: In function 'sftp_process_symlink': sftp-server.c:1283:15: warning: pointer targets in passing argument 1 of 'symlink' differ in signedness [-Wpointer-sign] 1283 | if (symlink(targetpath, linkpath) < 0) | ^~~~~~~~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/unistd.h:531:20: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 531 | extern int symlink(const char *, const char *); | ^~~~~~~~~~~~ sftp-server.c:1283:27: warning: pointer targets in passing argument 2 of 'symlink' differ in signedness [-Wpointer-sign] 1283 | if (symlink(targetpath, linkpath) < 0) | ^~~~~~~~ | | | const uint8_t * {aka const unsigned char *} /usr/include/unistd.h:531:34: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 531 | extern int symlink(const char *, const char *); | ^~~~~~~~~~~~ mv -f .deps/sftp-test-client.Tpo .deps/sftp-test-client.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT filemode.o -MD -MP -MF .deps/filemode.Tpo -c -o filemode.o filemode.c mv -f .deps/dump-hex.Tpo .deps/dump-hex.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/local/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -MT idcache.o -MD -MP -MF .deps/idcache.Tpo -c -o idcache.o idcache.c mv -f .deps/idcache.Tpo .deps/idcache.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lsftp commands.o lsftp.o rl.o sftp_c.o sftp_bind.o str_utils.o dc.o gnu_stuff.o misc_fun.o buffer.o io_input.o io_output.o xmalloc.o werror.o -ltermcap mv -f .deps/filemode.Tpo .deps/filemode.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o sftp-test-client sftp-test-client.o buffer.o io_input.o io_output.o xmalloc.o werror.o client.o -ltermcap gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o dump-hex dump-hex.o -ltermcap mv -f .deps/sftp-server.Tpo .deps/sftp-server.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o sftp-server sftp-server.o buffer.o io_input.o io_output.o xmalloc.o werror.o filemode.o idcache.o -ltermcap gmake[6]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/sftp' Making all in testsuite gmake[6]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/sftp/testsuite' gmake[6]: Nothing to be done for 'all'. gmake[6]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/sftp/testsuite' gmake[5]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/sftp' gmake[4]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/sftp' Making all in spki gmake[4]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/spki' /opt/local/bin/gmake all-recursive gmake[5]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/spki' Making all in . gmake[6]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/spki' gcc -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT certificate.o -MD -MP -MF .deps/certificate.Tpo -c -o certificate.o certificate.c gcc -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c gcc -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT parse-transport.o -MD -MP -MF .deps/parse-transport.Tpo -c -o parse-transport.o parse-transport.c parse.c: In function 'spki_intern': parse.c:60:29: warning: pointer targets in passing argument 1 of 'spki_gperf' differ in signedness [-Wpointer-sign] 60 | = spki_gperf(i->sexp.atom, i->sexp.atom_length); | ~~~~~~~^~~~~ | | | const uint8_t * {aka const unsigned char *} In file included from parse.c:42: spki-gperf.h:85:34: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 85 | spki_gperf (register const char *str, register unsigned int len) | ~~~~~~~~~~~~~~~~~~~~~^~~ mv -f .deps/parse-transport.Tpo .deps/parse-transport.Po gcc -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT names.o -MD -MP -MF .deps/names.Tpo -c -o names.o names.c In file included from names.c:27: spki-type-names.h:7:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 7 | { 3, "acl" }, | ^~~~~ spki-type-names.h:7:8: note: (near initialization for 'spki_type_names[1].name') spki-type-names.h:8:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 8 | { 4, "cert" }, | ^~~~~~ spki-type-names.h:8:8: note: (near initialization for 'spki_type_names[2].name') spki-type-names.h:9:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 9 | { 7, "comment" }, | ^~~~~~~~~ spki-type-names.h:9:8: note: (near initialization for 'spki_type_names[3].name') spki-type-names.h:10:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 10 | { 7, "display" }, | ^~~~~~~~~ spki-type-names.h:10:8: note: (near initialization for 'spki_type_names[4].name') spki-type-names.h:11:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 11 | { 2, "do" }, | ^~~~ spki-type-names.h:11:8: note: (near initialization for 'spki_type_names[5].name') spki-type-names.h:12:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 12 | { 8, "dsa-sha1" }, | ^~~~~~~~~~ spki-type-names.h:12:8: note: (near initialization for 'spki_type_names[6].name') spki-type-names.h:13:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 13 | { 5, "entry" }, | ^~~~~~~ spki-type-names.h:13:8: note: (near initialization for 'spki_type_names[7].name') spki-type-names.h:14:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 14 | { 4, "hash" }, | ^~~~~~ spki-type-names.h:14:8: note: (near initialization for 'spki_type_names[8].name') spki-type-names.h:15:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 15 | { 6, "issuer" }, | ^~~~~~~~ spki-type-names.h:15:8: note: (near initialization for 'spki_type_names[9].name') spki-type-names.h:16:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 16 | { 11, "issuer-info" }, | ^~~~~~~~~~~~~ spki-type-names.h:16:9: note: (near initialization for 'spki_type_names[10].name') spki-type-names.h:17:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 17 | { 3, "md5" }, | ^~~~~ spki-type-names.h:17:8: note: (near initialization for 'spki_type_names[11].name') spki-type-names.h:18:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 18 | { 4, "name" }, | ^~~~~~ spki-type-names.h:18:8: note: (near initialization for 'spki_type_names[12].name') spki-type-names.h:19:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 19 | { 9, "not-after" }, | ^~~~~~~~~~~ spki-type-names.h:19:8: note: (near initialization for 'spki_type_names[13].name') spki-type-names.h:20:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 20 | { 10, "not-before" }, | ^~~~~~~~~~~~ spki-type-names.h:20:9: note: (near initialization for 'spki_type_names[14].name') spki-type-names.h:21:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 21 | { 9, "propagate" }, | ^~~~~~~~~~~ spki-type-names.h:21:8: note: (near initialization for 'spki_type_names[15].name') spki-type-names.h:22:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 22 | { 11, "private-key" }, | ^~~~~~~~~~~~~ spki-type-names.h:22:9: note: (near initialization for 'spki_type_names[16].name') spki-type-names.h:23:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 23 | { 10, "public-key" }, | ^~~~~~~~~~~~ spki-type-names.h:23:9: note: (near initialization for 'spki_type_names[17].name') spki-type-names.h:24:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 24 | { 13, "rsa-pkcs1-md5" }, | ^~~~~~~~~~~~~~~ spki-type-names.h:24:9: note: (near initialization for 'spki_type_names[18].name') spki-type-names.h:25:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 25 | { 14, "rsa-pkcs1-sha1" }, | ^~~~~~~~~~~~~~~~ spki-type-names.h:25:9: note: (near initialization for 'spki_type_names[19].name') spki-type-names.h:26:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 26 | { 8, "sequence" }, | ^~~~~~~~~~ spki-type-names.h:26:8: note: (near initialization for 'spki_type_names[20].name') spki-type-names.h:27:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 27 | { 4, "sha1" }, | ^~~~~~ spki-type-names.h:27:8: note: (near initialization for 'spki_type_names[21].name') spki-type-names.h:28:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 28 | { 9, "signature" }, | ^~~~~~~~~~~ spki-type-names.h:28:8: note: (near initialization for 'spki_type_names[22].name') spki-type-names.h:29:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 29 | { 7, "subject" }, | ^~~~~~~~~ spki-type-names.h:29:8: note: (near initialization for 'spki_type_names[23].name') spki-type-names.h:30:9: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 30 | { 12, "subject-info" }, | ^~~~~~~~~~~~~~ spki-type-names.h:30:9: note: (near initialization for 'spki_type_names[24].name') spki-type-names.h:31:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 31 | { 3, "tag" }, | ^~~~~ spki-type-names.h:31:8: note: (near initialization for 'spki_type_names[25].name') spki-type-names.h:32:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 32 | { 5, "valid" }, | ^~~~~~~ spki-type-names.h:32:8: note: (near initialization for 'spki_type_names[26].name') spki-type-names.h:33:8: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 33 | { 7, "version" }, | ^~~~~~~~~ spki-type-names.h:33:8: note: (near initialization for 'spki_type_names[27].name') mv -f .deps/names.Tpo .deps/names.Po gcc -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT tag.o -MD -MP -MF .deps/tag.Tpo -c -o tag.o tag.c tag.c: In function 'spki_tag_release': tag.c:426:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 426 | spki_string_release(ctx, realloc, self->upper); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tag.c:428:5: note: here 428 | default: | ^~~~~~~ tag.c: At top level: tag.c:369:1: warning: 'spki_tag_range_alloc' defined but not used [-Wunused-function] 369 | spki_tag_range_alloc(void *ctx, nettle_realloc_func *realloc, | ^~~~~~~~~~~~~~~~~~~~ tag.c:100:1: warning: 'spki_string_dup' defined but not used [-Wunused-function] 100 | spki_string_dup(struct spki_string *s) | ^~~~~~~~~~~~~~~ mv -f .deps/parse.Tpo .deps/parse.Po gcc -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT reduce.o -MD -MP -MF .deps/reduce.Tpo -c -o reduce.o reduce.c mv -f .deps/certificate.Tpo .deps/certificate.Po gcc -DHAVE_CONFIG_H -I. -I./.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT verify.o -MD -MP -MF .deps/verify.Tpo -c -o verify.o verify.c mv -f .deps/tag.Tpo .deps/tag.Po mv -f .deps/reduce.Tpo .deps/reduce.Po mv -f .deps/verify.Tpo .deps/verify.Po rm -f libspki.a ar cru libspki.a certificate.o parse.o parse-transport.o names.o tag.o reduce.o verify.o ranlib libspki.a gmake[6]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/spki' Making all in tools gmake[6]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/spki/tools' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki-check-signature.o -MD -MP -MF .deps/spki-check-signature.Tpo -c -o spki-check-signature.o spki-check-signature.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c misc.c: In function 'hash_file': misc.c:67:30: warning: pointer targets in passing argument 3 of 'hash->update' differ in signedness [-Wpointer-sign] 67 | hash->update(ctx, res, buffer); | ^~~~~~ | | | char * misc.c:67:30: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' In file included from spki-check-signature.c:34: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ In file included from getopt.c:104: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ spki-check-signature.c: In function 'main': spki-check-signature.c:116:66: warning: pointer targets in passing argument 3 of 'nettle_sexp_transport_iterator_first' differ in signedness [-Wpointer-sign] 116 | if (sexp_transport_iterator_first(&sexp, strlen(o.signature), o.signature) | ~^~~~~~~~~~ | | | char * In file included from ../parse.h:26, from spki-check-signature.c:32: ../../nettle/sexp.h:84:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 84 | unsigned length, uint8_t *input); | ~~~~~~~~~^~~~~ spki-check-signature.c:130:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 130 | die("Unsupported hash algorithm."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spki-check-signature.c:131:11: note: here 131 | case SPKI_TYPE_MD5: | ^~~~ spki-check-signature.c: In function 'parse_options': spki-check-signature.c:88:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 88 | die("spki-check-signature --version not implemented\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spki-check-signature.c:90:9: note: here 90 | case 'n': | ^~~~ getopt.c:211:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 211 | extern char *getenv (); | ^~~~~~ getopt.c:215:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 215 | my_index (str, chr) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:397:10: warning: unused parameter 'argc' [-Wunused-parameter] 397 | int argc; | ^~~~ getopt.c:398:19: warning: unused parameter 'argv' [-Wunused-parameter] 398 | char *const *argv; | ^~~~ mv -f .deps/spki-check-signature.Tpo .deps/spki-check-signature.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c mv -f .deps/misc.Tpo .deps/misc.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki-make-signature.o -MD -MP -MF .deps/spki-make-signature.Tpo -c -o spki-make-signature.o spki-make-signature.c In file included from getopt1.c:24: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ mv -f .deps/getopt1.Tpo .deps/getopt1.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sign.o -MD -MP -MF .deps/sign.Tpo -c -o sign.o sign.c In file included from spki-make-signature.c:36: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ spki-make-signature.c: In function 'main': spki-make-signature.c:136:56: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 136 | if (! (spki_transport_iterator_first(&i, key_length, key) | ^~~ | | | char * In file included from spki-make-signature.c:34: ../parse.h:67:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); | ~~~~~~~~~^~~~ spki-make-signature.c:151:15: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 151 | digest = hash_file(ctx.hash_algorithm, stdin); | ^ spki-make-signature.c:158:35: warning: pointer targets in passing argument 3 of 'spki_sign_digest' differ in signedness [-Wpointer-sign] 158 | spki_sign_digest(&ctx, &buffer, digest); | ^~~~~~ | | | char * In file included from spki-make-signature.c:38: sign.h:64:33: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 64 | const uint8_t *digest); | ~~~~~~~~~~~~~~~^~~~~~ spki-make-signature.c:162:46: warning: pointer targets in passing argument 3 of 'write_file' differ in signedness [-Wpointer-sign] 162 | if (!write_file(stdout, buffer.size, buffer.contents)) | ~~~~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from spki-make-signature.c:37: misc.h:48:48: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 48 | write_file(FILE *f, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ spki-make-signature.c: In function 'parse_options': spki-make-signature.c:99:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 99 | die("spki-make-signature --version not implemented\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spki-make-signature.c:101:9: note: here 101 | case 's': | ^~~~ mv -f .deps/spki-make-signature.Tpo .deps/spki-make-signature.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki-delegate.o -MD -MP -MF .deps/spki-delegate.Tpo -c -o spki-delegate.o spki-delegate.c mv -f .deps/getopt.Tpo .deps/getopt.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki-reduce.o -MD -MP -MF .deps/spki-reduce.Tpo -c -o spki-reduce.o spki-reduce.c In file included from spki-delegate.c:37: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ spki-delegate.c: In function 'process_principal': spki-delegate.c:157:55: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 157 | if (spki_transport_iterator_first(&i, strlen(expr), expr) | ^~~~ | | | char * In file included from spki-delegate.c:35: ../parse.h:67:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); | ~~~~~~~~~^~~~ spki-delegate.c: In function 'process_sequence': spki-delegate.c:177:52: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 177 | && spki_transport_iterator_first(&i, length, data)) | ^~~~ | | | char * ../parse.h:67:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); | ~~~~~~~~~^~~~ spki-delegate.c: In function 'process_tag': spki-delegate.c:207:55: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 207 | if (spki_transport_iterator_first(&i, strlen(expr), expr) == SPKI_TYPE_TAG) | ^~~~ | | | char * ../parse.h:67:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); | ~~~~~~~~~^~~~ spki-delegate.c:213:19: warning: pointer targets in assignment from 'const uint8_t *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 213 | && (tag = spki_parse_prevexpr(&i, start, &tag_length))) | ^ mv -f .deps/sign.Tpo .deps/sign.Po spki-delegate.c: In function 'main': spki-delegate.c:301:60: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 301 | if (! (spki_transport_iterator_first(&i, key_length, key) | ^~~ | | | char * ../parse.h:67:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); | ~~~~~~~~~^~~~ spki-delegate.c:319:38: warning: pointer targets in passing argument 3 of 'write_file' differ in signedness [-Wpointer-sign] 319 | buffer.size, buffer.contents)) | ~~~~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from spki-delegate.c:38: misc.h:48:48: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 48 | write_file(FILE *f, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ spki-delegate.c: In function 'parse_options': spki-delegate.c:114:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 114 | die("spki-delegate --version not implemented\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spki-delegate.c:116:9: note: here 116 | case 'i': | ^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L../../nettle/ -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o spki-check-signature spki-check-signature.o misc.o getopt.o getopt1.o -lspki -lnettle ../libspki.a ../../nettle/libnettle.a -lgmp In file included from spki-reduce.c:33: getopt.h:146:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 146 | extern int getopt (); | ^~~~~~ spki-reduce.c: In function 'process_acls': spki-reduce.c:115:55: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 115 | && spki_transport_iterator_first(&i, length, data) | ^~~~ | | | char * In file included from spki-reduce.c:31: ../parse.h:67:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); | ~~~~~~~~~^~~~ spki-reduce.c: In function 'process_sequence': spki-reduce.c:136:52: warning: pointer targets in passing argument 3 of 'spki_transport_iterator_first' differ in signedness [-Wpointer-sign] 136 | && spki_transport_iterator_first(&i, length, data)) | ^~~~ | | | char * ../parse.h:67:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | unsigned length, uint8_t *expr); | ~~~~~~~~~^~~~ spki-reduce.c: In function 'main': spki-reduce.c:187:46: warning: pointer targets in passing argument 3 of 'write_file' differ in signedness [-Wpointer-sign] 187 | if (!write_file(stdout, buffer.size, buffer.contents)) | ~~~~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from spki-reduce.c:34: misc.h:48:48: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 48 | write_file(FILE *f, unsigned size, const char *buffer); | ~~~~~~~~~~~~^~~~~~ spki-reduce.c: In function 'parse_options': spki-reduce.c:89:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 89 | die("spki-delegate --version not implemented\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spki-reduce.c:91:9: note: here 91 | case 'a': | ^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L../../nettle/ -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o spki-make-signature spki-make-signature.o sign.o misc.o getopt.o getopt1.o -lspki -lnettle ../libspki.a ../../nettle/libnettle.a -lgmp mv -f .deps/spki-delegate.Tpo .deps/spki-delegate.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L../../nettle/ -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o spki-delegate spki-delegate.o sign.o misc.o getopt.o getopt1.o -lspki -lnettle ../libspki.a ../../nettle/libnettle.a -lgmp mv -f .deps/spki-reduce.Tpo .deps/spki-reduce.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L../../nettle/ -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o spki-reduce spki-reduce.o misc.o getopt.o getopt1.o -lspki -lnettle ../libspki.a ../../nettle/libnettle.a -lgmp gmake[6]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/spki/tools' Making all in testsuite gmake[6]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/spki/testsuite' gcc -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT principal-test.o -MD -MP -MF .deps/principal-test.Tpo -c -o principal-test.o principal-test.c gcc -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT testutils.o -MD -MP -MF .deps/testutils.Tpo -c -o testutils.o testutils.c gcc -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT date-test.o -MD -MP -MF .deps/date-test.Tpo -c -o date-test.o date-test.c principal-test.c: In function 'test_main': principal-test.c:11:37: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] 11 | s = spki_principal_by_key(&db, 5, "3:foo"); | ^~~~~~~ | | | char * In file included from testutils.h:5, from principal-test.c:1: ../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 221 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ principal-test.c:14:40: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] 14 | ASSERT(spki_principal_by_key(&db, 5, "3:foo") == s); | ^~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ ../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 221 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ principal-test.c:15:40: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] 15 | ASSERT(spki_principal_by_key(&db, 5, "3:bar") != s); | ^~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ ../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 221 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ mv -f .deps/principal-test.Tpo .deps/principal-test.Po gcc -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT tag-test.o -MD -MP -MF .deps/tag-test.Tpo -c -o tag-test.o tag-test.c mv -f .deps/date-test.Tpo .deps/date-test.Po mv -f .deps/testutils.Tpo .deps/testutils.Po gcc -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read-acl-test.o -MD -MP -MF .deps/read-acl-test.Tpo -c -o read-acl-test.o read-acl-test.c gcc -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lookup-acl-test.o -MD -MP -MF .deps/lookup-acl-test.Tpo -c -o lookup-acl-test.o lookup-acl-test.c 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] 25 | ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:25:10: note: in expansion of macro 'INCLUDES' 25 | ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:26:19: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 26 | "(3:ftp18:ftp.lysator.liu.se)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:25:10: note: in expansion of macro 'INCLUDES' 25 | ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:28:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 28 | ASSERT(!INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:28:11: note: in expansion of macro 'INCLUDES' 28 | ASSERT(!INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:29:20: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 29 | "(4:http18:ftp.lysator.liu.se)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:28:11: note: in expansion of macro 'INCLUDES' 28 | ASSERT(!INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:32:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 32 | ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:32:10: note: in expansion of macro 'INCLUDES' 32 | ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:33:19: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 33 | "(3:ftp18:ftp.lysator.liu.se4:read)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:32:10: note: in expansion of macro 'INCLUDES' 32 | ASSERT(INCLUDES("(3:ftp18:ftp.lysator.liu.se)", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:35:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 35 | ASSERT(!INCLUDES("(3:ftp18:ftp.lysator.liu.se4:read)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:35:11: note: in expansion of macro 'INCLUDES' 35 | ASSERT(!INCLUDES("(3:ftp18:ftp.lysator.liu.se4:read)", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:36:20: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 36 | "(3:ftp18:ftp.lysator.liu.se)")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:35:11: note: in expansion of macro 'INCLUDES' 35 | ASSERT(!INCLUDES("(3:ftp18:ftp.lysator.liu.se4:read)", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:38:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 38 | ASSERT(INCLUDES("(1:*)", "(3:foo)")); | ^~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:38:10: note: in expansion of macro 'INCLUDES' 38 | ASSERT(INCLUDES("(1:*)", "(3:foo)")); | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:38:28: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 38 | ASSERT(INCLUDES("(1:*)", "(3:foo)")); | ^~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:38:10: note: in expansion of macro 'INCLUDES' 38 | ASSERT(INCLUDES("(1:*)", "(3:foo)")); | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:39:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 39 | ASSERT(!INCLUDES("(3:foo)", "(1:*)")); | ^~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:39:11: note: in expansion of macro 'INCLUDES' 39 | ASSERT(!INCLUDES("(3:foo)", "(1:*)")); | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:39:31: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 39 | ASSERT(!INCLUDES("(3:foo)", "(1:*)")); | ^~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:39:11: note: in expansion of macro 'INCLUDES' 39 | ASSERT(!INCLUDES("(3:foo)", "(1:*)")); | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:41:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 41 | ASSERT(INCLUDES("(1:*)", | ^~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:41:10: note: in expansion of macro 'INCLUDES' 41 | ASSERT(INCLUDES("(1:*)", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:42:19: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 42 | "(1:*3:set3:foo3:bar)")); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:41:10: note: in expansion of macro 'INCLUDES' 41 | ASSERT(INCLUDES("(1:*)", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:43:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 43 | ASSERT(!INCLUDES("(1:*3:set3:foo3:bar)", | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:43:11: note: in expansion of macro 'INCLUDES' 43 | ASSERT(!INCLUDES("(1:*3:set3:foo3:bar)", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:44:20: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 44 | "(1:*)")); | ^~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:43:11: note: in expansion of macro 'INCLUDES' 43 | ASSERT(!INCLUDES("(1:*3:set3:foo3:bar)", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:46:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 46 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:46:10: note: in expansion of macro 'INCLUDES' 46 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ In file included from read-acl-test.c:1: read-acl-test.c: In function 'test_main': tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:47:19: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 47 | "(3:foo)")); | ^~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:46:10: note: in expansion of macro 'INCLUDES' 46 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ read-acl-test.c:11:13: warning: pointer targets in passing argument 3 of 'read_acl' differ in signedness [-Wpointer-sign] 11 | ("(3:acl(7:version1:\0)(5:entry" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ testutils.h:17:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 17 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ In file included from lookup-acl-test.c:1: lookup-acl-test.c: In function 'test_main': read-acl-test.c:17:43: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] 17 | ASSERT(spki_principal_by_key(&db, LDATA("k1"))); | ^~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ read-acl-test.c:17:37: note: in expansion of macro 'LDATA' 17 | ASSERT(spki_principal_by_key(&db, LDATA("k1"))); | ^~~~~ lookup-acl-test.c:17:13: warning: pointer targets in passing argument 3 of 'read_acl' differ in signedness [-Wpointer-sign] 17 | ("(3:acl(5:entry(7:subject(10:public-key2:k1))" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:17:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 17 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ In file included from testutils.h:5: ../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 221 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ tag-test.c:48:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 48 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:48:10: note: in expansion of macro 'INCLUDES' 48 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ lookup-acl-test.c:22:41: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] 22 | k1 = spki_principal_by_key(&db, LDATA("(10:public-key2:k1)")); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ tag-test.c:49:19: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 49 | "(3:foo4:read)")); | ^~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:48:10: note: in expansion of macro 'INCLUDES' 48 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ In file included from testutils.h:5: ../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 221 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ read-acl-test.c:18:37: warning: pointer targets in passing argument 2 of 'spki_principal_by_md5' differ in signedness [-Wpointer-sign] 18 | ASSERT(spki_principal_by_md5(&db, "xxxxxxxxxxxxxxxx")); | ^~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ ../certificate.h:224:62: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 224 | spki_principal_by_md5(struct spki_acl_db *db, const uint8_t *digest); | ~~~~~~~~~~~~~~~^~~~~~ tag-test.c:50:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 50 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:50:10: note: in expansion of macro 'INCLUDES' 50 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ lookup-acl-test.c:25:41: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] 25 | k2 = spki_principal_by_key(&db, LDATA("(10:public-key2:k2)")); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ ../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 221 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ tag-test.c:51:19: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 51 | "(3:bar)")); | ^~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:50:10: note: in expansion of macro 'INCLUDES' 50 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ lookup-acl-test.c:30:41: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] 30 | k3 = spki_principal_by_key(&db, LDATA("(10:public-key2:k3)")); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * lookup-acl-test.c:30:35: note: in expansion of macro 'LDATA' 30 | k3 = spki_principal_by_key(&db, LDATA("(10:public-key2:k3)")); | ^~~~~ ../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 221 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ tag-test.c:52:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 52 | ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:52:11: note: in expansion of macro 'INCLUDES' 52 | ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:53:20: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 53 | "(3:baz)")); | ^~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:52:11: note: in expansion of macro 'INCLUDES' 52 | ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:55:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 55 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:55:10: note: in expansion of macro 'INCLUDES' 55 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ lookup-acl-test.c:45:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] 45 | tag = make_tag(LDATA("(4:http)")); | ^~~~~~~~~~ | | | char * testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:20:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 20 | make_tag(unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ tag-test.c:56:19: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 56 | "(1:*3:set(3:foo))")); | ^~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:55:10: note: in expansion of macro 'INCLUDES' 55 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ lookup-acl-test.c:52:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] 52 | tag = make_tag(LDATA("(3:ftp)")); | ^~~~~~~~~ | | | char * testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:20:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 20 | make_tag(unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ tag-test.c:57:19: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 57 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:57:10: note: in expansion of macro 'INCLUDES' 57 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ lookup-acl-test.c:57:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] 57 | tag = make_tag(LDATA("(3:ftp2:h5)")); | ^~~~~~~~~~~~~ | | | char * testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:20:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 20 | make_tag(unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ tag-test.c:58:19: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 58 | "(1:*3:set(3:foo)(3:bar))")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:57:10: note: in expansion of macro 'INCLUDES' 57 | ASSERT(INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ lookup-acl-test.c:62:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] 62 | tag = make_tag(LDATA("(3:ftp2:h1)")); | ^~~~~~~~~~~~~ | | | char * testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ testutils.h:20:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 20 | make_tag(unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ tag-test.c:59:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 59 | ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:59:11: note: in expansion of macro 'INCLUDES' 59 | ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:60:20: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 60 | "(1:*3:set(3:foo)(3:bar)(3:baz))")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:59:11: note: in expansion of macro 'INCLUDES' 59 | ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ tag-test.c:61:20: warning: pointer targets in passing argument 2 of 'includes' differ in signedness [-Wpointer-sign] 61 | ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:33: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:61:11: note: in expansion of macro 'INCLUDES' 61 | ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ lookup-acl-test.c:72:24: warning: pointer targets in passing argument 2 of 'make_tag' differ in signedness [-Wpointer-sign] 72 | tag = make_tag(LDATA("(3:ftp2:h2)")); | ^~~~~~~~~~~~~ | | | char * testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ tag-test.c:4:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 4 | includes(unsigned alength, const uint8_t *adata, | ~~~~~~~~~~~~~~~^~~~~ testutils.h:20:42: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 20 | make_tag(unsigned length, const uint8_t *expr); | ~~~~~~~~~~~~~~~^~~~ tag-test.c:62:20: warning: pointer targets in passing argument 4 of 'includes' differ in signedness [-Wpointer-sign] 62 | "(1:*3:set(3:foo)(3:baz))")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ tag-test.c:20:43: note: in expansion of macro 'LDATA' 20 | #define INCLUDES(a, b) includes(LDATA(a), LDATA(b)) | ^~~~~ tag-test.c:61:11: note: in expansion of macro 'INCLUDES' 61 | ASSERT(!INCLUDES("(1:*3:set(3:foo)(3:bar))", | ^~~~~~~~ tag-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned blength, const uint8_t *bdata) | ~~~~~~~~~~~~~~~^~~~~ mv -f .deps/read-acl-test.Tpo .deps/read-acl-test.Po gcc -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read-cert-test.o -MD -MP -MF .deps/read-cert-test.Tpo -c -o read-cert-test.o read-cert-test.c mv -f .deps/tag-test.Tpo .deps/tag-test.Po gcc -DHAVE_CONFIG_H -I. -I.. -O0 -I.. -I../.. -I../../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT cdsa-reduce-test.o -MD -MP -MF .deps/cdsa-reduce-test.Tpo -c -o cdsa-reduce-test.o cdsa-reduce-test.c mv -f .deps/lookup-acl-test.Tpo .deps/lookup-acl-test.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o principal-test principal-test.o testutils.o ../libspki.a -lnettle -lgmp In file included from read-cert-test.c:1: read-cert-test.c: In function 'test_main': read-cert-test.c:23:19: warning: pointer targets in passing argument 4 of 'read_cert' differ in signedness [-Wpointer-sign] 23 | LDATA("(4:cert(6:issuer(10:public-key2:k1))" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:30:35: note: in definition of macro 'LDATA' 30 | #define LDATA(x) (sizeof(x) - 1), x | ^ read-cert-test.c:5:43: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 5 | unsigned length, const uint8_t *data) | ~~~~~~~~~~~~~~~^~~~ read-cert-test.c:30:43: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] 30 | spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ read-cert-test.c:30:37: note: in expansion of macro 'LDATA' 30 | spki_principal_by_key(&db, LDATA("(10:public-key2:k1)"))); | ^~~~~ In file included from testutils.h:5: ../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 221 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ read-cert-test.c:32:43: warning: pointer targets in passing argument 3 of 'spki_principal_by_key' differ in signedness [-Wpointer-sign] 32 | spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ read-cert-test.c:32:37: note: in expansion of macro 'LDATA' 32 | spki_principal_by_key(&db, LDATA("(10:public-key2:k2)"))); | ^~~~~ ../certificate.h:221:59: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 221 | unsigned key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o date-test date-test.o testutils.o ../libspki.a -lnettle -lgmp mv -f .deps/read-cert-test.Tpo .deps/read-cert-test.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o tag-test tag-test.o testutils.o ../libspki.a -lnettle -lgmp cdsa-reduce-test.c: In function 'test_main': cdsa-reduce-test.c:140:14: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 140 | data = read_file(srcdir, "cdsa-cases/", i, ".in", | ^ In file included from cdsa-reduce-test.c:1: cdsa-reduce-test.c:144:48: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 144 | ASSERT(sexp_iterator_check_type(&sexp, "red-test")); | ^~~~~~~~~~ | | | char * testutils.h:27:30: note: in definition of macro 'ASSERT' 27 | #define ASSERT(x) do { if (!(x)) FAIL("ASSERT failure: " #x); } while(0) | ^ In file included from ../parse.h:26, from testutils.h:6: ../../nettle/sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o read-acl-test read-acl-test.o testutils.o ../libspki.a -lnettle -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lookup-acl-test lookup-acl-test.o testutils.o ../libspki.a -lnettle -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o read-cert-test read-cert-test.o testutils.o ../libspki.a -lnettle -lgmp mv -f .deps/cdsa-reduce-test.Tpo .deps/cdsa-reduce-test.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L../../nettle -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o cdsa-reduce-test cdsa-reduce-test.o testutils.o ../libspki.a -lnettle -lgmp make check to build testprograms. gmake[6]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/spki/testsuite' gmake[5]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/spki' gmake[4]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/spki' Making all in . gmake[4]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT abstract_io.o -MD -MP -MF .deps/abstract_io.Tpo -c -o abstract_io.o abstract_io.c gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT abstract_crypto.o -MD -MP -MF .deps/abstract_crypto.Tpo -c -o abstract_crypto.o abstract_crypto.c gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT algorithms.o -MD -MP -MF .deps/algorithms.Tpo -c -o algorithms.o algorithms.c mv -f .deps/abstract_io.Tpo .deps/abstract_io.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT alist.o -MD -MP -MF .deps/alist.Tpo -c -o alist.o alist.c mv -f .deps/abstract_crypto.Tpo .deps/abstract_crypto.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT atoms.o -MD -MP -MF .deps/atoms.Tpo -c -o atoms.o atoms.c In file included from atoms.c:45: atoms_table.c:5:5: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 5 | { { "UNKNOWN", 7 }, {"none", 4}, | ^~~~~~~~~ atoms_table.c:5:5: note: (near initialization for 'atom_table[0].name') atoms_table.c:5:23: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 5 | { { "UNKNOWN", 7 }, {"none", 4}, | ^~~~~~ atoms_table.c:5:23: note: (near initialization for 'atom_table[1].name') atoms_table.c:6:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 6 | {"zlib", 4}, | ^~~~~~ atoms_table.c:6:4: note: (near initialization for 'atom_table[2].name') atoms_table.c:7:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 7 | {"3des-cbc", 8}, | ^~~~~~~~~~ atoms_table.c:7:4: note: (near initialization for 'atom_table[3].name') atoms_table.c:8:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 8 | {"3des-ctr", 8}, | ^~~~~~~~~~ atoms_table.c:8:4: note: (near initialization for 'atom_table[4].name') atoms_table.c:9:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 9 | {"blowfish-cbc", 12}, | ^~~~~~~~~~~~~~ atoms_table.c:9:4: note: (near initialization for 'atom_table[5].name') atoms_table.c:10:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 10 | {"blowfish-ctr", 12}, | ^~~~~~~~~~~~~~ atoms_table.c:10:4: note: (near initialization for 'atom_table[6].name') atoms_table.c:11:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 11 | {"twofish256-cbc", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:11:4: note: (near initialization for 'atom_table[7].name') atoms_table.c:12:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 12 | {"twofish-cbc", 11}, | ^~~~~~~~~~~~~ atoms_table.c:12:4: note: (near initialization for 'atom_table[8].name') atoms_table.c:13:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 13 | {"twofish128-cbc", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:13:4: note: (near initialization for 'atom_table[9].name') atoms_table.c:14:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 14 | {"twofish192-cbc", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:14:4: note: (near initialization for 'atom_table[10].name') atoms_table.c:15:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 15 | {"twofish128-ctr", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:15:4: note: (near initialization for 'atom_table[11].name') atoms_table.c:16:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 16 | {"twofish192-ctr", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:16:4: note: (near initialization for 'atom_table[12].name') atoms_table.c:17:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 17 | {"twofish256-ctr", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:17:4: note: (near initialization for 'atom_table[13].name') atoms_table.c:18:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 18 | {"aes256-cbc", 10}, | ^~~~~~~~~~~~ atoms_table.c:18:4: note: (near initialization for 'atom_table[14].name') atoms_table.c:19:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 19 | {"aes192-cbc", 10}, | ^~~~~~~~~~~~ atoms_table.c:19:4: note: (near initialization for 'atom_table[15].name') atoms_table.c:20:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 20 | {"aes128-cbc", 10}, | ^~~~~~~~~~~~ atoms_table.c:20:4: note: (near initialization for 'atom_table[16].name') atoms_table.c:21:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 21 | {"aes128-ctr", 10}, | ^~~~~~~~~~~~ atoms_table.c:21:4: note: (near initialization for 'atom_table[17].name') atoms_table.c:22:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 22 | {"aes192-ctr", 10}, | ^~~~~~~~~~~~ atoms_table.c:22:4: note: (near initialization for 'atom_table[18].name') atoms_table.c:23:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 23 | {"aes256-ctr", 10}, | ^~~~~~~~~~~~ atoms_table.c:23:4: note: (near initialization for 'atom_table[19].name') atoms_table.c:24:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 24 | {"serpent256-cbc", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:24:4: note: (near initialization for 'atom_table[20].name') atoms_table.c:25:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 25 | {"serpent192-cbc", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:25:4: note: (near initialization for 'atom_table[21].name') atoms_table.c:26:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 26 | {"serpent128-cbc", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:26:4: note: (near initialization for 'atom_table[22].name') atoms_table.c:27:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 27 | {"serpent128-ctr", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:27:4: note: (near initialization for 'atom_table[23].name') atoms_table.c:28:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 28 | {"serpent192-ctr", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:28:4: note: (near initialization for 'atom_table[24].name') atoms_table.c:29:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 29 | {"serpent256-ctr", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:29:4: note: (near initialization for 'atom_table[25].name') atoms_table.c:30:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 30 | {"arcfour", 7}, | ^~~~~~~~~ atoms_table.c:30:4: note: (near initialization for 'atom_table[26].name') atoms_table.c:31:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 31 | {"cast128-cbc", 11}, | ^~~~~~~~~~~~~ atoms_table.c:31:4: note: (near initialization for 'atom_table[27].name') atoms_table.c:32:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 32 | {"cast128-ctr", 11}, | ^~~~~~~~~~~~~ atoms_table.c:32:4: note: (near initialization for 'atom_table[28].name') atoms_table.c:33:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 33 | {"serpent-cbc@lysator.liu.se", 26}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ atoms_table.c:33:4: note: (near initialization for 'atom_table[29].name') atoms_table.c:34:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 34 | {"hmac-sha1", 9}, | ^~~~~~~~~~~ atoms_table.c:34:4: note: (near initialization for 'atom_table[30].name') atoms_table.c:35:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 35 | {"hmac-sha1-96", 12}, | ^~~~~~~~~~~~~~ atoms_table.c:35:4: note: (near initialization for 'atom_table[31].name') atoms_table.c:36:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 36 | {"hmac-md5", 8}, | ^~~~~~~~~~ atoms_table.c:36:4: note: (near initialization for 'atom_table[32].name') atoms_table.c:37:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 37 | {"hmac-md5-96", 11}, | ^~~~~~~~~~~~~ atoms_table.c:37:4: note: (near initialization for 'atom_table[33].name') atoms_table.c:38:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 38 | {"diffie-hellman-group1-sha1", 26}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ atoms_table.c:38:4: note: (near initialization for 'atom_table[34].name') atoms_table.c:39:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 39 | {"diffie-hellman-group14-sha1", 27}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atoms_table.c:39:4: note: (near initialization for 'atom_table[35].name') atoms_table.c:40:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 40 | {"ssh-dss", 7}, | ^~~~~~~~~ atoms_table.c:40:4: note: (near initialization for 'atom_table[36].name') atoms_table.c:41:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 41 | {"ssh-rsa", 7}, | ^~~~~~~~~ atoms_table.c:41:4: note: (near initialization for 'atom_table[37].name') atoms_table.c:42:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 42 | {"x509v3-sign-rsa", 15}, | ^~~~~~~~~~~~~~~~~ atoms_table.c:42:4: note: (near initialization for 'atom_table[38].name') atoms_table.c:43:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 43 | {"x509v3-sign-dss", 15}, | ^~~~~~~~~~~~~~~~~ atoms_table.c:43:4: note: (near initialization for 'atom_table[39].name') atoms_table.c:44:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 44 | {"spki-sign-rsa", 13}, | ^~~~~~~~~~~~~~~ atoms_table.c:44:4: note: (near initialization for 'atom_table[40].name') atoms_table.c:45:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 45 | {"spki-sign-dss", 13}, | ^~~~~~~~~~~~~~~ atoms_table.c:45:4: note: (near initialization for 'atom_table[41].name') atoms_table.c:46:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 46 | {"pgp-sign-rsa", 12}, | ^~~~~~~~~~~~~~ atoms_table.c:46:4: note: (near initialization for 'atom_table[42].name') atoms_table.c:47:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 47 | {"pgp-sign-dss", 12}, | ^~~~~~~~~~~~~~ atoms_table.c:47:4: note: (near initialization for 'atom_table[43].name') atoms_table.c:48:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 48 | {"spki", 4}, | ^~~~~~ atoms_table.c:48:4: note: (near initialization for 'atom_table[44].name') atoms_table.c:49:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 49 | {"ssh-userauth", 12}, | ^~~~~~~~~~~~~~ atoms_table.c:49:4: note: (near initialization for 'atom_table[45].name') atoms_table.c:50:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 50 | {"ssh-connection", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:50:4: note: (near initialization for 'atom_table[46].name') atoms_table.c:51:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 51 | {"publickey", 9}, | ^~~~~~~~~~~ atoms_table.c:51:4: note: (near initialization for 'atom_table[47].name') atoms_table.c:52:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 52 | {"password", 8}, | ^~~~~~~~~~ atoms_table.c:52:4: note: (near initialization for 'atom_table[48].name') atoms_table.c:53:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 53 | {"hostbased", 9}, | ^~~~~~~~~~~ atoms_table.c:53:4: note: (near initialization for 'atom_table[49].name') atoms_table.c:54:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 54 | {"keyboard-interactive", 20}, | ^~~~~~~~~~~~~~~~~~~~~~ atoms_table.c:54:4: note: (near initialization for 'atom_table[50].name') atoms_table.c:55:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 55 | {"gssapi", 6}, | ^~~~~~~~ atoms_table.c:55:4: note: (near initialization for 'atom_table[51].name') atoms_table.c:56:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 56 | {"session", 7}, | ^~~~~~~~~ atoms_table.c:56:4: note: (near initialization for 'atom_table[52].name') atoms_table.c:57:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 57 | {"pty-req", 7}, | ^~~~~~~~~ atoms_table.c:57:4: note: (near initialization for 'atom_table[53].name') atoms_table.c:58:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | {"x11-req", 7}, | ^~~~~~~~~ atoms_table.c:58:4: note: (near initialization for 'atom_table[54].name') atoms_table.c:59:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 59 | {"x11", 3}, | ^~~~~ atoms_table.c:59:4: note: (near initialization for 'atom_table[55].name') atoms_table.c:60:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 60 | {"auth-agent-req", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:60:4: note: (near initialization for 'atom_table[56].name') atoms_table.c:61:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 61 | {"auth-agent", 10}, | ^~~~~~~~~~~~ atoms_table.c:61:4: note: (near initialization for 'atom_table[57].name') atoms_table.c:62:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 62 | {"env", 3}, | ^~~~~ atoms_table.c:62:4: note: (near initialization for 'atom_table[58].name') atoms_table.c:63:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 63 | {"shell", 5}, | ^~~~~~~ atoms_table.c:63:4: note: (near initialization for 'atom_table[59].name') atoms_table.c:64:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 64 | {"exec", 4}, | ^~~~~~ atoms_table.c:64:4: note: (near initialization for 'atom_table[60].name') atoms_table.c:65:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 65 | {"subsystem", 9}, | ^~~~~~~~~~~ atoms_table.c:65:4: note: (near initialization for 'atom_table[61].name') atoms_table.c:66:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 66 | {"window-change", 13}, | ^~~~~~~~~~~~~~~ atoms_table.c:66:4: note: (near initialization for 'atom_table[62].name') atoms_table.c:67:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 67 | {"xon-xoff", 8}, | ^~~~~~~~~~ atoms_table.c:67:4: note: (near initialization for 'atom_table[63].name') atoms_table.c:68:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 68 | {"signal", 6}, | ^~~~~~~~ atoms_table.c:68:4: note: (near initialization for 'atom_table[64].name') atoms_table.c:69:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 69 | {"exit-status", 11}, | ^~~~~~~~~~~~~ atoms_table.c:69:4: note: (near initialization for 'atom_table[65].name') atoms_table.c:70:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 70 | {"exit-signal", 11}, | ^~~~~~~~~~~~~ atoms_table.c:70:4: note: (near initialization for 'atom_table[66].name') atoms_table.c:71:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 71 | {"tcpip-forward", 13}, | ^~~~~~~~~~~~~~~ atoms_table.c:71:4: note: (near initialization for 'atom_table[67].name') atoms_table.c:72:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 72 | {"cancel-tcpip-forward", 20}, | ^~~~~~~~~~~~~~~~~~~~~~ atoms_table.c:72:4: note: (near initialization for 'atom_table[68].name') atoms_table.c:73:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 73 | {"forwarded-tcpip", 15}, | ^~~~~~~~~~~~~~~~~ atoms_table.c:73:4: note: (near initialization for 'atom_table[69].name') atoms_table.c:74:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 74 | {"direct-tcpip", 12}, | ^~~~~~~~~~~~~~ atoms_table.c:74:4: note: (near initialization for 'atom_table[70].name') atoms_table.c:75:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 75 | {"ABRT", 4}, | ^~~~~~ atoms_table.c:75:4: note: (near initialization for 'atom_table[71].name') atoms_table.c:76:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 76 | {"ALRM", 4}, | ^~~~~~ atoms_table.c:76:4: note: (near initialization for 'atom_table[72].name') atoms_table.c:77:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 77 | {"FPE", 3}, | ^~~~~ atoms_table.c:77:4: note: (near initialization for 'atom_table[73].name') atoms_table.c:78:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 78 | {"HUP", 3}, | ^~~~~ atoms_table.c:78:4: note: (near initialization for 'atom_table[74].name') atoms_table.c:79:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 79 | {"ILL", 3}, | ^~~~~ atoms_table.c:79:4: note: (near initialization for 'atom_table[75].name') atoms_table.c:80:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 80 | {"INT", 3}, | ^~~~~ atoms_table.c:80:4: note: (near initialization for 'atom_table[76].name') atoms_table.c:81:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 81 | {"KILL", 4}, | ^~~~~~ atoms_table.c:81:4: note: (near initialization for 'atom_table[77].name') atoms_table.c:82:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 82 | {"PIPE", 4}, | ^~~~~~ atoms_table.c:82:4: note: (near initialization for 'atom_table[78].name') atoms_table.c:83:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 83 | {"QUIT", 4}, | ^~~~~~ atoms_table.c:83:4: note: (near initialization for 'atom_table[79].name') atoms_table.c:84:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 84 | {"SEGV", 4}, | ^~~~~~ atoms_table.c:84:4: note: (near initialization for 'atom_table[80].name') atoms_table.c:85:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 85 | {"TERM", 4}, | ^~~~~~ atoms_table.c:85:4: note: (near initialization for 'atom_table[81].name') atoms_table.c:86:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 86 | {"USR1", 4}, | ^~~~~~ atoms_table.c:86:4: note: (near initialization for 'atom_table[82].name') atoms_table.c:87:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 87 | {"USR2", 4}, | ^~~~~~ atoms_table.c:87:4: note: (near initialization for 'atom_table[83].name') atoms_table.c:88:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 88 | {"signal-unknown@lysator.liu.se", 29}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atoms_table.c:88:4: note: (near initialization for 'atom_table[84].name') atoms_table.c:89:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 89 | {"private-key", 11}, | ^~~~~~~~~~~~~ atoms_table.c:89:4: note: (near initialization for 'atom_table[85].name') atoms_table.c:90:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 90 | {"public-key", 10}, | ^~~~~~~~~~~~ atoms_table.c:90:4: note: (near initialization for 'atom_table[86].name') atoms_table.c:91:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 91 | {"dsa", 3}, | ^~~~~ atoms_table.c:91:4: note: (near initialization for 'atom_table[87].name') atoms_table.c:92:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 92 | {"p", 1}, | ^~~ atoms_table.c:92:4: note: (near initialization for 'atom_table[88].name') atoms_table.c:93:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 93 | {"q", 1}, | ^~~ atoms_table.c:93:4: note: (near initialization for 'atom_table[89].name') atoms_table.c:94:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 94 | {"g", 1}, | ^~~ atoms_table.c:94:4: note: (near initialization for 'atom_table[90].name') atoms_table.c:95:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 95 | {"y", 1}, | ^~~ atoms_table.c:95:4: note: (near initialization for 'atom_table[91].name') atoms_table.c:96:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 96 | {"x", 1}, | ^~~ atoms_table.c:96:4: note: (near initialization for 'atom_table[92].name') atoms_table.c:97:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 97 | {"r", 1}, | ^~~ atoms_table.c:97:4: note: (near initialization for 'atom_table[93].name') atoms_table.c:98:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 98 | {"s", 1}, | ^~~ atoms_table.c:98:4: note: (near initialization for 'atom_table[94].name') atoms_table.c:99:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 99 | {"rsa-pkcs1", 9}, | ^~~~~~~~~~~ atoms_table.c:99:4: note: (near initialization for 'atom_table[95].name') atoms_table.c:100:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 100 | {"rsa-pkcs1-sha1", 14}, | ^~~~~~~~~~~~~~~~ atoms_table.c:100:4: note: (near initialization for 'atom_table[96].name') atoms_table.c:101:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 101 | {"rsa-pkcs1-md5", 13}, | ^~~~~~~~~~~~~~~ atoms_table.c:101:4: note: (near initialization for 'atom_table[97].name') atoms_table.c:102:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 102 | {"n", 1}, | ^~~ atoms_table.c:102:4: note: (near initialization for 'atom_table[98].name') atoms_table.c:103:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 103 | {"e", 1}, | ^~~ atoms_table.c:103:4: note: (near initialization for 'atom_table[99].name') atoms_table.c:104:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 104 | {"d", 1}, | ^~~ atoms_table.c:104:4: note: (near initialization for 'atom_table[100].name') atoms_table.c:105:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 105 | {"a", 1}, | ^~~ atoms_table.c:105:4: note: (near initialization for 'atom_table[101].name') atoms_table.c:106:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 106 | {"b", 1}, | ^~~ atoms_table.c:106:4: note: (near initialization for 'atom_table[102].name') atoms_table.c:107:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 107 | {"c", 1}, | ^~~ atoms_table.c:107:4: note: (near initialization for 'atom_table[103].name') atoms_table.c:108:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 108 | {"Xpkcs5v2", 8}, | ^~~~~~~~~~ atoms_table.c:108:4: note: (near initialization for 'atom_table[104].name') atoms_table.c:109:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 109 | {"srp-ring1-sha1@lysator.liu.se", 29}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atoms_table.c:109:4: note: (near initialization for 'atom_table[105].name') atoms_table.c:110:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 110 | {"srp-verifier", 12}, | ^~~~~~~~~~~~~~ atoms_table.c:110:4: note: (near initialization for 'atom_table[106].name') atoms_table.c:111:4: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 111 | {"ssh-ring1", 9}, | ^~~~~~~~~~~ atoms_table.c:111:4: note: (near initialization for 'atom_table[107].name') mv -f .deps/alist.Tpo .deps/alist.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT channel.o -MD -MP -MF .deps/channel.Tpo -c -o channel.o channel.c mv -f .deps/algorithms.Tpo .deps/algorithms.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT channel_commands.o -MD -MP -MF .deps/channel_commands.Tpo -c -o channel_commands.o channel_commands.c mv -f .deps/atoms.Tpo .deps/atoms.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT channel_forward.o -MD -MP -MF .deps/channel_forward.Tpo -c -o channel_forward.o channel_forward.c mv -f .deps/channel_forward.Tpo .deps/channel_forward.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT charset.o -MD -MP -MF .deps/charset.Tpo -c -o charset.o charset.c mv -f .deps/channel_commands.Tpo .deps/channel_commands.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.c client.c: In function 'do_exit_signal': client.c:321:27: warning: pointer targets in passing argument 2 of 'parse_atom' differ in signedness [-Wpointer-sign] 321 | && parse_atom(args, &signal) | ^~~~~~~ | | | uint32_t * {aka unsigned int *} In file included from channel.h:32, from channel_commands.h:27, from client.h:27, from client.c:41: parse.h:83:47: note: expected 'int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 83 | parse_atom(struct simple_buffer *buffer, int *result); | ~~~~~^~~~~~ client.c: In function 'rebuild_command_line': client.c:846:43: warning: pointer targets in passing argument 4 of 'lsh_string_write' differ in signedness [-Wpointer-sign] 846 | lsh_string_write(r, 0, alengths[0], argv[0]); | ~~~~^~~ | | | char * In file included from client.c:51: lsh_string.h:110:33: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 110 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ client.c:851:49: warning: pointer targets in passing argument 4 of 'lsh_string_write' differ in signedness [-Wpointer-sign] 851 | lsh_string_write(r, pos, alengths[i], argv[i]); | ~~~~^~~ | | | char * lsh_string.h:110:33: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 110 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ mv -f .deps/charset.Tpo .deps/charset.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_escape.o -MD -MP -MF .deps/client_escape.Tpo -c -o client_escape.o client_escape.c mv -f .deps/client_escape.Tpo .deps/client_escape.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_keyexchange.o -MD -MP -MF .deps/client_keyexchange.Tpo -c -o client_keyexchange.o client_keyexchange.c mv -f .deps/client.Tpo .deps/client.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_pty.o -MD -MP -MF .deps/client_pty.Tpo -c -o client_pty.o client_pty.c mv -f .deps/channel.Tpo .deps/channel.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_session.o -MD -MP -MF .deps/client_session.Tpo -c -o client_session.o client_session.c mv -f .deps/client_keyexchange.Tpo .deps/client_keyexchange.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_userauth.o -MD -MP -MF .deps/client_userauth.Tpo -c -o client_userauth.o client_userauth.c mv -f .deps/client_pty.Tpo .deps/client_pty.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT client_x11.o -MD -MP -MF .deps/client_x11.Tpo -c -o client_x11.o client_x11.c mv -f .deps/client_session.Tpo .deps/client_session.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT combinators.o -MD -MP -MF .deps/combinators.Tpo -c -o combinators.o combinators.c mv -f .deps/combinators.Tpo .deps/combinators.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT command.o -MD -MP -MF .deps/command.Tpo -c -o command.o command.c mv -f .deps/client_x11.Tpo .deps/client_x11.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT compress.o -MD -MP -MF .deps/compress.Tpo -c -o compress.o compress.c mv -f .deps/compress.Tpo .deps/compress.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT parse_config.o -MD -MP -MF .deps/parse_config.Tpo -c -o parse_config.o parse_config.c mv -f .deps/client_userauth.Tpo .deps/client_userauth.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT connection.o -MD -MP -MF .deps/connection.Tpo -c -o connection.o connection.c parse_config.c: In function 'next_token': parse_config.c:156:25: warning: pointer targets in assignment from 'const uint8_t *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 156 | self->token = HERE; | ^ parse_config.c: In function 'config_lookup_host': parse_config.c:368:50: warning: pointer targets in passing argument 3 of 'lsh_string_eq_l' differ in signedness [-Wpointer-sign] 368 | if (lsh_string_eq_l(hosts->name, length, host)) | ^~~~ | | | const char * In file included from parse_config.c:34: lsh_string.h:89:77: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 89 | lsh_string_eq_l(const struct lsh_string *a, uint32_t length, const uint8_t *b); | ~~~~~~~~~~~~~~~^ mv -f .deps/command.Tpo .deps/command.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT connection_commands.o -MD -MP -MF .deps/connection_commands.Tpo -c -o connection_commands.o connection_commands.c mv -f .deps/parse_config.Tpo .deps/parse_config.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT crypto.o -MD -MP -MF .deps/crypto.Tpo -c -o crypto.o crypto.c mv -f .deps/connection_commands.Tpo .deps/connection_commands.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT daemon.o -MD -MP -MF .deps/daemon.Tpo -c -o daemon.o daemon.c mv -f .deps/connection.Tpo .deps/connection.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.c mv -f .deps/daemon.Tpo .deps/daemon.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dh_exchange.o -MD -MP -MF .deps/dh_exchange.Tpo -c -o dh_exchange.o dh_exchange.c mv -f .deps/crypto.Tpo .deps/crypto.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa.o -MD -MP -MF .deps/dsa.Tpo -c -o dsa.o dsa.c mv -f .deps/debug.Tpo .deps/debug.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT exception.o -MD -MP -MF .deps/exception.Tpo -c -o exception.o exception.c dsa.c: In function 'do_dsa_verify': dsa.c:140:37: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 140 | const uint8_t *names[2] = { "r", "s" }; | ^~~ dsa.c:140:37: note: (near initialization for 'names[0]') dsa.c:140:42: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 140 | const uint8_t *names[2] = { "r", "s" }; | ^~~ dsa.c:140:42: note: (near initialization for 'names[1]') mv -f .deps/dh_exchange.Tpo .deps/dh_exchange.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT format.o -MD -MP -MF .deps/format.Tpo -c -o format.o format.c mv -f .deps/dsa.Tpo .deps/dsa.Po mv -f .deps/exception.Tpo .deps/exception.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT gc.o -MD -MP -MF .deps/gc.Tpo -c -o gc.o gc.c gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT gateway.o -MD -MP -MF .deps/gateway.Tpo -c -o gateway.o gateway.c format.c: In function 'ssh_vformat_write': format.c:362:20: warning: pointer targets in assignment from 'const char *' to 'const uint8_t *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 362 | data = va_arg(args, const char *); | ^ format.c:363:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 363 | size = strlen(data); | ^~~~ | | | const uint8_t * {aka const unsigned char *} In file included from /usr/include/string.h:35, from format.c:29: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ gateway.c: In function 'make_gateway_address': gateway.c:92:20: warning: pointer targets in passing argument 1 of 'check_string' differ in signedness [-Wpointer-sign] 92 | if (check_string(local_user) | ^~~~~~~~~~ | | | const char * gateway.c:68:29: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 68 | check_string(const uint8_t *s) | ~~~~~~~~~~~~~~~^ gateway.c:93:23: warning: pointer targets in passing argument 1 of 'check_string' differ in signedness [-Wpointer-sign] 93 | && check_string(remote_user) | ^~~~~~~~~~~ | | | const char * gateway.c:68:29: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 68 | check_string(const uint8_t *s) | ~~~~~~~~~~~~~~~^ gateway.c:94:33: warning: pointer targets in passing argument 2 of 'check_string_l' differ in signedness [-Wpointer-sign] 94 | && check_string_l(length, target)) | ^~~~~~ | | | const char * gateway.c:51:48: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 51 | check_string_l(unsigned length, const uint8_t *s) | ~~~~~~~~~~~~~~~^ mv -f .deps/gateway.Tpo .deps/gateway.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT gateway_channel.o -MD -MP -MF .deps/gateway_channel.Tpo -c -o gateway_channel.o gateway_channel.c mv -f .deps/gc.Tpo .deps/gc.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT gateway_commands.o -MD -MP -MF .deps/gateway_commands.Tpo -c -o gateway_commands.o gateway_commands.c mv -f .deps/gateway_channel.Tpo .deps/gateway_channel.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT handshake.o -MD -MP -MF .deps/handshake.Tpo -c -o handshake.o handshake.c mv -f .deps/gateway_commands.Tpo .deps/gateway_commands.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT interact.o -MD -MP -MF .deps/interact.Tpo -c -o interact.o interact.c mv -f .deps/format.Tpo .deps/format.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT io.o -MD -MP -MF .deps/io.Tpo -c -o io.o io.c mv -f .deps/interact.Tpo .deps/interact.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT io_commands.o -MD -MP -MF .deps/io_commands.Tpo -c -o io_commands.o io_commands.c mv -f .deps/handshake.Tpo .deps/handshake.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT keyexchange.o -MD -MP -MF .deps/keyexchange.Tpo -c -o keyexchange.o keyexchange.c io.c: In function 'do_buffered_read': io.c:490:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 490 | werror("Unexpected EPIPE from read.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:491:7: note: here 491 | default: | ^~~~~~~ mv -f .deps/io_commands.Tpo .deps/io_commands.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.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] 95 | #define CHECK_SUBTYPE(c, o) ((struct lsh_object *)(o)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ list.c:55:3: note: in expansion of macro 'CHECK_SUBTYPE' 55 | CHECK_SUBTYPE(list_header, list); | ^~~~~~~~~~~~~ mv -f .deps/list.Tpo .deps/list.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lookup_verifier.o -MD -MP -MF .deps/lookup_verifier.Tpo -c -o lookup_verifier.o lookup_verifier.c mv -f .deps/keyexchange.Tpo .deps/keyexchange.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lock_file.o -MD -MP -MF .deps/lock_file.Tpo -c -o lock_file.o lock_file.c mv -f .deps/lookup_verifier.Tpo .deps/lookup_verifier.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh_string.o -MD -MP -MF .deps/lsh_string.Tpo -c -o lsh_string.o lsh_string.c lsh_string.c: In function 'lsh_get_cstring': lsh_string.c:139:60: warning: pointer targets in returning 'const uint8_t *' {aka 'const unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 139 | return (s && !memchr(s->data, '\0', s->length) ? s->data : NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ lsh_string.c: In function 'lsh_string_ntop': lsh_string.c:339:19: warning: pointer targets in passing argument 3 of 'inet_ntop' differ in signedness [-Wpointer-sign] 339 | s->data, s->length)) | ~^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from lsh_string.c:37: /usr/include/arpa/inet.h:67:25: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 67 | char *_RESTRICT_KYWD, socklen_t); | ^ lsh_string.c:342:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 342 | lsh_string_trunc(s, strlen(s->data)); | ~^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:35, from lsh_string.c:31: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ mv -f .deps/lock_file.Tpo .deps/lock_file.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c mv -f .deps/lsh_string.Tpo .deps/lsh_string.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pkcs5.o -MD -MP -MF .deps/pkcs5.Tpo -c -o pkcs5.o pkcs5.c mv -f .deps/parse.Tpo .deps/parse.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT publickey_crypto.o -MD -MP -MF .deps/publickey_crypto.Tpo -c -o publickey_crypto.o publickey_crypto.c mv -f .deps/io.Tpo .deps/io.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT queue.o -MD -MP -MF .deps/queue.Tpo -c -o queue.o queue.c mv -f .deps/pkcs5.Tpo .deps/pkcs5.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT randomness.o -MD -MP -MF .deps/randomness.Tpo -c -o randomness.o randomness.c mv -f .deps/publickey_crypto.Tpo .deps/publickey_crypto.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read_data.o -MD -MP -MF .deps/read_data.Tpo -c -o read_data.o read_data.c mv -f .deps/randomness.Tpo .deps/randomness.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read_file.o -MD -MP -MF .deps/read_file.Tpo -c -o read_file.o read_file.c mv -f .deps/read_data.Tpo .deps/read_data.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read_line.o -MD -MP -MF .deps/read_line.Tpo -c -o read_line.o read_line.c mv -f .deps/read_file.Tpo .deps/read_file.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT read_packet.o -MD -MP -MF .deps/read_packet.Tpo -c -o read_packet.o read_packet.c mv -f .deps/queue.Tpo .deps/queue.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT reaper.o -MD -MP -MF .deps/reaper.Tpo -c -o reaper.o reaper.c mv -f .deps/read_line.Tpo .deps/read_line.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT resource.o -MD -MP -MF .deps/resource.Tpo -c -o resource.o resource.c read_packet.c: In function 'do_read_packet': read_packet.c:262:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 262 | closure->state = WAIT_CONTENTS; | ^ read_packet.c:264:7: note: here 264 | case WAIT_CONTENTS: | ^~~~ read_packet.c:303:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 303 | closure->pos = 0; | ~~~~~~~~~~~~~^~~ read_packet.c:305:7: note: here 305 | case WAIT_MAC: | ^~~~ mv -f .deps/reaper.Tpo .deps/reaper.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa.o -MD -MP -MF .deps/rsa.Tpo -c -o rsa.o rsa.c mv -f .deps/resource.Tpo .deps/resource.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server.o -MD -MP -MF .deps/server.Tpo -c -o server.o server.c mv -f .deps/read_packet.Tpo .deps/read_packet.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_authorization.o -MD -MP -MF .deps/server_authorization.Tpo -c -o server_authorization.o server_authorization.c mv -f .deps/rsa.Tpo .deps/rsa.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_keyexchange.o -MD -MP -MF .deps/server_keyexchange.Tpo -c -o server_keyexchange.o server_keyexchange.c mv -f .deps/server_authorization.Tpo .deps/server_authorization.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_password.o -MD -MP -MF .deps/server_password.Tpo -c -o server_password.o server_password.c mv -f .deps/server.Tpo .deps/server.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_publickey.o -MD -MP -MF .deps/server_publickey.Tpo -c -o server_publickey.o server_publickey.c server_keyexchange.c: In function 'do_handle_srp_init': server_keyexchange.c:297:29: warning: variable 'e' set but not used [-Wunused-but-set-variable] 297 | struct exception_handler *e; | ^ mv -f .deps/server_password.Tpo .deps/server_password.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_pty.o -MD -MP -MF .deps/server_pty.Tpo -c -o server_pty.o server_pty.c mv -f .deps/server_publickey.Tpo .deps/server_publickey.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_session.o -MD -MP -MF .deps/server_session.Tpo -c -o server_session.o server_session.c mv -f .deps/server_keyexchange.Tpo .deps/server_keyexchange.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_userauth.o -MD -MP -MF .deps/server_userauth.Tpo -c -o server_userauth.o server_userauth.c mv -f .deps/server_pty.Tpo .deps/server_pty.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT server_x11.o -MD -MP -MF .deps/server_x11.Tpo -c -o server_x11.o server_x11.c mv -f .deps/server_userauth.Tpo .deps/server_userauth.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp.o -MD -MP -MF .deps/sexp.Tpo -c -o sexp.o sexp.c mv -f .deps/server_session.Tpo .deps/server_session.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT socks.o -MD -MP -MF .deps/socks.Tpo -c -o socks.o socks.c mv -f .deps/sexp.Tpo .deps/sexp.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki.o -MD -MP -MF .deps/spki.Tpo -c -o spki.o spki.c mv -f .deps/server_x11.Tpo .deps/server_x11.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT srp_exchange.o -MD -MP -MF .deps/srp_exchange.Tpo -c -o srp_exchange.o srp_exchange.c srp_exchange.c: In function 'make_srp_entry': srp_exchange.c:68:39: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 68 | && sexp_iterator_check_type(&i, "srp-verifier") | ^~~~~~~~~~~~~~ | | | char * In file included from srp_exchange.c:34: nettle/sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ srp_exchange.c:69:39: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 69 | && sexp_iterator_check_type(&i, "ssh-ring1")) | ^~~~~~~~~~~ | | | char * nettle/sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ srp_exchange.c:72:32: warning: variable 'salt' set but not used [-Wunused-but-set-variable] 72 | const struct lsh_string *salt; | ^~~~ spki.c: In function 'make_ssh_hostkey_tag': spki.c:76:22: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'const char *' differ in signedness [-Wpointer-sign] 76 | const uint8_t *s = host; | ^~~~ spki.c: In function 'spki_make_signer': spki.c:187:39: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 187 | && sexp_iterator_check_type(&i, "private-key")) | ^~~~~~~~~~~~~ | | | char * In file included from spki.c:33: nettle/sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ spki.c: In function 'parse_pkcs5': spki.c:408:37: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 408 | const uint8_t *names[2] = { "salt", "iterations" }; | ^~~~~~ spki.c:408:37: note: (near initialization for 'names[0]') spki.c:408:45: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 408 | const uint8_t *names[2] = { "salt", "iterations" }; | ^~~~~~~~~~~~ spki.c:408:45: note: (near initialization for 'names[1]') spki.c: In function 'parse_pkcs5_payload': spki.c:435:31: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 435 | const uint8_t *names[2] = { "data", "iv" }; | ^~~~~~ spki.c:435:31: note: (near initialization for 'names[0]') spki.c:435:39: warning: pointer targets in initialization of 'const uint8_t *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 435 | const uint8_t *names[2] = { "data", "iv" }; | ^~~~ spki.c:435:39: note: (near initialization for 'names[1]') spki.c: In function 'spki_pkcs5_decrypt': spki.c:484:42: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 484 | && sexp_iterator_check_type(&i, "password-encrypted"))) | ^~~~~~~~~~~~~~~~~~~~ | | | char * nettle/sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ mv -f .deps/socks.Tpo .deps/socks.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT string_buffer.o -MD -MP -MF .deps/string_buffer.Tpo -c -o string_buffer.o string_buffer.c mv -f .deps/srp_exchange.Tpo .deps/srp_exchange.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT suspend.o -MD -MP -MF .deps/suspend.Tpo -c -o suspend.o suspend.c mv -f .deps/spki.Tpo .deps/spki.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT tcpforward.o -MD -MP -MF .deps/tcpforward.Tpo -c -o tcpforward.o tcpforward.c mv -f .deps/string_buffer.Tpo .deps/string_buffer.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT tcpforward_commands.o -MD -MP -MF .deps/tcpforward_commands.Tpo -c -o tcpforward_commands.o tcpforward_commands.c mv -f .deps/suspend.Tpo .deps/suspend.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT translate_signal.o -MD -MP -MF .deps/translate_signal.Tpo -c -o translate_signal.o translate_signal.c mv -f .deps/translate_signal.Tpo .deps/translate_signal.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT tty.o -MD -MP -MF .deps/tty.Tpo -c -o tty.o tty.c mv -f .deps/tcpforward_commands.Tpo .deps/tcpforward_commands.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT unix_interact.o -MD -MP -MF .deps/unix_interact.Tpo -c -o unix_interact.o unix_interact.c mv -f .deps/tcpforward.Tpo .deps/tcpforward.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT unix_process.o -MD -MP -MF .deps/unix_process.Tpo -c -o unix_process.o unix_process.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] 392 | if (!tty_getattr(self->tty_fd, &res->ios) < 0) | ^ unix_interact.c:392:49: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] unix_interact.c:392:11: note: add parentheses around left hand side expression to silence this warning 392 | if (!tty_getattr(self->tty_fd, &res->ios) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) mv -f .deps/tty.Tpo .deps/tty.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT unix_random.o -MD -MP -MF .deps/unix_random.Tpo -c -o unix_random.o unix_random.c mv -f .deps/unix_process.Tpo .deps/unix_process.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT unix_user.o -MD -MP -MF .deps/unix_user.Tpo -c -o unix_user.o unix_user.c mv -f .deps/unix_interact.Tpo .deps/unix_interact.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT userauth.o -MD -MP -MF .deps/userauth.Tpo -c -o userauth.o userauth.c unix_user.c: In function 'do_verify_password': unix_user.c:255:11: warning: pointer targets in assignment from 'const char *' to 'const uint8_t *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 255 | cpasswd = lsh_get_cstring(password); | ^ 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] 281 | 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] 286 | if (strcmp(crypt(cpasswd, salt), | ^~~~~~~ | | | const uint8_t * {aka const unsigned char *} In file included from unix_user.c:48: /usr/include/crypt.h:45:20: note: expected 'const char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} 45 | extern char *crypt(const char *, const char *); | ^~~~~~~~~~~~ mv -f .deps/unix_random.Tpo .deps/unix_random.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT werror.o -MD -MP -MF .deps/werror.Tpo -c -o werror.o werror.c mv -f .deps/userauth.Tpo .deps/userauth.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT write_buffer.o -MD -MP -MF .deps/write_buffer.Tpo -c -o write_buffer.o write_buffer.c werror.c: In function 'werror_cstring': werror.c:294:51: warning: pointer targets in passing argument 2 of 'werror_write' differ in signedness [-Wpointer-sign] 294 | werror_cstring(char *s) { werror_write(strlen(s), s); } | ^ | | | char * werror.c:275:46: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 275 | werror_write(uint32_t length, const uint8_t *msg) | ~~~~~~~~~~~~~~~^~~ werror.c: In function 'werror_vformat': werror.c:428:42: warning: pointer targets in passing argument 2 of 'werror_write' differ in signedness [-Wpointer-sign] 428 | werror_write(strlen(program_name), program_name); | ^~~~~~~~~~~~ | | | const char * werror.c:275:46: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 275 | werror_write(uint32_t length, const uint8_t *msg) | ~~~~~~~~~~~~~~~^~~ werror.c:429:23: warning: pointer targets in passing argument 2 of 'werror_write' differ in signedness [-Wpointer-sign] 429 | werror_write(2, ": "); | ^~~~ | | | char * werror.c:275:46: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 275 | werror_write(uint32_t length, const uint8_t *msg) | ~~~~~~~~~~~~~~~^~~ werror.c:481:35: warning: pointer targets in passing argument 2 of 'werror_write' differ in signedness [-Wpointer-sign] 481 | werror_write(9, ""); | ^~~~~~~~~~~ | | | char * werror.c:275:46: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 275 | werror_write(uint32_t length, const uint8_t *msg) | ~~~~~~~~~~~~~~~^~~ werror.c:576:44: warning: pointer targets in passing argument 2 of 'werror_write' differ in signedness [-Wpointer-sign] 576 | werror_write(strlen(type), type); | ^~~~ | | | const char * werror.c:275:46: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 275 | werror_write(uint32_t length, const uint8_t *msg) | ~~~~~~~~~~~~~~~^~~ werror.c:585:45: warning: pointer targets in passing argument 2 of 'werror_hexdump' differ in signedness [-Wpointer-sign] 585 | werror_hexdump(strlen(s), s); | ^ | | | char * werror.c:360:48: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 360 | werror_hexdump(uint32_t length, const uint8_t *data) | ~~~~~~~~~~~~~~~^~~~ werror.c:591:43: warning: pointer targets in passing argument 2 of 'werror_write' differ in signedness [-Wpointer-sign] 591 | werror_write(strlen(s), s); | ^ | | | char * werror.c:275:46: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 275 | werror_write(uint32_t length, const uint8_t *msg) | ~~~~~~~~~~~~~~~^~~ werror.c: In function 'werror_progress': werror.c:648:36: warning: pointer targets in passing argument 2 of 'werror_write' differ in signedness [-Wpointer-sign] 648 | werror_write(strlen(string), string); | ^~~~~~ | | | const char * werror.c:275:46: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 275 | werror_write(uint32_t length, const uint8_t *msg) | ~~~~~~~~~~~~~~~^~~ werror.c: At top level: werror.c:617:1: warning: 'werror_format' defined but not used [-Wunused-function] 617 | werror_format(const char *format, ...) | ^~~~~~~~~~~~~ mv -f .deps/write_buffer.Tpo .deps/write_buffer.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT write_packet.o -MD -MP -MF .deps/write_packet.Tpo -c -o write_packet.o write_packet.c mv -f .deps/unix_user.Tpo .deps/unix_user.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT xalloc.o -MD -MP -MF .deps/xalloc.Tpo -c -o xalloc.o xalloc.c mv -f .deps/write_packet.Tpo .deps/write_packet.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT xauth.o -MD -MP -MF .deps/xauth.Tpo -c -o xauth.o xauth.c mv -f .deps/xalloc.Tpo .deps/xalloc.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT zlib.o -MD -MP -MF .deps/zlib.Tpo -c -o zlib.o zlib.c mv -f .deps/xauth.Tpo .deps/xauth.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh.o -MD -MP -MF .deps/lsh.Tpo -c -o lsh.o lsh.c mv -f .deps/werror.Tpo .deps/werror.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lshg.o -MD -MP -MF .deps/lshg.Tpo -c -o lshg.o lshg.c mv -f .deps/zlib.Tpo .deps/zlib.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dummy.o -MD -MP -MF .deps/dummy.Tpo -c -o dummy.o dummy.c dummy.c:150:29: warning: argument 1 of type 'const __mpz_struct[1]' with mismatched bound [-Warray-parameter=] 150 | mpz_sizeinbase (const mpz_t x UNUSED, int base UNUSED) In file included from nettle/bignum.h:31, from dummy.c:34: /tmp/work/security/lsh/work/.buildlink/include/gmp.h:1054:39: note: previously declared as 'mpz_srcptr' {aka 'const __mpz_struct *'} 1054 | __GMP_DECLSPEC size_t mpz_sizeinbase (mpz_srcptr, int) __GMP_NOTHROW __GMP_ATTRIBUTE_PURE; | ^~~~~~~~~~ dummy.c:154:59: warning: argument 3 of type 'const __mpz_struct[1]' with mismatched bound [-Warray-parameter=] 154 | mpz_get_str (char *s UNUSED, int base UNUSED, const mpz_t x UNUSED) /tmp/work/security/lsh/work/.buildlink/include/gmp.h:837:48: note: previously declared as 'mpz_srcptr' {aka 'const __mpz_struct *'} 837 | __GMP_DECLSPEC char *mpz_get_str (char *, int, mpz_srcptr); | ^~~~~~~~~~ mv -f .deps/lshg.Tpo .deps/lshg.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-keygen.o -MD -MP -MF .deps/lsh-keygen.Tpo -c -o lsh-keygen.o lsh-keygen.c mv -f .deps/dummy.Tpo .deps/dummy.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-writekey.o -MD -MP -MF .deps/lsh-writekey.Tpo -c -o lsh-writekey.o lsh-writekey.c mv -f .deps/lsh-keygen.Tpo .deps/lsh-keygen.Po mv -f .deps/lsh.Tpo .deps/lsh.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-decrypt-key.o -MD -MP -MF .deps/lsh-decrypt-key.Tpo -c -o lsh-decrypt-key.o lsh-decrypt-key.c gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-decode-key.o -MD -MP -MF .deps/lsh-decode-key.Tpo -c -o lsh-decode-key.o lsh-decode-key.c mv -f .deps/lsh-writekey.Tpo .deps/lsh-writekey.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-export-key.o -MD -MP -MF .deps/lsh-export-key.Tpo -c -o lsh-export-key.o lsh-export-key.c mv -f .deps/lsh-decrypt-key.Tpo .deps/lsh-decrypt-key.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-make-seed.o -MD -MP -MF .deps/lsh-make-seed.Tpo -c -o lsh-make-seed.o lsh-make-seed.c mv -f .deps/lsh-decode-key.Tpo .deps/lsh-decode-key.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT srp-gen.o -MD -MP -MF .deps/srp-gen.Tpo -c -o srp-gen.o srp-gen.c lsh-export-key.c: In function 'sexp_to_ssh2_key': lsh-export-key.c:169:41: warning: pointer targets in passing argument 2 of 'nettle_sexp_iterator_check_type' differ in signedness [-Wpointer-sign] 169 | && sexp_iterator_check_type(&i, "public-key"))) | ^~~~~~~~~~~~ | | | char * In file included from lsh-export-key.c:50: nettle/sexp.h:122:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 122 | const uint8_t *type); | ~~~~~~~~~~~~~~~^~~~ lsh-make-seed.c: In function 'get_dev_random': lsh-make-seed.c:312:51: warning: pointer targets in passing argument 5 of 'nettle_yarrow256_update' differ in signedness [-Wpointer-sign] 312 | yarrow256_update(ctx, source, res * 4, res, buffer); | ^~~~~~ | | | char * In file included from lsh-make-seed.c:82: nettle/yarrow.h:90:50: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 90 | unsigned length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ lsh-make-seed.c: In function 'get_dev_mem': lsh-make-seed.c:363:35: warning: unused parameter 'ctx' [-Wunused-parameter] 363 | get_dev_mem(struct yarrow256_ctx *ctx, enum source_type source) | ~~~~~~~~~~~~~~~~~~~~~~^~~ lsh-make-seed.c:363:57: warning: unused parameter 'source' [-Wunused-parameter] 363 | get_dev_mem(struct yarrow256_ctx *ctx, enum source_type source) | ~~~~~~~~~~~~~~~~~^~~~~~ lsh-make-seed.c: In function 'get_system': lsh-make-seed.c:1037:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1037 | if (res > linux_proc_sources[i].limit) | ^ mv -f .deps/lsh-export-key.Tpo .deps/lsh-export-key.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lshd.o -MD -MP -MF .deps/lshd.Tpo -c -o lshd.o lshd.c mv -f .deps/srp-gen.Tpo .deps/srp-gen.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT lsh-execuv.o -MD -MP -MF .deps/lsh-execuv.Tpo -c -o lsh-execuv.o lsh-execuv.c mv -f .deps/lsh-execuv.Tpo .deps/lsh-execuv.Po rm -f liblsh.a ar cru liblsh.a abstract_io.o abstract_crypto.o algorithms.o alist.o atoms.o channel.o channel_commands.o channel_forward.o charset.o client.o client_escape.o client_keyexchange.o client_pty.o client_session.o client_userauth.o client_x11.o combinators.o command.o compress.o parse_config.o connection.o connection_commands.o crypto.o daemon.o debug.o dh_exchange.o dsa.o exception.o format.o gc.o gateway.o gateway_channel.o gateway_commands.o handshake.o interact.o io.o io_commands.o keyexchange.o list.o lookup_verifier.o lock_file.o lsh_string.o parse.o pkcs5.o publickey_crypto.o queue.o randomness.o read_data.o read_file.o read_line.o read_packet.o reaper.o resource.o rsa.o server.o server_authorization.o server_keyexchange.o server_password.o server_publickey.o server_pty.o server_session.o server_userauth.o server_x11.o sexp.o socks.o spki.o srp_exchange.o string_buffer.o suspend.o tcpforward.o tcpforward_commands.o translate_signal.o tty.o unix_interact.o unix_process.o unix_random.o unix_user.o userauth.o werror.o write_buffer.o write_packet.o xalloc.o xauth.o zlib.o lshd.c: In function 'main_argp_parser': lshd.c:699:17: warning: 'host' may be used uninitialized [-Wmaybe-uninitialized] 699 | : io_resolv_address(host, "ssh", 22, &self->local))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lshd.c:687:21: note: 'host' was declared here 687 | const char *host; | ^~~~ ranlib liblsh.a mv -f .deps/lsh-make-seed.Tpo .deps/lsh-make-seed.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lsh-execuv lsh-execuv.o -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lsh lsh.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lshg lshg.o dummy.o liblsh.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp mv -f .deps/lshd.Tpo .deps/lshd.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lsh-keygen lsh-keygen.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lsh-writekey lsh-writekey.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lsh-decrypt-key lsh-decrypt-key.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lsh-decode-key lsh-decode-key.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lsh-export-key lsh-export-key.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lsh-make-seed lsh-make-seed.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o srp-gen srp-gen.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lshd lshd.o liblsh.a spki/libspki.a nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gmake[4]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src' Making all in testsuite gmake[4]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite' gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arcfour-test.o -MD -MP -MF .deps/arcfour-test.Tpo -c -o arcfour-test.o arcfour-test.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT testutils.o -MD -MP -MF .deps/testutils.Tpo -c -o testutils.o testutils.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-test.o -MD -MP -MF .deps/aes-test.Tpo -c -o aes-test.o aes-test.c In file included from arcfour-test.c:1: arcfour-test.c: In function 'test_main': arcfour-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 7 | H("01234567 89ABCDEF 00000000 00000000"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ arcfour-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 8 | H("01234567 89ABCDEF"), | ^~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ arcfour-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 9 | H("69723659 1B5242B1"), | ^~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ In file included from aes-test.c:1: aes-test.c: In function 'test_main': aes-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 9 | H("603deb1015ca71be2b73aef0857d7781" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ aes-test.c:11:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 11 | H("6bc1bee22e409f96e93d7e117393172a" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ aes-test.c:15:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 15 | H("f58c4c04d6e5f1ba779eabfb5f7bfbd6" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ aes-test.c:19:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 19 | H("000102030405060708090a0b0c0d0e0f")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ testutils.c: In function 'decode_hex': testutils.c:62:39: warning: pointer targets in passing argument 1 of 'decode_hex_length' differ in signedness [-Wpointer-sign] 62 | uint32_t length = decode_hex_length(hex); | ^~~ | | | const unsigned char * testutils.c:39:31: note: expected 'const char *' but argument is of type 'const unsigned char *' 39 | decode_hex_length(const char *h) | ~~~~~~~~~~~~^ mv -f .deps/arcfour-test.Tpo .deps/arcfour-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT blowfish-test.o -MD -MP -MF .deps/blowfish-test.Tpo -c -o blowfish-test.o blowfish-test.c mv -f .deps/aes-test.Tpo .deps/aes-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT cast128-test.o -MD -MP -MF .deps/cast128-test.Tpo -c -o cast128-test.o cast128-test.c In file included from blowfish-test.c:1: blowfish-test.c: In function 'test_main': blowfish-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 7 | H("0123456789ABCDEF FEDCBA9876543210"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ blowfish-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 8 | H("0000000000000000 1111111111111111"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ blowfish-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 9 | H("f0fb0320a19f306d ff5880191e616c10"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ blowfish-test.c:10:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 10 | H("0011223344556677")); | ^~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ In file included from 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] 7 | H("0123456789ABCDEF FEDCBA9876543210"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ cast128-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 8 | H("0000000000000000 1111111111111111"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ cast128-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 9 | H("9a1bf354bca596ad f7b2a2ce5f09a8b2"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ cast128-test.c:10:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 10 | H("0011223344556677")); | ^~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ mv -f .deps/blowfish-test.Tpo .deps/blowfish-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT des-test.o -MD -MP -MF .deps/des-test.Tpo -c -o des-test.o des-test.c mv -f .deps/testutils.Tpo .deps/testutils.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT serpent-test.o -MD -MP -MF .deps/serpent-test.Tpo -c -o serpent-test.o serpent-test.c mv -f .deps/cast128-test.Tpo .deps/cast128-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT twofish-test.o -MD -MP -MF .deps/twofish-test.Tpo -c -o twofish-test.o twofish-test.c In file included from serpent-test.c:1: serpent-test.c: In function 'test_main': serpent-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 7 | H("0123456789ABCDEF FEDCBA9876543210" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ serpent-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 9 | H("0000000000000000 0000000000000000" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ serpent-test.c:11:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 11 | H("687a151886b6dc16 8d2b667c3b8d5226" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ serpent-test.c:13:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 13 | H("0011223344556677 8899AABBCCDDEEFF")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ In file included from des-test.c:1: des-test.c: In function 'test_main': des-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 7 | H("0123456789ABCDEF 1313131313131313 3232323232323232"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ des-test.c:8:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 8 | H("0011223344556677 8899AABBCCDDEEFF"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ des-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 9 | H("C4DB96109B6186B2 5F9AA359160909D9"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ des-test.c:10:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 10 | H("0001020304050607")); | ^~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ In file included from twofish-test.c:1: twofish-test.c: In function 'test_main': twofish-test.c:7:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 7 | H("0123456789ABCDEF FEDCBA9876543210" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ twofish-test.c:9:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 9 | H("0000000000000000 0000000000000000" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ twofish-test.c:11:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 11 | H("7c9cde6d86b1d9f2 9fceb6830c451281" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ twofish-test.c:13:17: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 13 | H("0011223344556677 8899AABBCCDDEEFF")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ mv -f .deps/serpent-test.Tpo .deps/serpent-test.Po mv -f .deps/des-test.Tpo .deps/des-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT md5-test.o -MD -MP -MF .deps/md5-test.Tpo -c -o md5-test.o md5-test.c gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sha1-test.o -MD -MP -MF .deps/sha1-test.Tpo -c -o sha1-test.o sha1-test.c mv -f .deps/twofish-test.Tpo .deps/twofish-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-test.o -MD -MP -MF .deps/rsa-test.Tpo -c -o rsa-test.o rsa-test.c In file included from md5-test.c:1: md5-test.c: In function 'test_main': md5-test.c:12:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 12 | H("D41D8CD98F00B204 E9800998ECF8427E")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:16:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 16 | H("0CC175B9C0F1B6A8 31C399E269772661")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:20:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 20 | H("900150983cd24fb0 D6963F7D28E17F72")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:24:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 24 | H("F96B697D7CB7938D 525A2F31AAF161D0")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:28:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 28 | H("C3FCD3D76192E400 7DFB496CCA67E13B")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:32:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 32 | H("D174AB98D277D9F5 A5611C2C9F419D9F")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:37:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 37 | H("57EDF4A22BE3C955 AC49DA2E2107B67A")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:41:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 41 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:43:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 43 | H("9294727A3638BB1C 13F48EF8158BFC9D")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:48:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 48 | H("750C783E6AB0B503 EAA86E310A5DB738")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:51:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 51 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:52:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 52 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:56:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 56 | H("56BE34521D144C88 DBB8C733F0E8B3F6")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:59:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 59 | H("0102030405060708 090A0B0C0D0E0F10 1112131415161718 19"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:60:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 60 | H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:64:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 64 | H("697EAF0ACA3A3AEA 3A75164746FFAA79")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:67:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 67 | H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:69:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 69 | H("56461EF2342EDC00 F9BAB995690EFD4C")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ In file included from sha1-test.c:1: sha1-test.c: In function 'test_main': md5-test.c:72:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 72 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:11:15: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 11 | H("A9993E364706816A BA3E25717850C26C 9CD0D89D")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:78:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 78 | H("6b1ab7fe4bd7bf8f0b62e6ce61b9d0cd")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:16:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 16 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:81:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 81 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:18:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 18 | H("675B0B3A1B4DDF4E 124872DA6C2F632B FED957E9")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:21:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 21 | H("0b0b0b0b0b0b0b0b 0b0b0b0b0b0b0b0b 0b0b0b0b"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ md5-test.c:88:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 88 | H("6f630fad67cda0ee1fb1f562db3aa53e")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:23:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 23 | H("B617318655057264 E28BC0B6FB378C8E F146BE00")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:28:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 28 | H("EFFCDF6AE5EB2FA2 D27416D5F184DF9C 259A7C79")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:31:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 31 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:32:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 32 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:36:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 36 | H("D730594D167E35D5 956FD8003D0DB3D3 F46DC7BB")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:39:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 39 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA AAAAAAAA"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:40:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 40 | H("DDDDDDDDDDDDDDDD DDDDDDDDDDDDDDDD" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:44:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 44 | H("125D7342B9AC11CD 91A39AF48AA17B4F 63F175D3")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:47:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 47 | H("0102030405060708 090A0B0C0D0E0F10 1112131415161718 19"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:48:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 48 | H("CDCDCDCDCDCDCDCD CDCDCDCDCDCDCDCD" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:52:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 52 | H("4C9007F4026250C6 BC8414F9BF50C86C 2D7235DA")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:55:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 55 | H("0C0C0C0C0C0C0C0C 0C0C0C0C0C0C0C0C 0C0C0C0C"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:57:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 57 | H("4C1A03424B55E07F E7F27BE1D58BB932 4A9A5A04")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:60:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 60 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:66:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 66 | H("AA4AE5E15272D00E 95705637CE8A3B55 ED402112")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:69:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 69 | H("AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ sha1-test.c:76:14: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 76 | H("E8E99D0F45237D78 6D6BBAA7965C7808 BBFF1A91")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ mv -f .deps/rsa-test.Tpo .deps/rsa-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa-test.o -MD -MP -MF .deps/dsa-test.Tpo -c -o dsa-test.o dsa-test.c mv -f .deps/md5-test.Tpo .deps/md5-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT spki-tag-test.o -MD -MP -MF .deps/spki-tag-test.Tpo -c -o spki-tag-test.o spki-tag-test.c mv -f .deps/sha1-test.Tpo .deps/sha1-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT string-test.o -MD -MP -MF .deps/string-test.Tpo -c -o string-test.o string-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] 14 | s = H("66006f"); | ^~~~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ string-test.c:17:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 17 | s = H("6600"); | ^~~~~~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ string-test.c:20:9: warning: pointer targets in passing argument 1 of 'decode_hex' differ in signedness [-Wpointer-sign] 20 | s = H(""); | ^~ | | | char * testutils.h:63:25: note: in definition of macro 'H' 63 | #define H(x) decode_hex(x) | ^ testutils.h:21:12: note: expected 'const unsigned char *' but argument is of type 'char *' 21 | decode_hex(const unsigned char *); | ^~~~~~~~~~~~~~~~~~~~~ mv -f .deps/dsa-test.Tpo .deps/dsa-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT parse-config-test.o -MD -MP -MF .deps/parse-config-test.Tpo -c -o parse-config-test.o parse-config-test.c mv -f .deps/spki-tag-test.Tpo .deps/spki-tag-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sockaddr2info-test.o -MD -MP -MF .deps/sockaddr2info-test.Tpo -c -o sockaddr2info-test.o sockaddr2info-test.c mv -f .deps/string-test.Tpo .deps/string-test.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/.. -I.. -I../nettle -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT utf8-test.o -MD -MP -MF .deps/utf8-test.Tpo -c -o utf8-test.o utf8-test.c parse-config-test.c: In function 'test_main': parse-config-test.c:100:48: warning: pointer targets in passing argument 2 of 'config_parse_string' differ in signedness [-Wpointer-sign] 100 | = config_parse_string(strlen(config_file), config_file); | ^~~~~~~~~~~ | | | const char * In file included from parse-config-test.c:3: /tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/../parse_config.h:36:53: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 36 | config_parse_string(uint32_t length, const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ 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] 19 | ASSERT(lsh_string_eq_l(info->ip, strlen(addr), addr)); | ^~~~ | | | const char * testutils.h:71:30: note: in definition of macro 'ASSERT' 71 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ In file included from testutils.h:17: /tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/../lsh_string.h:89:77: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 89 | lsh_string_eq_l(const struct lsh_string *a, uint32_t length, const uint8_t *b); | ~~~~~~~~~~~~~~~^ sockaddr2info-test.c: In function 'test_ip_v6': sockaddr2info-test.c:35:50: warning: pointer targets in passing argument 3 of 'lsh_string_eq_l' differ in signedness [-Wpointer-sign] 35 | ASSERT(lsh_string_eq_l(info->ip, strlen(addr), addr)); | ^~~~ | | | const char * testutils.h:71:30: note: in definition of macro 'ASSERT' 71 | #define ASSERT(x) do { if (!(x)) FAIL(); } while(0) | ^ /tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/../lsh_string.h:89:77: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 89 | lsh_string_eq_l(const struct lsh_string *a, uint32_t length, const uint8_t *b); | ~~~~~~~~~~~~~~~^ utf8-test.c: In function 'test_main': utf8-test.c:84:45: warning: pointer targets in passing argument 2 of 'low_utf8_to_local' differ in signedness [-Wpointer-sign] 84 | s = low_utf8_to_local(length, buffer, flags[j]); | ^~~~~~ | | | char * In file included from utf8-test.c:2: /tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite/../charset.h:62:70: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 62 | struct lsh_string *low_utf8_to_local(uint32_t length, const uint8_t *s, enum utf8_flag flags); | ~~~~~~~~~~~~~~~^ mv -f .deps/parse-config-test.Tpo .deps/parse-config-test.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o arcfour-test arcfour-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp mv -f .deps/sockaddr2info-test.Tpo .deps/sockaddr2info-test.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o aes-test aes-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp mv -f .deps/utf8-test.Tpo .deps/utf8-test.Po gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o blowfish-test blowfish-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o cast128-test cast128-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o des-test des-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o serpent-test serpent-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o twofish-test twofish-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o md5-test md5-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o sha1-test sha1-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o rsa-test rsa-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o dsa-test dsa-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o spki-tag-test spki-tag-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o string-test string-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o parse-config-test parse-config-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o sockaddr2info-test sockaddr2info-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o utf8-test utf8-test.o testutils.o ../liblsh.a ../spki/libspki.a ../nettle/libnettle.a -largp -lxnet -lcrypt -lsocket -lnsl -lz -loop -lgmp make check to build testprograms. gmake[4]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src/testsuite' gmake[3]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src' gmake[2]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/src' Making all in doc gmake[2]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/doc' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/doc' Making all in misc gmake[2]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/misc' true gmake[2]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/misc' Making all in contrib gmake[2]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4/contrib' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4/contrib' gmake[2]: Entering directory '/tmp/work/security/lsh/work/lsh-2.0.4' gmake[2]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4' gmake[1]: Leaving directory '/tmp/work/security/lsh/work/lsh-2.0.4'