Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ssldump.spec'], chrootPath='/var/lib/mock/f33-build-488134-63926/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ssldump.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1610928000 Wrote: /builddir/build/SRPMS/ssldump-1.2-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ssldump.spec'], chrootPath='/var/lib/mock/f33-build-488134-63926/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ssldump.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1610928000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0pCSK9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ssldump-1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/ssldump-1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ssldump-1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + install -p -m 0644 /builddir/build/SOURCES/HOWTO . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DwvoH8 + umask 022 + cd /builddir/build/BUILD + cd ssldump-1.2 + ./autogen.sh autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:14: installing './compile' configure.ac:10: installing './config.guess' configure.ac:10: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-01-27 04:35:32.863501996 -0500 +++ ./configure 2021-01-27 04:36:04.253502073 -0500 @@ -1952,7 +1952,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for memory.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking for malloc... yes checking for realloc... yes checking for gethostbyaddr... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for isascii... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strstr... yes checking for strtol... yes checking for library containing pcap_create... -lpcap checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking pcap-bpf.h usability... yes checking pcap-bpf.h presence... yes checking for pcap-bpf.h... yes checking for library containing OPENSSL_init_ssl... -lssl checking for library containing CRYPTO_new_ex_data... -lcrypto checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating common/Makefile config.status: creating common/lib/Makefile config.status: creating null/Makefile config.status: creating ssl/Makefile config.status: creating base/Makefile config.status: creating config.h config.status: executing depfiles commands ################################################ SSLDump build setup Host system: linux-gnu Host architecture: riscv64 Compiler: gcc Installation prefix: /usr CFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 LDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld LIBS: -lcrypto -lssl -lpcap Optimizations enabled: yes Debug info enabled: no ASAN enabled: no ################################################ + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o base/ssldump-tcpconn.o `test -f 'base/tcpconn.c' || echo './'`base/tcpconn.c make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' base/tcpconn.c: In function 'destroy_all_conn': base/tcpconn.c:194:15: warning: unused variable 'r' [-Wunused-variable] 194 | int i = 0,r; | ^ base/tcpconn.c:193:18: warning: unused variable 'conn' [-Wunused-variable] 193 | conn_struct *conn; | ^~~~ base/tcpconn.c: In function 'copy_tcp_segment_queue': base/tcpconn.c:229:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 229 | if(r=packet_copy(in->p,&(*out)->p)) | ^ At top level: base/tcpconn.c:46:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 46 | static char *RCSSTRING="$Id: tcpconn.c,v 1.7 2002/08/17 01:33:16 ekr Exp $"; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o base/ssldump-tcppack.o `test -f 'base/tcppack.c' || echo './'`base/tcppack.c make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' base/tcppack.c: In function 'process_tcp_packet': base/tcppack.c:89:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 89 | if(r=tcp_find_conn(&conn,&direction,&p->ip->ip_src, | ^ base/tcppack.c:99:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 99 | if(r=new_connection(handler,ctx,p,&conn)) | ^ base/tcppack.c:155:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 155 | if(r=process_data_segment(conn,handler,p,stream,direction)) | ^ base/tcppack.c:150:10: warning: variable 'length' set but not used [-Wunused-but-set-variable] 150 | UINT4 length; | ^~~~~~ base/tcppack.c: In function 'new_connection': base/tcppack.c:183:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 183 | if(r=tcp_create_conn(&conn,&p->ip->ip_src,ntohs(p->tcp->th_sport), | ^ base/tcppack.c:191:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 191 | if(r=tcp_create_conn(&conn,&p->ip->ip_dst,ntohs(p->tcp->th_dport), | ^ base/tcppack.c:201:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 201 | if(r=create_proto_handler(handler,ctx,&conn->analyzer,conn,&p->ts)) | ^ base/tcppack.c: In function 'process_data_segment': base/tcppack.c:306:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 306 | if(r=packet_copy(p,&nseg->p)) | ^ base/tcppack.c:374:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 374 | if(r=conn->analyzer->vtbl->data(conn->analyzer->obj,&_seg,direction)) { | ^ base/tcppack.c:382:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 382 | if(r=conn->analyzer->vtbl->close(conn->analyzer->obj,p,direction)) { | ^ At top level: base/tcppack.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: tcppack.c,v 1.11 2002/09/09 21:02:58 ekr Exp $"; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o ssl/ssldump-sslprint.o `test -f 'ssl/sslprint.c' || echo './'`ssl/sslprint.c make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' ssl/sslprint.c: In function 'process_beginning_plaintext': ssl/sslprint.c:70:20: warning: unused variable 'dt' [-Wunused-variable] 70 | struct timeval dt; | ^~ ssl/sslprint.c:69:9: warning: unused variable 'r' [-Wunused-variable] 69 | int r; | ^ In file included from ssl/sslprint.c:53: ssl/sslprint.c: In function 'process_v2_hello': ssl/sslprint.c:128:52: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] 128 | SSL_DECODE_UINT16(ssl,"Version number",P_DC,&d,&ver); | ^~~~ | | | int * ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/sslprint.c:51: ssl/sslprint.h:58:33: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 58 | UINT4 print,Data *data,UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/sslprint.c:53: ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/sslprint.c:128:5: note: in expansion of macro 'SSL_DECODE_UINT16' 128 | SSL_DECODE_UINT16(ssl,"Version number",P_DC,&d,&ver); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.c:147:56: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] 147 | SSL_DECODE_UINT16(ssl,"cipher_spec_length",P_DC,&d,&cs_len); | ^~~~~~~ | | | int * ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/sslprint.c:51: ssl/sslprint.h:58:33: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 58 | UINT4 print,Data *data,UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/sslprint.c:53: ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/sslprint.c:147:5: note: in expansion of macro 'SSL_DECODE_UINT16' 147 | SSL_DECODE_UINT16(ssl,"cipher_spec_length",P_DC,&d,&cs_len); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.c:148:55: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] 148 | SSL_DECODE_UINT16(ssl,"session_id_length",P_DC,&d,&sid_len); | ^~~~~~~~ | | | int * ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/sslprint.c:51: ssl/sslprint.h:58:33: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 58 | UINT4 print,Data *data,UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/sslprint.c:53: ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/sslprint.c:148:5: note: in expansion of macro 'SSL_DECODE_UINT16' 148 | SSL_DECODE_UINT16(ssl,"session_id_length",P_DC,&d,&sid_len); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.c:149:54: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] 149 | SSL_DECODE_UINT16(ssl,"challenge_length",P_DC,&d,&chall_len); | ^~~~~~~~~~ | | | int * ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/sslprint.c:51: ssl/sslprint.h:58:33: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 58 | UINT4 print,Data *data,UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/sslprint.c:53: ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/sslprint.c:149:5: note: in expansion of macro 'SSL_DECODE_UINT16' 149 | SSL_DECODE_UINT16(ssl,"challenge_length",P_DC,&d,&chall_len); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.h:84:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ^ ssl/sslprint.c:163:7: note: in expansion of macro 'SSL_DECODE_UINT24' 163 | SSL_DECODE_UINT24(ssl,0,0,&d,&val); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.c:161:13: warning: unused variable 'str' [-Wunused-variable] 161 | char *str; | ^~~ In file included from ssl/sslprint.c:53: ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/sslprint.c:180:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 180 | SSL_DECODE_OPAQUE_ARRAY(ssl,0,chall_len, | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.c:189:40: warning: pointer targets in passing argument 2 of 'ssl_set_client_random' differ in signedness [-Wpointer-sign] 189 | ssl_set_client_random(ssl->decoder,random,32); | ^~~~~~ | | | char * In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/sslprint.c:51: ssl/ssldecode.h:58:10: note: expected 'UCHAR *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | UCHAR *msg,int len)); | ~~~~~~~^~~ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ ssl/sslprint.c:106:20: warning: unused variable 'dt' [-Wunused-variable] 106 | struct timeval dt; | ^~ In file included from ssl/sslprint.c:53: ssl/sslprint.c: In function 'ssl_expand_record': ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ssl/sslprint.c:245:5: note: in expansion of macro 'SSL_DECODE_UINT8' 245 | SSL_DECODE_UINT8(ssl,0,0,&d,&ct); | ^~~~~~~~~~~~~~~~ ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ssl/sslprint.c:246:5: note: in expansion of macro 'SSL_DECODE_UINT8' 246 | SSL_DECODE_UINT8(ssl,0,0,&d,&vermaj); | ^~~~~~~~~~~~~~~~ ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ssl/sslprint.c:247:5: note: in expansion of macro 'SSL_DECODE_UINT8' 247 | SSL_DECODE_UINT8(ssl,0,0,&d,&vermin); | ^~~~~~~~~~~~~~~~ ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/sslprint.c:248:5: note: in expansion of macro 'SSL_DECODE_UINT16' 248 | SSL_DECODE_UINT16(ssl,0,0,&d,&length); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.c:270:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 270 | if(r=ssl_print_enum(ssl,0,ContentType_decoder,ct)) { | ^ ssl/sslprint.c:277:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 277 | if(r=ssl_decode_switch(ssl,ContentType_decoder,data[0],direction,q, &d)) { | ^ ssl/sslprint.c: In function 'ssl_decode_opaque_array': ssl/sslprint.c:336:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 336 | if(r=ssl_decode_uintX(ssl,n,BYTES_NEEDED(size),P_DC,data,&len)) | ^ ssl/sslprint.c: In function 'ssl_decode_enum': ssl/sslprint.c:392:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 392 | if(r=ssl_decode_uintX(ssl,name,size,0,data,x)) | ^ ssl/sslprint.c:396:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 396 | if(r=ssl_print_enum(ssl,name,dtable,*x)) | ^ ssl/sslprint.c: In function 'combodump': ssl/sslprint.c:480:15: warning: pointer targets in initialization of 'char *' from 'UCHAR *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 480 | char *ptr=data->data; | ^~~~ ssl/sslprint.c: In function 'ssl_print_timestamp': ssl/sslprint.c:624:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 624 | if(r=timestamp_diff(ts,&ssl->time_start,&dt)) | ^ ssl/sslprint.c:629:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 629 | if(r=timestamp_diff(ts,&ssl->time_last,&dt)){ | ^ ssl/sslprint.c: In function 'ssl_print_cipher_suite': ssl/sslprint.c:668:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 668 | if(r=ssl_lookup_enum(ssl,cipher_suite_decoder,val,&str)){ | ^ At top level: ssl/sslprint.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: sslprint.c,v 1.8 2002/08/17 01:33:17 ekr Exp $"; | ^~~~~~~~~ ssl/sslprint.c: In function 'process_v2_hello': ssl/sslprint.c:312:7: warning: 'ver' may be used uninitialized in this function [-Wmaybe-uninitialized] 312 | explain(ssl,"%s = %d\n",name,*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.c:102:9: note: 'ver' was declared here 102 | int ver; | ^~~ ssl/sslprint.c:312:7: warning: 'cs_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 312 | explain(ssl,"%s = %d\n",name,*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.c:99:9: note: 'cs_len' was declared here 99 | int cs_len; | ^~~~~~ ssl/sslprint.c:312:7: warning: 'sid_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 312 | explain(ssl,"%s = %d\n",name,*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.c:100:9: note: 'sid_len' was declared here 100 | int sid_len; | ^~~~~~~ ssl/sslprint.c:312:7: warning: 'chall_len' may be used uninitialized in this function [-Wmaybe-uninitialized] 312 | explain(ssl,"%s = %d\n",name,*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.c:101:9: note: 'chall_len' was declared here 101 | int chall_len; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o ssl/ssldump-ciphersuites.o `test -f 'ssl/ciphersuites.c' || echo './'`ssl/ciphersuites.c make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' ssl/ciphersuites.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: ciphersuites.c,v 1.3 2002/08/17 01:33:17 ekr Exp $"; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o ssl/ssldump-sslxprint.o `test -f 'ssl/sslxprint.c' || echo './'`ssl/sslxprint.c make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' ssl/sslxprint.c: In function 'sslx_print_certificate': ssl/sslxprint.c:85:25: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type [-Wincompatible-pointer-types] 85 | if(!(x=d2i_X509(0,&d,data->len))){ | ^~ | | | UCHAR ** {aka unsigned char **} In file included from ssl/sslxprint.c:54: /usr/include/openssl/x509.h:552:1: note: expected 'const unsigned char **' but argument is of type 'UCHAR **' {aka 'unsigned char **'} 552 | DECLARE_ASN1_FUNCTIONS(X509) | ^~~~~~~~~~~~~~~~~~~~~~ ssl/sslxprint.c:118:27: warning: pointer targets in passing argument 1 of 'i2t_ASN1_OBJECT' differ in signedness [-Wpointer-sign] 118 | i2t_ASN1_OBJECT(buf,sizeof(buf),obj); | ^~~ | | | UCHAR * {aka unsigned char *} In file included from ssl/sslxprint.c:54: /usr/include/openssl/asn1.h:646:27: note: expected 'char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 646 | int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a); | ~~~~~~^~~ ssl/sslxprint.c: In function 'sslx_print_dn': ssl/sslxprint.c:177:25: warning: passing argument 2 of 'd2i_X509_NAME' from incompatible pointer type [-Wincompatible-pointer-types] 177 | if(!(n=d2i_X509_NAME(0,&d,data->len))) | ^~ | | | UCHAR ** {aka unsigned char **} In file included from ssl/sslxprint.c:54: /usr/include/openssl/x509.h:546:1: note: expected 'const unsigned char **' but argument is of type 'UCHAR **' {aka 'unsigned char **'} 546 | DECLARE_ASN1_FUNCTIONS(X509_NAME) | ^~~~~~~~~~~~~~~~~~~~~~ ssl/sslxprint.c:179:22: warning: pointer targets in passing argument 2 of 'X509_NAME_oneline' differ in signedness [-Wpointer-sign] 179 | X509_NAME_oneline(n,buf,BUFSIZE); | ^~~ | | | UCHAR * {aka unsigned char *} In file included from ssl/sslxprint.c:55: /usr/include/openssl/x509.h:610:51: note: expected 'char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 610 | char *X509_NAME_oneline(const X509_NAME *a, char *buf, int size); | ~~~~~~^~~ ssl/sslxprint.c:180:21: warning: pointer targets in passing argument 2 of 'sslx__print_dn' differ in signedness [-Wpointer-sign] 180 | sslx__print_dn(ssl,buf); | ^~~ | | | UCHAR * {aka unsigned char *} In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/sslxprint.c:49: ssl/sslxprint.c:61:58: note: expected 'char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 61 | static int sslx__print_dn PROTO_LIST((ssl_obj *ssl,char *x)); | ~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ ssl/sslxprint.c: In function 'sslx__print_dn': ssl/sslxprint.c:207:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 207 | if(slash=strchr(x,'/')){ | ^~~~~ At top level: ssl/sslxprint.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: sslxprint.c,v 1.3 2000/11/03 06:38:06 ekr Exp $"; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o ssl/ssldump-ssldecode.o `test -f 'ssl/ssldecode.c' || echo './'`ssl/ssldecode.c make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' ssl/ssldecode.c: In function 'ssl_decode_ctx_create': ssl/ssldecode.c:145:9: warning: unused variable 'r' [-Wunused-variable] 145 | int r,_status; | ^ ssl/ssldecode.c: In function 'ssl_set_client_random': ssl/ssldecode.c:253:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 253 | if(r=r_data_create(&d->client_random,msg,len)) | ^ ssl/ssldecode.c: In function 'ssl_set_server_random': ssl/ssldecode.c:267:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 267 | if(r=r_data_create(&d->server_random,msg,len)) | ^ ssl/ssldecode.c: In function 'ssl_set_client_session_id': ssl/ssldecode.c:282:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 282 | if(r=r_data_create(&d->session_id,msg,len)) | ^ ssl/ssldecode.c: In function 'ssl_process_server_session_id': ssl/ssldecode.c:310:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 310 | if(r=ssl_restore_session(ssl,d)) | ^ ssl/ssldecode.c: In function 'ssl_decode_record': ssl/ssldecode.c:424:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 424 | if(r=ssl_decode_rec_data(ssl,rd,ct,version,d->data,d->len,out,&outl)){ | ^ ssl/ssldecode.c: In function 'ssl_update_handshake_messages': ssl/ssldecode.c:463:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 463 | if(r=r_data_create(&hms,d,l)) | ^ ssl/ssldecode.c: In function 'ssl_create_session_lookup_key': ssl/ssldecode.c:493:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 493 | sprintf(key,"%s:%d",ssl->server_name,ssl->server_port); | ^~~ | | | UCHAR * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./base/network.h:54, from ssl/ssldecode.c:46: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ssl/ssldecode.c:494:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 494 | *keyl+=strlen(key); | ^~~ | | | UCHAR * {aka unsigned char *} In file included from ./base/network.h:55, from ssl/ssldecode.c:46: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ssl/ssldecode.c:481:9: warning: unused variable 'r' [-Wunused-variable] 481 | int r,_status; | ^ ssl/ssldecode.c: In function 'ssl_restore_session': ssl/ssldecode.c:515:7: warning: pointer targets in passing argument 5 of 'ssl_create_session_lookup_key' differ in signedness [-Wpointer-sign] 515 | &lookup_key_len)) | ^~~~~~~~~~~~~~~ | | | int * ssl/ssldecode.c:477:10: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 477 | UINT4 *keyl; | ^~~~ ssl/ssldecode.c:513:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 513 | if(r=ssl_create_session_lookup_key(ssl, | ^ ssl/ssldecode.c:517:46: warning: pointer targets in passing argument 2 of 'r_assoc_fetch' differ in signedness [-Wpointer-sign] 517 | if(r=r_assoc_fetch(d->ctx->session_cache,lookup_key,lookup_key_len, | ^~~~~~~~~~ | | | UCHAR * {aka unsigned char *} In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/ssldecode.c:46: ./common/include/r_assoc.h:63:52: note: expected 'char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 63 | int r_assoc_fetch PROTO_LIST((r_assoc *assoc,char *key, int len, | ~~~~~~^~~ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ ssl/ssldecode.c:517:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 517 | if(r=r_assoc_fetch(d->ctx->session_cache,lookup_key,lookup_key_len, | ^ ssl/ssldecode.c:521:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 521 | if(r=r_data_create(&d->MS,msd->data,msd->len)) | ^ ssl/ssldecode.c:530:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 530 | if(r=ssl_generate_keying_material(ssl,d)) | ^ ssl/ssldecode.c: In function 'ssl_save_session': ssl/ssldecode.c:561:7: warning: pointer targets in passing argument 5 of 'ssl_create_session_lookup_key' differ in signedness [-Wpointer-sign] 561 | &lookup_key_len)) | ^~~~~~~~~~~~~~~ | | | int * ssl/ssldecode.c:477:10: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 477 | UINT4 *keyl; | ^~~~ ssl/ssldecode.c:559:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 559 | if(r=ssl_create_session_lookup_key(ssl,d->session_id->data, | ^ ssl/ssldecode.c:563:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 563 | if(r=r_data_create(&msd,d->MS->data,d->MS->len)) | ^ ssl/ssldecode.c:565:47: warning: pointer targets in passing argument 2 of 'r_assoc_insert' differ in signedness [-Wpointer-sign] 565 | if(r=r_assoc_insert(d->ctx->session_cache,lookup_key,lookup_key_len, | ^~~~~~~~~~ | | | UCHAR * {aka unsigned char *} In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/ssldecode.c:46: ./common/include/r_assoc.h:57:53: note: expected 'char *' but argument is of type 'UCHAR *' {aka 'unsigned char *'} 57 | int r_assoc_insert PROTO_LIST((r_assoc *assoc,char *key,int len, | ~~~~~~^~~ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ ssl/ssldecode.c:565:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 565 | if(r=r_assoc_insert(d->ctx->session_cache,lookup_key,lookup_key_len, | ^ ssl/ssldecode.c:554:11: warning: unused variable 'msv' [-Wunused-variable] 554 | void *msv; | ^~~ ssl/ssldecode.c: In function 'ssl_process_client_key_exchange': ssl/ssldecode.c:618:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 618 | if(r=r_data_alloc(&d->PMS,BN_num_bytes(n))) | ^ ssl/ssldecode.c:637:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 637 | if(r=ssl_generate_keying_material(ssl,d)) | ^ ssl/ssldecode.c:646:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 646 | if(r=ssl_save_session(ssl,d)) | ^ ssl/ssldecode.c: In function 'tls_P_hash': ssl/ssldecode.c:682:7: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] 682 | HMAC_Init(hm,secret->data,secret->len,md); | ^~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from ssl/ssldecode.c:51: /usr/include/openssl/hmac.h:30:1: note: declared here 30 | DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~~~~~~~ ssl/ssldecode.c:687:7: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] 687 | HMAC_Init(hm,secret->data,secret->len,md); | ^~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from ssl/ssldecode.c:51: /usr/include/openssl/hmac.h:30:1: note: declared here 30 | DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~~~~~~~ ssl/ssldecode.c: In function 'tls_prf': ssl/ssldecode.c:720:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 720 | if(r=r_data_alloc(&md5_out,MAX(out->len,16))) | ^ ssl/ssldecode.c:722:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 722 | if(r=r_data_alloc(&sha_out,MAX(out->len,20))) | ^ ssl/ssldecode.c:724:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 724 | if(r=r_data_alloc(&seed,strlen(usage)+rnd1->len+rnd2->len)) | ^ ssl/ssldecode.c:733:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 733 | if(r=r_data_alloc(&S1,S_l)) | ^ ssl/ssldecode.c:735:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 735 | if(r=r_data_alloc(&S2,S_l)) | ^ ssl/ssldecode.c:741:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 741 | if(r=tls_P_hash | ^ ssl/ssldecode.c:744:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 744 | if(r=tls_P_hash(ssl,S2,seed,EVP_get_digestbyname("SHA1"),sha_out)) | ^ ssl/ssldecode.c: In function 'tls12_prf': ssl/ssldecode.c:779:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 779 | if(r=r_data_alloc(&sha_out,MAX(out->len,64))) /* assume max SHA512 */ | ^ ssl/ssldecode.c:781:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 781 | if(r=r_data_alloc(&seed,strlen(usage)+rnd1->len+rnd2->len)) | ^ ssl/ssldecode.c:796:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 796 | if(r=tls_P_hash(ssl,secret,seed,md,sha_out)) | ^ ssl/ssldecode.c: In function 'ssl3_prf': ssl/ssldecode.c:890:17: warning: pointer targets in passing argument 1 of 'MD5_Final' differ in signedness [-Wpointer-sign] 890 | MD5_Final(outbuf,&md5); | ^~~~~~ | | | char * In file included from ssl/ssldecode.c:54: /usr/include/openssl/md5.h:42:30: note: expected 'unsigned char *' but argument is of type 'char *' 42 | int MD5_Final(unsigned char *md, MD5_CTX *c); | ~~~~~~~~~~~~~~~^~ In file included from ssl/ssl_h.h:138, from ssl/ssldecode.c:47: ssl/ssldecode.h:50:47: warning: pointer targets in assignment from 'char *' to 'UCHAR *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 50 | #define CRDUMP(a,b,c) P_(P_CR) {Data d; d.data=b; d.len=c; exdump(ssl,a,&d); printf("\n");} | ^ ssl/ssldecode.c:893:7: note: in expansion of macro 'CRDUMP' 893 | CRDUMP("MD5 out",outbuf,16); | ^~~~~~ ssl/ssldecode.c: In function 'ssl_generate_keying_material': ssl/ssldecode.c:913:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 913 | if(r=r_data_alloc(&d->MS,48)) | ^ ssl/ssldecode.c:917:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 917 | if(r=ssl_generate_session_hash(ssl,d)) | ^ ssl/ssldecode.c:921:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 921 | if(r=PRF(ssl,d->PMS,"extended master secret",d->session_hash,&temp, | ^ ssl/ssldecode.c:926:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 926 | if(r=PRF(ssl,d->PMS,"master secret",d->client_random,d->server_random, | ^ ssl/ssldecode.c:941:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 941 | if(r=r_data_alloc(&key_block,needed)) | ^ ssl/ssldecode.c:943:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 943 | if(r=PRF(ssl,d->MS,"key expansion",d->server_random,d->client_random, | ^ ssl/ssldecode.c:973:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 973 | if(r=ssl3_generate_export_iv(ssl,d->client_random, | ^ ssl/ssldecode.c:976:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 976 | if(r=ssl3_generate_export_iv(ssl,d->server_random, | ^ ssl/ssldecode.c:995:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 995 | if(r=PRF(ssl,&key_null,"IV block",d->client_random, | ^ ssl/ssldecode.c:1028:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1028 | if(r=PRF(ssl,&k,"client write key",d->client_random,d->server_random, | ^ ssl/ssldecode.c:1033:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1033 | if(r=PRF(ssl,&k,"server write key",d->client_random,d->server_random, | ^ ssl/ssldecode.c:964:19: warning: unused variable 's_iv_d' [-Wunused-variable] 964 | Data c_iv_d,s_iv_d; | ^~~~~~ ssl/ssldecode.c:964:12: warning: unused variable 'c_iv_d' [-Wunused-variable] 964 | Data c_iv_d,s_iv_d; | ^~~~~~ ssl/ssldecode.c:1050:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1050 | if(r=ssl_create_rec_decoder(&d->c_to_s_n, | ^ ssl/ssldecode.c:1053:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1053 | if(r=ssl_create_rec_decoder(&d->s_to_c_n, | ^ ssl/ssldecode.c: In function 'ssl_generate_session_hash': ssl/ssldecode.c:1076:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1076 | if(r=r_data_alloc(&d->session_hash,EVP_MAX_MD_SIZE)) | ^ ssl/ssldecode.c:1088:17: warning: passing argument 1 of 'EVP_DigestInit' from incompatible pointer type [-Wincompatible-pointer-types] 1088 | EVP_DigestInit(dgictx,md); | ^~~~~~ | | | HMAC_CTX * {aka struct hmac_ctx_st *} In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl/evp.h:559:39: note: expected 'EVP_MD_CTX *' {aka 'struct evp_md_ctx_st *'} but argument is of type 'HMAC_CTX *' {aka 'struct hmac_ctx_st *'} 559 | __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); | ~~~~~~~~~~~~^~~ ssl/ssldecode.c:1089:19: warning: passing argument 1 of 'EVP_DigestUpdate' from incompatible pointer type [-Wincompatible-pointer-types] 1089 | EVP_DigestUpdate(dgictx,d->handshake_messages->data,d->handshake_messages->len); | ^~~~~~ | | | HMAC_CTX * {aka struct hmac_ctx_st *} In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl/evp.h:550:41: note: expected 'EVP_MD_CTX *' {aka 'struct evp_md_ctx_st *'} but argument is of type 'HMAC_CTX *' {aka 'struct hmac_ctx_st *'} 550 | __owur int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, | ~~~~~~~~~~~~^~~ ssl/ssldecode.c:1090:18: warning: passing argument 1 of 'EVP_DigestFinal' from incompatible pointer type [-Wincompatible-pointer-types] 1090 | EVP_DigestFinal(dgictx,d->session_hash->data,&d->session_hash->len); | ^~~~~~ | | | HMAC_CTX * {aka struct hmac_ctx_st *} In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl/evp.h:560:40: note: expected 'EVP_MD_CTX *' {aka 'struct evp_md_ctx_st *'} but argument is of type 'HMAC_CTX *' {aka 'struct hmac_ctx_st *'} 560 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~^~~ ssl/ssldecode.c:1090:47: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] 1090 | EVP_DigestFinal(dgictx,d->session_hash->data,&d->session_hash->len); | ^~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl/evp.h:561:42: note: expected 'unsigned int *' but argument is of type 'int *' 561 | unsigned int *s); | ~~~~~~~~~~~~~~^ ssl/ssldecode.c:1096:17: warning: passing argument 1 of 'EVP_DigestInit' from incompatible pointer type [-Wincompatible-pointer-types] 1096 | EVP_DigestInit(dgictx,EVP_get_digestbyname("MD5")); | ^~~~~~ | | | HMAC_CTX * {aka struct hmac_ctx_st *} In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl/evp.h:559:39: note: expected 'EVP_MD_CTX *' {aka 'struct evp_md_ctx_st *'} but argument is of type 'HMAC_CTX *' {aka 'struct hmac_ctx_st *'} 559 | __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); | ~~~~~~~~~~~~^~~ ssl/ssldecode.c:1097:19: warning: passing argument 1 of 'EVP_DigestUpdate' from incompatible pointer type [-Wincompatible-pointer-types] 1097 | EVP_DigestUpdate(dgictx,d->handshake_messages->data,d->handshake_messages->len); | ^~~~~~ | | | HMAC_CTX * {aka struct hmac_ctx_st *} In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl/evp.h:550:41: note: expected 'EVP_MD_CTX *' {aka 'struct evp_md_ctx_st *'} but argument is of type 'HMAC_CTX *' {aka 'struct hmac_ctx_st *'} 550 | __owur int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, | ~~~~~~~~~~~~^~~ ssl/ssldecode.c:1098:21: warning: passing argument 1 of 'EVP_DigestFinal_ex' from incompatible pointer type [-Wincompatible-pointer-types] 1098 | EVP_DigestFinal_ex(dgictx,d->session_hash->data,&d->session_hash->len); | ^~~~~~ | | | HMAC_CTX * {aka struct hmac_ctx_st *} In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl/evp.h:552:43: note: expected 'EVP_MD_CTX *' {aka 'struct evp_md_ctx_st *'} but argument is of type 'HMAC_CTX *' {aka 'struct hmac_ctx_st *'} 552 | __owur int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~^~~ ssl/ssldecode.c:1098:50: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal_ex' differ in signedness [-Wpointer-sign] 1098 | EVP_DigestFinal_ex(dgictx,d->session_hash->data,&d->session_hash->len); | ^~~~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl/evp.h:553:49: note: expected 'unsigned int *' but argument is of type 'int *' 553 | unsigned int *s); | ~~~~~~~~~~~~~~^ ssl/ssldecode.c:1100:17: warning: passing argument 1 of 'EVP_DigestInit' from incompatible pointer type [-Wincompatible-pointer-types] 1100 | EVP_DigestInit(dgictx,EVP_get_digestbyname("SHA1")); | ^~~~~~ | | | HMAC_CTX * {aka struct hmac_ctx_st *} In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl/evp.h:559:39: note: expected 'EVP_MD_CTX *' {aka 'struct evp_md_ctx_st *'} but argument is of type 'HMAC_CTX *' {aka 'struct hmac_ctx_st *'} 559 | __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); | ~~~~~~~~~~~~^~~ ssl/ssldecode.c:1101:19: warning: passing argument 1 of 'EVP_DigestUpdate' from incompatible pointer type [-Wincompatible-pointer-types] 1101 | EVP_DigestUpdate(dgictx,d->handshake_messages->data,d->handshake_messages->len); | ^~~~~~ | | | HMAC_CTX * {aka struct hmac_ctx_st *} In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl/evp.h:550:41: note: expected 'EVP_MD_CTX *' {aka 'struct evp_md_ctx_st *'} but argument is of type 'HMAC_CTX *' {aka 'struct hmac_ctx_st *'} 550 | __owur int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, | ~~~~~~~~~~~~^~~ ssl/ssldecode.c:1102:18: warning: passing argument 1 of 'EVP_DigestFinal' from incompatible pointer type [-Wincompatible-pointer-types] 1102 | EVP_DigestFinal(dgictx,d->session_hash->data+d->session_hash->len,&len); | ^~~~~~ | | | HMAC_CTX * {aka struct hmac_ctx_st *} In file included from /usr/include/openssl/x509.h:18, from /usr/include/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl/evp.h:560:40: note: expected 'EVP_MD_CTX *' {aka 'struct evp_md_ctx_st *'} but argument is of type 'HMAC_CTX *' {aka 'struct hmac_ctx_st *'} 560 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~^~~ ssl/ssldecode.c: In function 'ssl_read_key_log_file': ssl/ssldecode.c:1137:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1137 | if(r=r_data_alloc(&d->MS,48)) | ^ ssl/ssldecode.c:1118:19: warning: unused variable 'dgi' [-Wunused-variable] 1118 | int r,_status,dgi,n,i; | ^~~ At top level: ssl/ssldecode.c:60:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 60 | static char *RCSSTRING="$Id: ssldecode.c,v 1.9 2002/08/17 01:33:17 ekr Exp $"; | ^~~~~~~~~ ssl/ssldecode.c: In function 'ssl_generate_keying_material': ssl/ssldecode.c:1053:10: warning: 's_iv' may be used uninitialized in this function [-Wmaybe-uninitialized] 1053 | if(r=ssl_create_rec_decoder(&d->s_to_c_n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1054 | ssl->cs,s_mk,s_wk,s_iv)) | ~~~~~~~~~~~~~~~~~~~~~~~ ssl/ssldecode.c:1050:10: warning: 'c_iv' may be used uninitialized in this function [-Wmaybe-uninitialized] 1050 | if(r=ssl_create_rec_decoder(&d->c_to_s_n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1051 | ssl->cs,c_mk,c_wk,c_iv)) | ~~~~~~~~~~~~~~~~~~~~~~~ ssl/ssldecode.c:1053:10: warning: 's_mk' may be used uninitialized in this function [-Wmaybe-uninitialized] 1053 | if(r=ssl_create_rec_decoder(&d->s_to_c_n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1054 | ssl->cs,s_mk,s_wk,s_iv)) | ~~~~~~~~~~~~~~~~~~~~~~~ ssl/ssldecode.c:1050:10: warning: 'c_mk' may be used uninitialized in this function [-Wmaybe-uninitialized] 1050 | if(r=ssl_create_rec_decoder(&d->c_to_s_n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1051 | ssl->cs,c_mk,c_wk,c_iv)) | ~~~~~~~~~~~~~~~~~~~~~~~ ssl/ssldecode.c: In function 'ssl_process_server_session_id': ssl/ssldecode.c:323:11: warning: '_status' may be used uninitialized in this function [-Wmaybe-uninitialized] 323 | return(_status); | ^ make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o ssl/ssldump-ssl.enums.o `test -f 'ssl/ssl.enums.c' || echo './'`ssl/ssl.enums.c make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' In file included from ssl/ssl.enums.c:3: ssl/ssl.enums.c: In function 'decode_ContentType_Alert': ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ssl/ssl.enums.c:54:7: note: in expansion of macro 'SSL_DECODE_ENUM' 54 | SSL_DECODE_ENUM(ssl,"level",1,AlertLevel_decoder,P_HL,data,0); | ^~~~~~~~~~~~~~~ ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ssl/ssl.enums.c:56:7: note: in expansion of macro 'SSL_DECODE_ENUM' 56 | SSL_DECODE_ENUM(ssl,"value",1,AlertDescription_decoder,P_HL,data,0); | ^~~~~~~~~~~~~~~ ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ssl/ssl.enums.c:60:10: note: in expansion of macro 'SSL_DECODE_ENUM' 60 | SSL_DECODE_ENUM(ssl,0,1,AlertLevel_decoder,SSL_PRINT_ALL,data,0); | ^~~~~~~~~~~~~~~ ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ssl/ssl.enums.c:61:10: note: in expansion of macro 'SSL_DECODE_ENUM' 61 | SSL_DECODE_ENUM(ssl,0,1,AlertDescription_decoder,SSL_PRINT_ALL,data,0); | ^~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_ContentType_Handshake': ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:87:7: note: in expansion of macro 'SSL_DECODE_UINT8' 87 | SSL_DECODE_UINT8(ssl,0,0,data,&t); | ^~~~~~~~~~~~~~~~ ssl/sslprint.h:84:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:88:7: note: in expansion of macro 'SSL_DECODE_UINT24' 88 | SSL_DECODE_UINT24(ssl,0,0,data,&l); | ^~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_ContentType_application_data': ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:122:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 122 | SSL_DECODE_OPAQUE_ARRAY(ssl,"data",data->len,0,data,&d); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_HandshakeType_ClientHello': ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:187:5: note: in expansion of macro 'SSL_DECODE_UINT8' 187 | SSL_DECODE_UINT8(ssl,0,0,data,&vj); | ^~~~~~~~~~~~~~~~ ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:188:5: note: in expansion of macro 'SSL_DECODE_UINT8' 188 | SSL_DECODE_UINT8(ssl,0,0,data,&vn); | ^~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:194:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 194 | SSL_DECODE_OPAQUE_ARRAY(ssl,"random",32,P_ND,data,&random); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:197:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 197 | SSL_DECODE_OPAQUE_ARRAY(ssl,"session_id",-32,0,data,&session_id); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:209:2: note: in expansion of macro 'SSL_DECODE_UINT16' 209 | SSL_DECODE_UINT16(ssl,"cipher Suites len",0,data,&cslen); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:226:5: note: in expansion of macro 'SSL_DECODE_UINT8' 226 | SSL_DECODE_UINT8(ssl,"compressionMethod len",0,data,&complen); | ^~~~~~~~~~~~~~~~ ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ssl/ssl.enums.c:230:9: note: in expansion of macro 'SSL_DECODE_ENUM' 230 | SSL_DECODE_ENUM(ssl,0,1,compression_method_decoder,P_HL,data,&comp); | ^~~~~~~~~~~~~~~ ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:235:5: note: in expansion of macro 'SSL_DECODE_UINT16' 235 | SSL_DECODE_UINT16(ssl,"extensions len",0,data,&exlen); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:239:6: note: in expansion of macro 'SSL_DECODE_UINT16' 239 | SSL_DECODE_UINT16(ssl, "extension type", 0, data, &ex); | ^~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_HandshakeType_ServerHello': ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:268:5: note: in expansion of macro 'SSL_DECODE_UINT8' 268 | SSL_DECODE_UINT8(ssl,0,0,data,&vj); | ^~~~~~~~~~~~~~~~ ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:269:5: note: in expansion of macro 'SSL_DECODE_UINT8' 269 | SSL_DECODE_UINT8(ssl,0,0,data,&vn); | ^~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:277:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 277 | SSL_DECODE_OPAQUE_ARRAY(ssl,"random",32,P_ND,data,&rnd); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:279:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 279 | SSL_DECODE_OPAQUE_ARRAY(ssl,"session_id",-32,P_HL,data,&session_id); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/ssl.enums.c:281:14: warning: pointer targets in passing argument 7 of 'ssl_decode_enum' differ in signedness [-Wpointer-sign] 281 | 0,data,&ssl->cipher_suite); | ^~~~~~~~~~~~~~~~~~ | | | int * ssl/sslprint.h:87:73: note: in definition of macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/ssl.enums.c:1: ssl/sslprint.h:63:10: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 63 | UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/ssl.enums.c:3: ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ssl/ssl.enums.c:280:5: note: in expansion of macro 'SSL_DECODE_ENUM' 280 | SSL_DECODE_ENUM(ssl,"cipherSuite",2,cipher_suite_decoder, | ^~~~~~~~~~~~~~~ ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ssl/ssl.enums.c:292:5: note: in expansion of macro 'SSL_DECODE_ENUM' 292 | SSL_DECODE_ENUM(ssl,"compressionMethod",1,compression_method_decoder,P_HL,data,0); | ^~~~~~~~~~~~~~~ ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:295:5: note: in expansion of macro 'SSL_DECODE_UINT16' 295 | SSL_DECODE_UINT16(ssl,"extensions len",0,data,&exlen); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:299:6: note: in expansion of macro 'SSL_DECODE_UINT16' 299 | SSL_DECODE_UINT16(ssl, "extension type", 0, data, &ex); | ^~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_HandshakeType_Certificate': ssl/sslprint.h:84:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:328:5: note: in expansion of macro 'SSL_DECODE_UINT24' 328 | SSL_DECODE_UINT24(ssl,"certificates len",0,data,&len); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:331:7: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 331 | SSL_DECODE_OPAQUE_ARRAY(ssl,"certificate",-((1<<23)-1), | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_HandshakeType_ServerKeyExchange': ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:360:4: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 360 | SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_p",-((1<<15)-1),P_ND,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:361:4: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 361 | SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_g",-((1<<15)-1),P_ND,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:362:4: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 362 | SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_Ys",-((1<<15)-1),P_ND,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:365:4: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 365 | SSL_DECODE_OPAQUE_ARRAY(ssl,"RSA_modulus",-((1<<15)-1),P_ND,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:366:4: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 366 | SSL_DECODE_OPAQUE_ARRAY(ssl,"RSA_exponent",-((1<<15)-1),P_ND,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:370:7: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 370 | SSL_DECODE_OPAQUE_ARRAY(ssl,"signature",-((1<<15)-1),P_ND,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_HandshakeType_CertificateRequest': ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:390:5: note: in expansion of macro 'SSL_DECODE_UINT8' 390 | SSL_DECODE_UINT8(ssl,"certificate_types len",0,data,&len); | ^~~~~~~~~~~~~~~~ ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ssl/ssl.enums.c:392:7: note: in expansion of macro 'SSL_DECODE_ENUM' 392 | SSL_DECODE_ENUM(ssl,"certificate_types",1, | ^~~~~~~~~~~~~~~ ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:399:5: note: in expansion of macro 'SSL_DECODE_UINT16' 399 | SSL_DECODE_UINT16(ssl,"certificate_authorities len",0,data,&len); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:401:7: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 401 | SSL_DECODE_OPAQUE_ARRAY(ssl,"certificate_authorities", | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_HandshakeType_CertificateVerify': ssl/ssl.enums.c:436:46: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 436 | SSL_DECODE_OPAQUE_ARRAY(ssl,"Signature",-(1<<15-1),P_HL,data,0); | ^~ ssl/sslprint.h:86:79: note: in definition of macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:436:3: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 436 | SSL_DECODE_OPAQUE_ARRAY(ssl,"Signature",-(1<<15-1),P_HL,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_HandshakeType_ClientKeyExchange': ssl/ssl.enums.c:458:71: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 458 | SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), | ^~ ssl/sslprint.h:86:79: note: in definition of macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:458:13: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 458 | SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:463:13: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 463 | SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",data->len,P_ND,data,&pms); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:470:4: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 470 | SSL_DECODE_OPAQUE_ARRAY(ssl,"DiffieHellmanClientPublicValue", | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_HandshakeType_Finished': ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:492:8: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 492 | SSL_DECODE_OPAQUE_ARRAY(ssl,"md5_hash",16,P_ND,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:494:8: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 494 | SSL_DECODE_OPAQUE_ARRAY(ssl,"sha_hash",20,P_ND,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ssl/ssl.enums.c:497:8: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' 497 | SSL_DECODE_OPAQUE_ARRAY(ssl,"verify_data",12,P_ND,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_extension_server_name': ssl/ssl.enums.c:2529:53: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] 2529 | SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); | ^~ | | | int * ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/ssl.enums.c:1: ssl/sslprint.h:58:33: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 58 | UINT4 print,Data *data,UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/ssl.enums.c:3: ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:2529:5: note: in expansion of macro 'SSL_DECODE_UINT16' 2529 | SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); | ^~~~~~~~~~~~~~~~~ ssl/ssl.enums.c:2532:62: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] 2532 | SSL_DECODE_UINT16(ssl,"server name list length",0,data,&l); | ^~ | | | int * ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/ssl.enums.c:1: ssl/sslprint.h:58:33: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 58 | UINT4 print,Data *data,UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/ssl.enums.c:3: ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:2532:7: note: in expansion of macro 'SSL_DECODE_UINT16' 2532 | SSL_DECODE_UINT16(ssl,"server name list length",0,data,&l); | ^~~~~~~~~~~~~~~~~ ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:2536:2: note: in expansion of macro 'SSL_DECODE_UINT8' 2536 | SSL_DECODE_UINT8(ssl, "server name type", 0, data, &t); | ^~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_extension_encrypt_then_mac': ssl/ssl.enums.c:2564:53: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] 2564 | SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); | ^~ | | | int * ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/ssl.enums.c:1: ssl/sslprint.h:58:33: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 58 | UINT4 print,Data *data,UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/ssl.enums.c:3: ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:2564:5: note: in expansion of macro 'SSL_DECODE_UINT16' 2564 | SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); | ^~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_extension_extended_master_secret': ssl/ssl.enums.c:2581:53: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] 2581 | SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); | ^~ | | | int * ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/ssl.enums.c:1: ssl/sslprint.h:58:33: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 58 | UINT4 print,Data *data,UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/ssl.enums.c:3: ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:2581:5: note: in expansion of macro 'SSL_DECODE_UINT16' 2581 | SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); | ^~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_extension': ssl/ssl.enums.c:2595:53: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] 2595 | SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); | ^~ | | | int * ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/ssl.enums.c:1: ssl/sslprint.h:58:33: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 58 | UINT4 print,Data *data,UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/ssl.enums.c:3: ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:2595:5: note: in expansion of macro 'SSL_DECODE_UINT16' 2595 | SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); | ^~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_server_name_type_host_name': ssl/ssl.enums.c:2674:55: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] 2674 | SSL_DECODE_UINT16(ssl,"server name length",0,data,&l); | ^~ | | | int * ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/ssl.enums.c:1: ssl/sslprint.h:58:33: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 58 | UINT4 print,Data *data,UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/ssl.enums.c:3: ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:2674:5: note: in expansion of macro 'SSL_DECODE_UINT16' 2674 | SSL_DECODE_UINT16(ssl,"server name length",0,data,&l); | ^~~~~~~~~~~~~~~~~ ssl/ssl.enums.c: In function 'decode_server_name': ssl/ssl.enums.c:2701:55: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] 2701 | SSL_DECODE_UINT16(ssl,"server name length",0,data,&l); | ^~ | | | int * ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ In file included from ./common/include/r_common.h:57, from ./base/network.h:57, from ssl/ssl.enums.c:1: ssl/sslprint.h:58:33: note: expected 'UINT4 *' {aka 'unsigned int *'} but argument is of type 'int *' 58 | UINT4 print,Data *data,UINT4 *x)); | ~~~~~~~^ ./common/include/r_macros.h:51:23: note: in definition of macro 'PROTO_LIST' 51 | #define PROTO_LIST(a) a | ^ In file included from ssl/ssl.enums.c:3: ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ssl/ssl.enums.c:2701:5: note: in expansion of macro 'SSL_DECODE_UINT16' 2701 | SSL_DECODE_UINT16(ssl,"server name length",0,data,&l); | ^~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o base/ssldump-network.o `test -f 'base/network.c' || echo './'`base/network.c base/network.c: In function 'network_handler_create': base/network.c:82:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | if(r=mod->vtbl->create_ctx(mod->handle,&handler->ctx)) | ^ base/network.c: In function 'network_process_packet': base/network.c:151:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 151 | if(r=process_tcp_packet(handler->mod,handler->ctx,&p)) | ^ At top level: base/network.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: network.c,v 1.10 2002/09/09 21:02:58 ekr Exp $"; | ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o base/ssldump-pcap-snoop.o `test -f 'base/pcap-snoop.c' || echo './'`base/pcap-snoop.c base/pcap-snoop.c: In function 'pcap_cb': base/pcap-snoop.c:248:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 248 | if(cleaned_conn = clean_old_conn()) | ^~~~~~~~~~~~ base/pcap-snoop.c: In function 'main': base/pcap-snoop.c:457:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 457 | if(r=network_handler_create(mod,&n)) | ^ At top level: base/pcap-snoop.c:50:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 50 | static char *RCSSTRING="$Id: pcap-snoop.c,v 1.14 2002/09/09 21:02:58 ekr Exp $"; | ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o base/ssldump-proto_mod.o `test -f 'base/proto_mod.c' || echo './'`base/proto_mod.c make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' base/proto_mod.c: In function 'create_proto_handler': base/proto_mod.c:64:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 64 | if(r=mod->vtbl->create(mod->handle,ctx,conn,&handler->obj, | ^ At top level: base/proto_mod.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: proto_mod.c,v 1.3 2001/07/20 23:33:14 ekr Exp $"; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o ssl/ssldump-ssl_rec.o `test -f 'ssl/ssl_rec.c' || echo './'`ssl/ssl_rec.c ssl/ssl_rec.c: In function 'ssl_create_rec_decoder': ssl/ssl_rec.c:131:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 131 | if(r=r_data_alloc(&dec->mac_key,cs->dig_len)) | ^ ssl/ssl_rec.c:134:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 134 | if(r=r_data_alloc(&dec->implicit_iv,cs->block)) | ^ ssl/ssl_rec.c:138:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 138 | if(r=r_data_create(&dec->write_key,sk,cs->eff_bits/8)) | ^ ssl/ssl_rec.c: In function 'ssl_decode_rec_data': ssl/ssl_rec.c:277:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 277 | if(r=tls_check_mac(d,ct,version,in+blk,encpadl,in,blk,mac)) | ^ ssl/ssl_rec.c:282:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 282 | if(r=tls_check_mac(d,ct,version,in,encpadl,NULL,0,mac)) | ^ ssl/ssl_rec.c:306:7: warning: implicit declaration of function 'ssl3_check_mac'; did you mean 'tls_check_mac'? [-Wimplicit-function-declaration] 306 | if(r=ssl3_check_mac(d,ct,version,out,*outl,mac)) | ^~~~~~~~~~~~~~ | tls_check_mac ssl/ssl_rec.c:306:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 306 | if(r=ssl3_check_mac(d,ct,version,out,*outl,mac)) | ^ ssl/ssl_rec.c:323:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 323 | if(r=tls_check_mac(d,ct,version,out,*outl,NULL,0,mac)) | ^ ssl/ssl_rec.c:207:17: warning: unused variable 'iv' [-Wunused-variable] 207 | UCHAR *mac,*iv,aead_tag[13],aead_nonce[12]; | ^~ ssl/ssl_rec.c: In function 'tls_check_mac': ssl/ssl_rec.c:367:5: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] 367 | HMAC_Init(hm,d->mac_key->data,d->mac_key->len,md); | ^~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from ssl/ssl_rec.c:54: /usr/include/openssl/hmac.h:30:1: note: declared here 30 | DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~~~~~~~ At top level: ssl/ssl_rec.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: ssl_rec.c,v 1.3 2000/11/03 06:38:06 ekr Exp $"; | ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o null/ssldump-null_analyze.o `test -f 'null/null_analyze.c' || echo './'`null/null_analyze.c null/null_analyze.c: In function 'destroy_null_analyzer': null/null_analyze.c:92:20: warning: variable 'obj' set but not used [-Wunused-but-set-variable] 92 | null_analyzer *obj; | ^~~ At top level: null/null_analyze.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: null_analyze.c,v 1.6 2001/11/26 22:28:16 ekr Exp $"; | ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o common/lib/ssldump-r_data.o `test -f 'common/lib/r_data.c' || echo './'`common/lib/r_data.c common/lib/r_data.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: r_data.c,v 1.3 2001/07/20 23:33:15 ekr Exp $"; | ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o common/lib/ssldump-r_errors.o `test -f 'common/lib/r_errors.c' || echo './'`common/lib/r_errors.c common/lib/r_errors.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: r_errors.c,v 1.3 2001/12/24 06:06:27 ekr Exp $"; | ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o ssl/ssldump-ssl_analyze.o `test -f 'ssl/ssl_analyze.c' || echo './'`ssl/ssl_analyze.c make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' ssl/ssl_analyze.c: In function 'parse_ssl_flags': ssl/ssl_analyze.c:191:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 191 | while(x=strtok(y,",")){ | ^ ssl/ssl_analyze.c: In function 'create_ssl_ctx': ssl/ssl_analyze.c:222:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 222 | if(r=ssl_decode_ctx_create(&ctx,SSL_keyfile,SSL_password,SSL_keylogfile)) | ^ ssl/ssl_analyze.c: In function 'create_ssl_analyzer': ssl/ssl_analyze.c:251:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 251 | if(r=create_r_queue(&obj->r2i_queue)) | ^ ssl/ssl_analyze.c:253:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 253 | if(r=create_r_queue(&obj->i2r_queue)) | ^ ssl/ssl_analyze.c:267:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 267 | if(r=ssl_decoder_create(&obj->decoder,obj->ssl_ctx)) | ^ ssl/ssl_analyze.c: In function 'read_ssl_record': ssl/ssl_analyze.c:358:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 358 | if(r=read_data(q,seg,offset,&last,&offset)) | ^ ssl/ssl_analyze.c:390:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 390 | if(r=read_data(q,last,offset,&last,&offset)) | ^ ssl/ssl_analyze.c: In function 'read_data': ssl/ssl_analyze.c:440:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 440 | if(r=copy_tcp_segment_queue(&q->q,seg)) | ^ ssl/ssl_analyze.c: In function 'data_ssl_analyzer': ssl/ssl_analyze.c:517:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 517 | if(r=print_ssl_record(ssl,direction,assembled,q->data,q->len)) | ^ ssl/ssl_analyze.c: In function 'print_ssl_header': ssl/ssl_analyze.c:551:20: warning: unused variable 'dt' [-Wunused-variable] 551 | struct timeval dt; | ^~ ssl/ssl_analyze.c:549:9: warning: unused variable 'r' [-Wunused-variable] 549 | int r; | ^ ssl/ssl_analyze.c: In function 'print_ssl_record': ssl/ssl_analyze.c:580:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 580 | if(r=print_ssl_header(obj,direction,q,data,len)) | ^ At top level: ssl/ssl_analyze.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: ssl_analyze.c,v 1.8 2002/01/21 18:46:13 ekr Exp $"; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o common/lib/ssldump-r_assoc.o `test -f 'common/lib/r_assoc.c' || echo './'`common/lib/r_assoc.c make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' common/lib/r_assoc.c: In function 'copy_assoc_chain': common/lib/r_assoc.c:177:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 177 | if(r=old->copy(&ptr->data,old->data)) | ^ common/lib/r_assoc.c: In function 'r_assoc_fetch': common/lib/r_assoc.c:228:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 228 | if(r=r_assoc_fetch_bucket(assoc,key,len,&bucket)){ | ^ common/lib/r_assoc.c: In function 'r_assoc_insert': common/lib/r_assoc.c:250:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 250 | if(r=r_assoc_fetch_bucket(assoc,key,len,&bucket)){ | ^ common/lib/r_assoc.c: In function 'r_assoc_copy': common/lib/r_assoc.c:308:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 308 | if(r=copy_assoc_chain(new->chains+i,old->chains[i])) | ^ At top level: common/lib/r_assoc.c:57:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 57 | static char *RCSSTRING="$Id: r_assoc.c,v 1.4 2001/12/24 06:06:26 ekr Exp $"; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -DHAVE_CONFIG_H -I. -I. -I./common/include -I./common/lib -I./null -I./ssl -I./base -D_DEFAULT_SOURCE=1 -DLINUX -DOPENSSL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -c -o common/lib/ssldump-debug.o `test -f 'common/lib/debug.c' || echo './'`common/lib/debug.c make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' common/lib/debug.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 47 | static char *RCSSTRING="$Id: debug.c,v 1.3 2001/12/24 06:06:26 ekr Exp $"; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ssldump base/ssldump-pcap-snoop.o base/ssldump-network.o base/ssldump-proto_mod.o ssl/ssldump-ssl_analyze.o null/ssldump-null_analyze.o common/lib/ssldump-r_data.o common/lib/ssldump-r_assoc.o common/lib/ssldump-r_errors.o common/lib/ssldump-debug.o base/ssldump-tcppack.o base/ssldump-tcpconn.o ssl/ssldump-ssldecode.o ssl/ssldump-sslprint.o ssl/ssldump-ssl.enums.o ssl/ssldump-sslxprint.o ssl/ssldump-ciphersuites.o ssl/ssldump-ssl_rec.o -lcrypto -lssl -lpcap make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nKK9q8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64 + cd ssldump-1.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/ssldump-1.2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/bin' /usr/bin/install -p ssldump '/builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 ssldump.1 '/builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.2' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2-1.fc33 --unique-debug-suffix -1.2-1.fc33.riscv64 --unique-debug-src-base ssldump-1.2-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ssldump-1.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/bin/ssldump extracting debug info from /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/bin/ssldump original debug info size: 864kB, size after compression: 824kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 480 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ssldump-1.2-1.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CO0b67 + umask 022 + cd /builddir/build/BUILD + cd ssldump-1.2 + DOCDIR=/builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/doc/ssldump + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/doc/ssldump + cp -pr ChangeLog /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/doc/ssldump + cp -pr CREDITS /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/doc/ssldump + cp -pr HOWTO /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/doc/ssldump + cp -pr README /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/doc/ssldump + cp -pr README.md /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/doc/ssldump + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.CB6mya + umask 022 + cd /builddir/build/BUILD + cd ssldump-1.2 + LICENSEDIR=/builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/licenses/ssldump + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/licenses/ssldump + cp -pr COPYRIGHT /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64/usr/share/licenses/ssldump + RPM_EC=0 ++ jobs -p + exit 0 Provides: ssldump = 1.2-1.fc33 ssldump(riscv-64) = 1.2-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libpcap.so.1()(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) rtld(GNU_HASH) Processing files: ssldump-debugsource-1.2-1.fc33.riscv64 Provides: ssldump-debugsource = 1.2-1.fc33 ssldump-debugsource(riscv-64) = 1.2-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ssldump-debuginfo-1.2-1.fc33.riscv64 Provides: debuginfo(build-id) = d54564e259d4df65b229f1a10dc78504c87badfe ssldump-debuginfo = 1.2-1.fc33 ssldump-debuginfo(riscv-64) = 1.2-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ssldump-debugsource(riscv-64) = 1.2-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64 Wrote: /builddir/build/RPMS/ssldump-1.2-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ssldump-debugsource-1.2-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ssldump-debuginfo-1.2-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pYZe59 + umask 022 + cd /builddir/build/BUILD + cd ssldump-1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ssldump-1.2-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0