+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lsh-2.0.4nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lsh-2.0.4nb2/work.log ===> Building for lsh-2.0.4nb2 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4' Making all in src gmake[2]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src' (echo '/* Automatically generated from environ.h.in, by make. */' ; \ sed -e 's,@''prefix@,/opt/pkg,' \ -e 's,@''bindir@,/opt/pkg/bin,' \ -e 's,@''sbindir@,/opt/pkg/sbin,' \ -e 's,@''libexecdir@,/opt/pkg/libexec,' \ -e 's,@''sysconfdir@,/opt/pkg/etc,' \ < /home/pbulk/build/security/lsh/work/lsh-2.0.4/src/environ.h.in) >environ.hT test -s environ.hT && mv -f environ.hT environ.h /opt/pkg/bin/gmake all-recursive gmake[3]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src' Making all in argp gmake[4]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' /opt/pkg/bin/gmake all-recursive gmake[5]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' Making all in . gmake[6]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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 gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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-ba.Tpo .deps/argp-ba.Po gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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-eexst.Tpo .deps/argp-eexst.Po gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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-fmtstream.Tpo .deps/argp-fmtstream.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 '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' Making all in testsuite gmake[6]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp/testsuite' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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/pkg/include -I/opt/pkg/include/ncurses -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -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/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -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/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o ex4 ex4.o ../libargp.a gmake[6]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp/testsuite' gmake[5]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' gmake[4]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/argp' Making all in rsync gmake[4]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync' gcc -DHAVE_CONFIG_H -I. -I../.. -I/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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 gcc -DHAVE_CONFIG_H -I. -I../.. -I/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync/.. -I../nettle -I/opt/pkg/include -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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 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 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 '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/rsync' Making all in nettle gmake[4]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle' /opt/pkg/bin/gmake all-here gmake[5]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle' gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aesdata.o -MD -MP -MF aesdata.o.d -c aesdata.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT desdata.o -MD -MP -MF desdata.o.d -c desdata.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT shadata.o -MD -MP -MF shadata.o.d -c shadata.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-decrypt-internal.o -MD -MP -MF aes-decrypt-internal.o.d -c aes-decrypt-internal.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-decrypt.o -MD -MP -MF aes-decrypt.o.d -c aes-decrypt.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-encrypt-internal.o -MD -MP -MF aes-encrypt-internal.o.d -c aes-encrypt-internal.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-encrypt.o -MD -MP -MF aes-encrypt.o.d -c aes-encrypt.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-encrypt-table.o -MD -MP -MF aes-encrypt-table.o.d -c aes-encrypt-table.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-set-encrypt-key.o -MD -MP -MF aes-set-encrypt-key.o.d -c aes-set-encrypt-key.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-set-decrypt-key.o -MD -MP -MF aes-set-decrypt-key.o.d -c aes-set-decrypt-key.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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-meta.o -MD -MP -MF aes-meta.o.d -c aes-meta.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arcfour.o -MD -MP -MF arcfour.o.d -c arcfour.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arcfour-crypt.o -MD -MP -MF arcfour-crypt.o.d -c arcfour-crypt.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arcfour-meta.o -MD -MP -MF arcfour-meta.o.d -c arcfour-meta.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arctwo.o -MD -MP -MF arctwo.o.d -c arctwo.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arctwo-meta.o -MD -MP -MF arctwo-meta.o.d -c arctwo-meta.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT base16-encode.o -MD -MP -MF base16-encode.o.d -c base16-encode.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT base16-decode.o -MD -MP -MF base16-decode.o.d -c base16-decode.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT base16-meta.o -MD -MP -MF base16-meta.o.d -c base16-meta.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 *); | ^~~~~~~~~~~~ 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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp-transport.o -MD -MP -MF sexp-transport.o.d -c sexp-transport.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp-transport-format.o -MD -MP -MF sexp-transport-format.o.d -c sexp-transport-format.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT bignum.o -MD -MP -MF bignum.o.d -c bignum.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT bignum-random.o -MD -MP -MF bignum-random.o.d -c bignum-random.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp2bignum.o -MD -MP -MF sexp2bignum.o.d -c sexp2bignum.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pkcs1.o -MD -MP -MF pkcs1.o.d -c pkcs1.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pkcs1-rsa-md5.o -MD -MP -MF pkcs1-rsa-md5.o.d -c pkcs1-rsa-md5.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pkcs1-rsa-sha1.o -MD -MP -MF pkcs1-rsa-sha1.o.d -c pkcs1-rsa-sha1.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa.o -MD -MP -MF rsa.o.d -c rsa.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-sign.o -MD -MP -MF rsa-sign.o.d -c rsa-sign.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-verify.o -MD -MP -MF rsa-verify.o.d -c rsa-verify.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-md5-sign.o -MD -MP -MF rsa-md5-sign.o.d -c rsa-md5-sign.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-md5-verify.o -MD -MP -MF rsa-md5-verify.o.d -c rsa-md5-verify.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-sha1-sign.o -MD -MP -MF rsa-sha1-sign.o.d -c rsa-sha1-sign.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-sha1-verify.o -MD -MP -MF rsa-sha1-verify.o.d -c rsa-sha1-verify.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-encrypt.o -MD -MP -MF rsa-encrypt.o.d -c rsa-encrypt.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-decrypt.o -MD -MP -MF rsa-decrypt.o.d -c rsa-decrypt.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-keygen.o -MD -MP -MF rsa-keygen.o.d -c rsa-keygen.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-compat.o -MD -MP -MF rsa-compat.o.d -c rsa-compat.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa2sexp.o -MD -MP -MF rsa2sexp.o.d -c rsa2sexp.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp2rsa.o -MD -MP -MF sexp2rsa.o.d -c sexp2rsa.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa.o -MD -MP -MF dsa.o.d -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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa-sign.o -MD -MP -MF dsa-sign.o.d -c dsa-sign.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa-verify.o -MD -MP -MF dsa-verify.o.d -c dsa-verify.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa-keygen.o -MD -MP -MF dsa-keygen.o.d -c dsa-keygen.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp2dsa.o -MD -MP -MF sexp2dsa.o.d -c sexp2dsa.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pgp-encode.o -MD -MP -MF pgp-encode.o.d -c pgp-encode.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; | ^ 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]') gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa2openpgp.o -MD -MP -MF rsa2openpgp.o.d -c rsa2openpgp.c \ && true 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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT der-iterator.o -MD -MP -MF der-iterator.o.d -c der-iterator.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT der2rsa.o -MD -MP -MF der2rsa.o.d -c der2rsa.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT buffer.o -MD -MP -MF buffer.o.d -c buffer.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT buffer-init.o -MD -MP -MF buffer-init.o.d -c buffer-init.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT realloc.o -MD -MP -MF realloc.o.d -c realloc.c \ && true gcc -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT nettle-internal.o -MD -MP -MF nettle-internal.o.d -c nettle-internal.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 -I. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT memxor.o -MD -MP -MF memxor.o.d -c memxor.c \ && true gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib aesdata.o -lgmp -o aesdata gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib desdata.o -lgmp -o desdata gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L/opt/pkg/lib -Wl,-R/opt/pkg/lib 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 '/home/pbulk/build/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/pkg/bin/gmake all); done Making all in tools gmake[5]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/tools' gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp-conv.o -MD -MP -MF sexp-conv.o.d -c sexp-conv.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT input.o -MD -MP -MF input.o.d -c input.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT output.o -MD -MP -MF output.o.d -c output.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT parse.o -MD -MP -MF parse.o.d -c parse.c && true 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 (); | ^~~~~~ 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) | ~~~~~~~~~~~~~~~^~~~ 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: | ^~~~ 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: | ^~~~~~~ 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: | ^~~~ gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT getopt.o -MD -MP -MF getopt.o.d -c getopt.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT getopt1.o -MD -MP -MF getopt1.o.d -c getopt1.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT misc.o -MD -MP -MF misc.o.d -c misc.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; | ^~~~ 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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT nettle-lfib-stream.o -MD -MP -MF nettle-lfib-stream.o.d -c nettle-lfib-stream.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pkcs1-conv.o -MD -MP -MF pkcs1-conv.o.d -c pkcs1-conv.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); | ~~~~~~~~~^~~ 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/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib nettle-lfib-stream.o -lnettle -lgmp -o nettle-lfib-stream gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib 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/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib pkcs1-conv.o getopt.o getopt1.o misc.o -lnettle -lgmp -o pkcs1-conv gmake[5]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/tools' Making all in testsuite gmake[5]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/testsuite' gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT aes-test.o -MD -MP -MF aes-test.o.d -c aes-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT testutils.o -MD -MP -MF testutils.o.d -c testutils.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arcfour-test.o -MD -MP -MF arcfour-test.o.d -c arcfour-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT arctwo-test.o -MD -MP -MF arctwo-test.o.d -c arctwo-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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT blowfish-test.o -MD -MP -MF blowfish-test.o.d -c blowfish-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT cast128-test.o -MD -MP -MF cast128-test.o.d -c cast128-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT base16-test.o -MD -MP -MF base16-test.o.d -c base16-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, | ~~~~~~~~~~~~~~~^~~~~~~~~ base16-test.c: In function 'test_main': 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 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, | ~~~~~~~~~~~~~~~^~~~ 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); | ~~~~~~~~~~~~~~~^~~~~ 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 * 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 * 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 * 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 * 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, | ~~~~~~~~~~~~~~~^~~~ 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); | ~~~~~~~~~~~~~~~^~~~~ 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 * 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 * 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, | ~~~~~~~~~~~~~~~^~~~ 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: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, | ~~~~~~~~~~~~~~~^~~~ 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); | ~~~~~~~~~~~~~~~^~~~~ gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT base64-test.o -MD -MP -MF base64-test.o.d -c base64-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT des-test.o -MD -MP -MF des-test.o.d -c des-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT des3-test.o -MD -MP -MF des3-test.o.d -c des3-test.c && true base64-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 * 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, | ~~~~~~~~~~~~~~~^~~~ 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 * 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: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, | ~~~~~~~~~~~~~~~^~~~ 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); | ~~~~~~~~~~~~~~~^~~~~ 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, | ~~~~~~~~~~~~~~~^~~~ 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); | ~~~~~~~~~~~~~~~^~~~~ 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, | ~~~~~~~~~~~~~~~^~~~ 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); | ~~~~~~~~~~~~~~~^~~~~ 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, | ~~~~~~~~~~~~~~~^~~~ 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); | ~~~~~~~~~~~~~~~^~~~~ 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 * 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: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); | ~~~~~~~~~~~~~~~^~~~~ 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, | ~~~~~~~~~~~~~~~^~~~ 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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT md2-test.o -MD -MP -MF md2-test.o.d -c md2-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT md4-test.o -MD -MP -MF md4-test.o.d -c md4-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT md5-test.o -MD -MP -MF md5-test.o.d -c md5-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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT md5-compat-test.o -MD -MP -MF md5-compat-test.o.d -c md5-compat-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, | ~~~~~~~~~~~~~~~^~~~ gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sha1-test.o -MD -MP -MF sha1-test.o.d -c sha1-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sha256-test.o -MD -MP -MF sha256-test.o.d -c sha256-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT serpent-test.o -MD -MP -MF serpent-test.o.d -c serpent-test.c && true 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, | ~~~~~~~~~~~~~~~^~~~ 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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT twofish-test.o -MD -MP -MF twofish-test.o.d -c twofish-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT buffer-test.o -MD -MP -MF buffer-test.o.d -c buffer-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp-test.o -MD -MP -MF sexp-test.o.d -c sexp-test.c && true 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); | ~~~~~~~~~~~~~~~^~~~~ gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp-format-test.o -MD -MP -MF sexp-format-test.o.d -c sexp-format-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa2sexp-test.o -MD -MP -MF rsa2sexp-test.o.d -c rsa2sexp-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); | ~~~~~~~~~~~~~~~^~~~ gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sexp2rsa-test.o -MD -MP -MF sexp2rsa-test.o.d -c sexp2rsa-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT knuth-lfib-test.o -MD -MP -MF knuth-lfib-test.o.d -c knuth-lfib-test.c && true 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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT cbc-test.o -MD -MP -MF cbc-test.o.d -c cbc-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT ctr-test.o -MD -MP -MF ctr-test.o.d -c ctr-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT hmac-test.o -MD -MP -MF hmac-test.o.d -c hmac-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -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); | ~~~~~~~~~~~~~~~^~~~ 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); | ~~~~~~~~~~~~~~~^~~~ gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT pkcs1-test.o -MD -MP -MF pkcs1-test.o.d -c pkcs1-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-test.o -MD -MP -MF rsa-test.o.d -c rsa-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-encrypt-test.o -MD -MP -MF rsa-encrypt-test.o.d -c rsa-encrypt-test.c && true 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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-keygen-test.o -MD -MP -MF rsa-keygen-test.o.d -c rsa-keygen-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa-test.o -MD -MP -MF dsa-test.o.d -c dsa-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT dsa-keygen-test.o -MD -MP -MF dsa-keygen-test.o.d -c dsa-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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT yarrow-test.o -MD -MP -MF yarrow-test.o.d -c yarrow-test.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT sha1-huge-test.o -MD -MP -MF sha1-huge-test.o.d -c sha1-huge-test.c && true gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib aes-test.o testutils.o -lnettle -lgmp -o aes-test 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/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib arcfour-test.o testutils.o -lnettle -lgmp -o arcfour-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib arctwo-test.o testutils.o -lnettle -lgmp -o arctwo-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib blowfish-test.o testutils.o -lnettle -lgmp -o blowfish-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib cast128-test.o testutils.o -lnettle -lgmp -o cast128-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib base16-test.o testutils.o -lnettle -lgmp -o base16-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib base64-test.o testutils.o -lnettle -lgmp -o base64-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib des-test.o testutils.o -lnettle -lgmp -o des-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib des3-test.o testutils.o -lnettle -lgmp -o des3-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib des-compat-test.o testutils.o -lnettle -lgmp -o des-compat-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib md2-test.o testutils.o -lnettle -lgmp -o md2-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib md4-test.o testutils.o -lnettle -lgmp -o md4-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib md5-test.o testutils.o -lnettle -lgmp -o md5-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib md5-compat-test.o testutils.o -lnettle -lgmp -o md5-compat-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib sha1-test.o testutils.o -lnettle -lgmp -o sha1-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib sha256-test.o testutils.o -lnettle -lgmp -o sha256-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib serpent-test.o testutils.o -lnettle -lgmp -o serpent-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib twofish-test.o testutils.o -lnettle -lgmp -o twofish-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib buffer-test.o testutils.o -lnettle -lgmp -o buffer-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib sexp-test.o testutils.o -lnettle -lgmp -o sexp-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib sexp-format-test.o testutils.o -lnettle -lgmp -o sexp-format-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib rsa2sexp-test.o testutils.o -lnettle -lgmp -o rsa2sexp-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib sexp2rsa-test.o testutils.o -lnettle -lgmp -o sexp2rsa-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib knuth-lfib-test.o testutils.o -lnettle -lgmp -o knuth-lfib-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib cbc-test.o testutils.o -lnettle -lgmp -o cbc-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib ctr-test.o testutils.o -lnettle -lgmp -o ctr-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib hmac-test.o testutils.o -lnettle -lgmp -o hmac-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib bignum-test.o testutils.o -lnettle -lgmp -o bignum-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib pkcs1-test.o testutils.o -lnettle -lgmp -o pkcs1-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib rsa-test.o testutils.o -lnettle -lgmp -o rsa-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib rsa-encrypt-test.o testutils.o -lnettle -lgmp -o rsa-encrypt-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib rsa-keygen-test.o testutils.o -lnettle -lgmp -o rsa-keygen-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib dsa-test.o testutils.o -lnettle -lgmp -o dsa-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib dsa-keygen-test.o testutils.o -lnettle -lgmp -o dsa-keygen-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib yarrow-test.o testutils.o -lnettle -lgmp -o yarrow-test gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib sha1-huge-test.o testutils.o -lnettle -lgmp -o sha1-huge-test gmake[5]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/testsuite' Making all in examples gmake[5]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/examples' gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT nettle-benchmark.o -MD -MP -MF nettle-benchmark.o.d -c nettle-benchmark.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT nettle-openssl.o -MD -MP -MF nettle-openssl.o.d -c nettle-openssl.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT getopt.o -MD -MP -MF getopt.o.d -c getopt.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT getopt1.o -MD -MP -MF getopt1.o.d -c getopt1.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; | ^~~~ 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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT io.o -MD -MP -MF io.o.d -c io.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 (); | ^~~~~~ gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-keygen.o -MD -MP -MF rsa-keygen.o.d -c rsa-keygen.c && true 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 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); | ~~~~~~~~~~~~^~~~~~ 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/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-sign.o -MD -MP -MF rsa-sign.o.d -c rsa-sign.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-verify.o -MD -MP -MF rsa-verify.o.d -c rsa-verify.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT rsa-encrypt.o -MD -MP -MF rsa-encrypt.o.d -c rsa-encrypt.c && true gcc -I.. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -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/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib nettle-benchmark.o nettle-openssl.o io.o getopt.o getopt1.o \ -lnettle -lgmp -o nettle-benchmark gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib rsa-keygen.o io.o getopt.o getopt1.o \ -lnettle -lgmp -o rsa-keygen 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); | ~~~~~~~~~~~~^~~~~~ 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); | ~~~~~~~~~~~~^~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib rsa-sign.o io.o \ -lnettle -lgmp -o rsa-sign gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib rsa-verify.o io.o \ -lnettle -lgmp -o rsa-verify gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib rsa-encrypt.o io.o getopt.o getopt1.o \ -lnettle -lgmp -o rsa-encrypt gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -L.. -L/opt/pkg/lib -Wl,-R/opt/pkg/lib rsa-decrypt.o io.o \ -lnettle -lgmp -o rsa-decrypt gmake[5]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle/examples' gmake[4]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/nettle' Making all in scm gmake[4]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/scm' gmake[4]: Nothing to be done for 'all'. gmake[4]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/scm' Making all in sftp gmake[4]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' /opt/pkg/bin/gmake all-recursive gmake[5]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' Making all in . gmake[6]: Entering directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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 gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DTRANSPORT_PROG='"/opt/pkg/bin/lshg"' -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -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 'com_lcd': commands.c:1868:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1868 | int ret; | ^~~ 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, | ~~~~~~~~~^~~~~~~~ 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; | ^ sftp_c.c: In function 'sftp_put_file_init': 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 * lsftp.c: In function 'lsftp_interactive_mainloop': 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 *} 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); | ~~~~~~~~~~~~^ 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 * /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, ...); | ^~~~~~~~~~~~ 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 */ | ^ In file included from rl.h:33, from lsftp.h:36, from lsftp.c:31: commands.h:58:41: note: expected 'const unsigned char *' but argument is of type 'char *' 58 | int handle_command(const unsigned char *s); | ~~~~~~~~~~~~~~~~~~~~~^ sftp_c.c:1239:29: warning: unused parameter 'fnamelen' [-Wunused-parameter] 1239 | uint32_t fnamelen, | ~~~~~~~~~^~~~~~~~ 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 * lsftp.c:78:11: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 78 | int retval; | ^~~~~~ 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) | ~~~~~~~~~~~~^~~ 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: error: 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: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); | ~~~~~~~~~~~~^ gmake[6]: *** [Makefile:372: lsftp.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... 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/rl.Tpo .deps/rl.Po 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/sftp_c.Tpo .deps/sftp_c.Po mv -f .deps/commands.Tpo .deps/commands.Po gmake[6]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' gmake[5]: *** [Makefile:482: all-recursive] Error 1 gmake[5]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' gmake[4]: *** [Makefile:227: all] Error 2 gmake[4]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src/sftp' gmake[3]: *** [Makefile:823: all-recursive] Error 1 gmake[3]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src' gmake[2]: *** [Makefile:550: all] Error 2 gmake[2]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4/src' gmake[1]: *** [Makefile:259: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/security/lsh/work/lsh-2.0.4' gmake: *** [Makefile:198: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/lsh *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/lsh