Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ssldump.spec'], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-5389e08a9ec5a79e35b0b4a52b023005e2dc15db/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ssldump.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/ssldump-1.2-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ssldump.spec'], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-5389e08a9ec5a79e35b0b4a52b023005e2dc15db/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ssldump.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wBUkrR + 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 -xf - + 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 . Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0edBXI + exit 0 + umask 022 + cd /builddir/build/BUILD + cd ssldump-1.2 ++ pkg-config --cflags-only-I openssl11 + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE' ++ pkg-config --libs-only-L openssl11 + export 'LDFLAGS=-Wl,-z,relro -L/usr/lib/openssl11 ' + LDFLAGS='-Wl,-z,relro -L/usr/lib/openssl11 ' + ./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:15: 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -L/usr/lib/openssl11 ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -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 . -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' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-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/lib --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... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking for armv7hl-redhat-linux-gnu-gcc... no checking for armv7hl-redhat-linux-gnu-clang... no checking for 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 for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes 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... 4 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... no configure: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: openssl/ssl.h: proceeding with the compiler's result 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: armv7hl Compiler: gcc Installation prefix: /usr CFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 LDFLAGS: -Wl,-z,relro -L/usr/lib/openssl11 LIBS: -lcrypto -lssl -lpcap Optimizations enabled: yes Debug info enabled: no ASAN enabled: no ################################################ + /usr/bin/make -j4 /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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o base/ssldump-tcppack.o `test -f 'base/tcppack.c' || echo './'`base/tcppack.c 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o base/ssldump-tcpconn.o `test -f 'base/tcpconn.c' || echo './'`base/tcpconn.c 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o ssl/ssldump-ssldecode.o `test -f 'ssl/ssldecode.c' || echo './'`ssl/ssldecode.c 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o ssl/ssldump-sslprint.o `test -f 'ssl/sslprint.c' || echo './'`ssl/sslprint.c base/tcpconn.c: In function 'destroy_all_conn': base/tcpconn.c:194:15: warning: unused variable 'r' [-Wunused-variable] int i = 0,r; ^ base/tcpconn.c:193:18: warning: unused variable 'conn' [-Wunused-variable] conn_struct *conn; ^ base/tcpconn.c: In function 'copy_tcp_segment_queue': base/tcpconn.c:229:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=packet_copy(in->p,&(*out)->p)) ^ base/tcpconn.c: At top level: base/tcpconn.c:46:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: tcpconn.c,v 1.7 2002/08/17 01:33:16 ekr Exp $"; ^ base/tcppack.c: In function 'process_tcp_packet': base/tcppack.c:90:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ntohs(p->tcp->th_sport),&p->ip->ip_dst,ntohs(p->tcp->th_dport))){ ^ base/tcppack.c:99:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=new_connection(handler,ctx,p,&conn)) ^ base/tcppack.c:155:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] UINT4 length; ^ base/tcppack.c: In function 'new_connection': base/tcppack.c:184:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &p->ip->ip_dst,ntohs(p->tcp->th_dport))) ^ base/tcppack.c:192:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &p->ip->ip_src,ntohs(p->tcp->th_sport))) ^ base/tcppack.c:201:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=create_proto_handler(handler,ctx,&conn->analyzer,conn,&p->ts)) ^ ssl/sslprint.c: In function 'process_beginning_plaintext': ssl/sslprint.c:70:20: warning: unused variable 'dt' [-Wunused-variable] struct timeval dt; ^ base/tcppack.c: In function 'process_data_segment': ssl/sslprint.c:69:9: warning: unused variable 'r' [-Wunused-variable] int r; ^ base/tcppack.c:306:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=packet_copy(p,&nseg->p)) ^ ssl/sslprint.c: In function 'process_v2_hello': ssl/sslprint.c:128:5: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"Version number",P_DC,&d,&ver); ^ In file included from ssl/sslprint.c:53:0: ssl/sslprint.h:57:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^ ssl/sslprint.c:128:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"Version number",P_DC,&d,&ver); ^ base/tcppack.c:374:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=conn->analyzer->vtbl->data(conn->analyzer->obj,&_seg,direction)) { ^ base/tcppack.c:382:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=conn->analyzer->vtbl->close(conn->analyzer->obj,p,direction)) { ^ ssl/sslprint.c:147:5: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"cipher_spec_length",P_DC,&d,&cs_len); ^ In file included from ssl/sslprint.c:53:0: ssl/sslprint.h:57:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^ ssl/sslprint.c:147:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"cipher_spec_length",P_DC,&d,&cs_len); ^ ssl/sslprint.c:148:5: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"session_id_length",P_DC,&d,&sid_len); ^ In file included from ssl/sslprint.c:53:0: ssl/sslprint.h:57:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^ ssl/sslprint.c:148:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"session_id_length",P_DC,&d,&sid_len); ^ ssl/sslprint.c:149:5: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"challenge_length",P_DC,&d,&chall_len); ^ In file included from ssl/sslprint.c:53:0: ssl/sslprint.h:57:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^ ssl/sslprint.c:149:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"challenge_length",P_DC,&d,&chall_len); ^ ssl/sslprint.c:163:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT24(ssl,0,0,&d,&val); ^ ssl/sslprint.c:161:13: warning: unused variable 'str' [-Wunused-variable] char *str; ^ ssl/sslprint.c:180:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,0,chall_len, ^ base/tcppack.c: At top level: base/tcppack.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: tcppack.c,v 1.11 2002/09/09 21:02:58 ekr Exp $"; ^ ssl/sslprint.c:189:5: warning: pointer targets in passing argument 2 of 'ssl_set_client_random' differ in signedness [-Wpointer-sign] ssl_set_client_random(ssl->decoder,random,32); ^ In file included from ssl/ssl_h.h:138:0, from ssl/sslprint.c:52: ssl/ssldecode.h:57:5: note: expected 'UCHAR *' but argument is of type 'char *' int ssl_set_client_random PROTO_LIST((ssl_decoder *dp, ^ ssl/sslprint.c:106:20: warning: unused variable 'dt' [-Wunused-variable] struct timeval dt; ^ ssl/sslprint.c: In function 'ssl_expand_record': ssl/sslprint.c:245:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,&d,&ct); ^ ssl/sslprint.c:246:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,&d,&vermaj); ^ ssl/sslprint.c:247:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,&d,&vermin); ^ ssl/sslprint.c:248:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,0,0,&d,&length); ^ ssl/sslprint.c:270:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_print_enum(ssl,0,ContentType_decoder,ct)) { ^ ssl/sslprint.c:277:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_decode_uintX(ssl,name,size,0,data,x)) ^ ssl/sslprint.c:396:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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 differ in signedness [-Wpointer-sign] char *ptr=data->data; ^ ssl/sslprint.c: In function 'ssl_print_timestamp': ssl/sslprint.c:624:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=timestamp_diff(ts,&ssl->time_start,&dt)) ^ ssl/sslprint.c:629:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=timestamp_diff(ts,&ssl->time_last,&dt)){ ^ ssl/sslprint.c: In function 'ssl_print_cipher_suite': ssl/sslprint.c:668:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_lookup_enum(ssl,cipher_suite_decoder,val,&str)){ ^ ssl/sslprint.c: At top level: ssl/sslprint.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: sslprint.c,v 1.8 2002/08/17 01:33:17 ekr Exp $"; ^ 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o ssl/ssldump-ssl.enums.o `test -f 'ssl/ssl.enums.c' || echo './'`ssl/ssl.enums.c 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o ssl/ssldump-sslxprint.o `test -f 'ssl/sslxprint.c' || echo './'`ssl/sslxprint.c ssl/ssldecode.c: In function 'ssl_decode_ctx_create': ssl/ssldecode.c:145:9: warning: unused variable 'r' [-Wunused-variable] int r,_status; ^ ssl/ssldecode.c: In function 'ssl_set_client_random': ssl/ssldecode.c:253:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_create(&d->client_random,msg,len)) ^ ssl/ssldecode.c: In function 'ssl_set_server_random': ssl/ssldecode.c:267:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_create(&d->server_random,msg,len)) ^ ssl/ssldecode.c: In function 'ssl_set_client_session_id': ssl/ssldecode.c:282:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_create(&d->session_id,msg,len)) ^ ssl/ssldecode.c: In function 'ssl_process_server_session_id': ssl/ssldecode.c:310:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_restore_session(ssl,d)) ^ ssl/ssldecode.c: In function 'ssl_decode_record': ssl/ssldecode.c:424:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_create(&hms,d,l)) ^ ssl/ssldecode.c: In function 'ssl_create_session_lookup_key': ssl/ssldecode.c:493:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(key,"%s:%d",ssl->server_name,ssl->server_port); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from ./base/network.h:54, from ssl/ssldecode.c:46: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'UCHAR *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ssl/ssldecode.c:494:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] *keyl+=strlen(key); ^ In file included from ./base/network.h:55:0, from ssl/ssldecode.c:46: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'UCHAR *' extern size_t strlen (const char *__s) ^ ssl/ssldecode.c:481:9: warning: unused variable 'r' [-Wunused-variable] 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] &lookup_key_len)) ^ ssl/ssldecode.c:472:12: note: expected 'UINT4 *' but argument is of type 'int *' static int ssl_create_session_lookup_key(ssl,id,idlen,keyp,keyl) ^ ssl/ssldecode.c:515:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &lookup_key_len)) ^ ssl/ssldecode.c:518:7: warning: pointer targets in passing argument 2 of 'r_assoc_fetch' differ in signedness [-Wpointer-sign] &msv)) ^ In file included from ssl/ssldecode.c:59:0: ./common/include/r_assoc.h:63:5: note: expected 'char *' but argument is of type 'UCHAR *' int r_assoc_fetch PROTO_LIST((r_assoc *assoc,char *key, int len, ^ ssl/ssldecode.c:518:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &msv)) ^ ssl/ssldecode.c:521:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_create(&d->MS,msd->data,msd->len)) ^ ssl/ssldecode.c:530:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] &lookup_key_len)) ^ ssl/ssldecode.c:472:12: note: expected 'UINT4 *' but argument is of type 'int *' static int ssl_create_session_lookup_key(ssl,id,idlen,keyp,keyl) ^ ssl/ssldecode.c:561:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &lookup_key_len)) ^ ssl/ssldecode.c:563:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_create(&msd,d->MS->data,d->MS->len)) ^ ssl/ssldecode.c:567:7: warning: pointer targets in passing argument 2 of 'r_assoc_insert' differ in signedness [-Wpointer-sign] R_ASSOC_NEW | R_ASSOC_REPLACE)) ^ In file included from ssl/ssldecode.c:59:0: ./common/include/r_assoc.h:57:5: note: expected 'char *' but argument is of type 'UCHAR *' int r_assoc_insert PROTO_LIST((r_assoc *assoc,char *key,int len, ^ ssl/ssldecode.c:567:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] R_ASSOC_NEW | R_ASSOC_REPLACE)) ^ ssl/ssldecode.c:554:11: warning: unused variable 'msv' [-Wunused-variable] void *msv; ^ ssl/ssldecode.c: In function 'ssl_process_client_key_exchange': ssl/ssldecode.c:618:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&d->PMS,BN_num_bytes(n))) ^ ssl/ssldecode.c:637:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_generate_keying_material(ssl,d)) ^ ssl/ssldecode.c:646:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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 (declared at /usr/include/openssl11/openssl/hmac.h:30) [-Wdeprecated-declarations] HMAC_Init(hm,secret->data,secret->len,md); ^ ssl/ssldecode.c:687:7: warning: 'HMAC_Init' is deprecated (declared at /usr/include/openssl11/openssl/hmac.h:30) [-Wdeprecated-declarations] HMAC_Init(hm,secret->data,secret->len,md); ^ ssl/ssldecode.c: In function 'tls_prf': ssl/ssldecode.c:720:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&md5_out,MAX(out->len,16))) ^ ssl/ssldecode.c:722:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&sha_out,MAX(out->len,20))) ^ ssl/ssldecode.c:724:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&seed,strlen(usage)+rnd1->len+rnd2->len)) ^ ssl/ssldecode.c:733:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&S1,S_l)) ^ ssl/ssldecode.c:735:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&S2,S_l)) ^ ssl/ssldecode.c:742:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] (ssl,S1,seed,EVP_get_digestbyname("MD5"),md5_out)) ^ ssl/ssldecode.c:744:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&sha_out,MAX(out->len,64))) /* assume max SHA512 */ ^ ssl/ssldecode.c:781:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&seed,strlen(usage)+rnd1->len+rnd2->len)) ^ ssl/ssldecode.c:796:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=tls_P_hash(ssl,secret,seed,md,sha_out)) ^ ssl/ssldecode.c: In function 'ssl3_prf': ssl/ssldecode.c:890:7: warning: pointer targets in passing argument 1 of 'MD5_Final' differ in signedness [-Wpointer-sign] MD5_Final(outbuf,&md5); ^ In file included from ssl/ssldecode.c:54:0: /usr/include/openssl11/openssl/md5.h:42:5: note: expected 'unsigned char *' but argument is of type 'char *' int MD5_Final(unsigned char *md, MD5_CTX *c); ^ In file included from ssl/ssl_h.h:138:0, from ssl/ssldecode.c:47: ssl/ssldecode.h:50:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] #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' CRDUMP("MD5 out",outbuf,16); ^ ssl/ssldecode.c: In function 'ssl_generate_keying_material': ssl/ssldecode.c:913:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&d->MS,48)) ^ ssl/ssldecode.c:917:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_generate_session_hash(ssl,d)) ^ ssl/ssldecode.c:921:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=PRF(ssl,d->PMS,"extended master secret",d->session_hash,&temp, ^ ssl/ssldecode.c:926:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=PRF(ssl,d->PMS,"master secret",d->client_random,d->server_random, ^ ssl/ssldecode.c:941:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&key_block,needed)) ^ ssl/ssldecode.c:943:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=PRF(ssl,d->MS,"key expansion",d->server_random,d->client_random, ^ ssl/ssldecode.c:974:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] d->server_random,&iv_c)) ^ ssl/ssldecode.c:977:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] d->client_random,&iv_s)) ^ ssl/ssldecode.c:995:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=PRF(ssl,&key_null,"IV block",d->client_random, ^ ssl/ssldecode.c:1028:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=PRF(ssl,&k,"client write key",d->client_random,d->server_random, ^ ssl/ssldecode.c:1033:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] Data c_iv_d,s_iv_d; ^ ssl/ssldecode.c:964:12: warning: unused variable 'c_iv_d' [-Wunused-variable] Data c_iv_d,s_iv_d; ^ ssl/ssldecode.c:1051:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ssl->cs,c_mk,c_wk,c_iv)) ^ ssl/ssldecode.c:1054:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ssl->cs,s_mk,s_wk,s_iv)) ^ ssl/ssldecode.c: In function 'ssl_generate_session_hash': ssl/ssldecode.c:1076:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&d->session_hash,EVP_MAX_MD_SIZE)) ^ ssl/ssldecode.c:1088:2: warning: passing argument 1 of 'EVP_DigestInit' from incompatible pointer type [enabled by default] EVP_DigestInit(dgictx,md); ^ In file included from /usr/include/openssl11/openssl/x509.h:18:0, from /usr/include/openssl11/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl11/openssl/evp.h:559:12: note: expected 'struct EVP_MD_CTX *' but argument is of type 'struct HMAC_CTX *' __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); ^ ssl/ssldecode.c:1089:2: warning: passing argument 1 of 'EVP_DigestUpdate' from incompatible pointer type [enabled by default] EVP_DigestUpdate(dgictx,d->handshake_messages->data,d->handshake_messages->len); ^ In file included from /usr/include/openssl11/openssl/x509.h:18:0, from /usr/include/openssl11/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl11/openssl/evp.h:550:12: note: expected 'struct EVP_MD_CTX *' but argument is of type 'struct HMAC_CTX *' __owur int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, ^ ssl/ssldecode.c:1090:2: warning: passing argument 1 of 'EVP_DigestFinal' from incompatible pointer type [enabled by default] EVP_DigestFinal(dgictx,d->session_hash->data,&d->session_hash->len); ^ In file included from /usr/include/openssl11/openssl/x509.h:18:0, from /usr/include/openssl11/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl11/openssl/evp.h:560:12: note: expected 'struct EVP_MD_CTX *' but argument is of type 'struct HMAC_CTX *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^ ssl/ssldecode.c:1090:2: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness [-Wpointer-sign] EVP_DigestFinal(dgictx,d->session_hash->data,&d->session_hash->len); ^ In file included from /usr/include/openssl11/openssl/x509.h:18:0, from /usr/include/openssl11/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl11/openssl/evp.h:560:12: note: expected 'unsigned int *' but argument is of type 'int *' __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, ^ ssl/ssldecode.c:1096:2: warning: passing argument 1 of 'EVP_DigestInit' from incompatible pointer type [enabled by default] EVP_DigestInit(dgictx,EVP_get_digestbyname("MD5")); ^ In file included from /usr/include/openssl11/openssl/x509.h:18:0, from /usr/include/openssl11/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl11/openssl/evp.h:559:12: note: expected 'struct EVP_MD_CTX *' but argument is of type 'struct HMAC_CTX *' __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); ^ ssl/ssldecode.c:1097:2: warning: passing argument 1 of 'EVP_DigestUpdate' from incompatible pointer type [enabled by default] EVP_DigestUpdate(dgictx,d->handshake_messages->data,d->handshake_messages->len); ^ In file included from /usr/include/openssl11/openssl/x509.h:18:0, from /usr/include/openssl11/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl11/openssl/evp.h:550:12: note: expected 'struct EVP_MD_CTX *' but argument is of type 'struct HMAC_CTX *' __owur int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, ^ ssl/ssldecode.c:1098:2: warning: passing argument 1 of 'EVP_DigestFinal_ex' from incompatible pointer type [enabled by default] EVP_DigestFinal_ex(dgictx,d->session_hash->data,&d->session_hash->len); ^ In file included from /usr/include/openssl11/openssl/x509.h:18:0, from /usr/include/openssl11/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl11/openssl/evp.h:552:12: note: expected 'struct EVP_MD_CTX *' but argument is of type 'struct HMAC_CTX *' __owur int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, ^ ssl/ssldecode.c:1098:2: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal_ex' differ in signedness [-Wpointer-sign] EVP_DigestFinal_ex(dgictx,d->session_hash->data,&d->session_hash->len); ^ In file included from /usr/include/openssl11/openssl/x509.h:18:0, from /usr/include/openssl11/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl11/openssl/evp.h:552:12: note: expected 'unsigned int *' but argument is of type 'int *' __owur int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, ^ ssl/ssldecode.c:1100:2: warning: passing argument 1 of 'EVP_DigestInit' from incompatible pointer type [enabled by default] EVP_DigestInit(dgictx,EVP_get_digestbyname("SHA1")); ^ In file included from /usr/include/openssl11/openssl/x509.h:18:0, from /usr/include/openssl11/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl11/openssl/evp.h:559:12: note: expected 'struct EVP_MD_CTX *' but argument is of type 'struct HMAC_CTX *' __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); ^ ssl/ssldecode.c:1101:2: warning: passing argument 1 of 'EVP_DigestUpdate' from incompatible pointer type [enabled by default] EVP_DigestUpdate(dgictx,d->handshake_messages->data,d->handshake_messages->len); ^ In file included from /usr/include/openssl11/openssl/x509.h:18:0, from /usr/include/openssl11/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl11/openssl/evp.h:550:12: note: expected 'struct EVP_MD_CTX *' but argument is of type 'struct HMAC_CTX *' __owur int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, ^ ssl/ssldecode.c:1102:2: warning: passing argument 1 of 'EVP_DigestFinal' from incompatible pointer type [enabled by default] EVP_DigestFinal(dgictx,d->session_hash->data+d->session_hash->len,&len); ^ In file included from /usr/include/openssl11/openssl/x509.h:18:0, from /usr/include/openssl11/openssl/ssl.h:20, from ssl/ssldecode.c:51: /usr/include/openssl11/openssl/evp.h:560:12: note: expected 'struct EVP_MD_CTX *' but argument is of type 'struct HMAC_CTX *' __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:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&d->MS,48)) ^ ssl/ssldecode.c:1118:19: warning: unused variable 'dgi' [-Wunused-variable] int r,_status,dgi,n,i; ^ ssl/ssldecode.c: At top level: ssl/ssldecode.c:60:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: ssldecode.c,v 1.9 2002/08/17 01:33:17 ekr Exp $"; ^ ssl/ssl.enums.c: In function 'decode_ContentType_Alert': ssl/ssl.enums.c:54:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_ENUM(ssl,"level",1,AlertLevel_decoder,P_HL,data,0); ^ ssl/ssl.enums.c:56:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_ENUM(ssl,"value",1,AlertDescription_decoder,P_HL,data,0); ^ ssl/ssl.enums.c:60:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_ENUM(ssl,0,1,AlertLevel_decoder,SSL_PRINT_ALL,data,0); ^ ssl/ssl.enums.c:61:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_ENUM(ssl,0,1,AlertDescription_decoder,SSL_PRINT_ALL,data,0); ^ ssl/ssl.enums.c: In function 'decode_ContentType_Handshake': ssl/ssl.enums.c:87:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&t); ^ ssl/ssl.enums.c:88:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT24(ssl,0,0,data,&l); ^ ssl/ssl.enums.c: In function 'decode_ContentType_application_data': ssl/ssl.enums.c:122:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"data",data->len,0,data,&d); ^ ssl/ssl.enums.c: In function 'decode_HandshakeType_ClientHello': ssl/ssl.enums.c:187:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vj); ^ ssl/ssl.enums.c:188:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vn); ^ ssl/ssl.enums.c:194:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"random",32,P_ND,data,&random); ^ ssl/ssl.enums.c:197:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"session_id",-32,0,data,&session_id); ^ ssl/ssl.enums.c:209:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"cipher Suites len",0,data,&cslen); ^ ssl/ssl.enums.c:226:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,"compressionMethod len",0,data,&complen); ^ ssl/ssl.enums.c:230:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_ENUM(ssl,0,1,compression_method_decoder,P_HL,data,&comp); ^ ssl/ssl.enums.c:235:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"extensions len",0,data,&exlen); ^ ssl/ssl.enums.c:239:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl, "extension type", 0, data, &ex); ^ ssl/ssl.enums.c: In function 'decode_HandshakeType_ServerHello': ssl/ssl.enums.c:268:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vj); ^ ssl/ssl.enums.c:269:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vn); ^ ssl/ssl.enums.c:277:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"random",32,P_ND,data,&rnd); ^ ssl/ssl.enums.c:279:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"session_id",-32,P_HL,data,&session_id); ^ ssl/ssl.enums.c:280:5: warning: pointer targets in passing argument 7 of 'ssl_decode_enum' differ in signedness [-Wpointer-sign] SSL_DECODE_ENUM(ssl,"cipherSuite",2,cipher_suite_decoder, ^ In file included from ssl/ssl.enums.c:3:0: ssl/sslprint.h:61:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_enum PROTO_LIST((ssl_obj *ssl,char *name, ^ ssl/ssl.enums.c:280:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_ENUM(ssl,"cipherSuite",2,cipher_suite_decoder, ^ ssl/ssl.enums.c:292:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_ENUM(ssl,"compressionMethod",1,compression_method_decoder,P_HL,data,0); ^ ssl/ssl.enums.c:295:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"extensions len",0,data,&exlen); ^ ssl/ssl.enums.c:299:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl, "extension type", 0, data, &ex); ^ ssl/ssl.enums.c: In function 'decode_HandshakeType_Certificate': ssl/ssl.enums.c:328:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT24(ssl,"certificates len",0,data,&len); ^ ssl/ssl.enums.c:331:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"certificate",-((1<<23)-1), ^ ssl/ssl.enums.c: In function 'decode_HandshakeType_ServerKeyExchange': ssl/ssl.enums.c:360:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_p",-((1<<15)-1),P_ND,data,0); ^ ssl/ssl.enums.c:361:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_g",-((1<<15)-1),P_ND,data,0); ^ ssl/ssl.enums.c:362:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_Ys",-((1<<15)-1),P_ND,data,0); ^ ssl/ssl.enums.c:365:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"RSA_modulus",-((1<<15)-1),P_ND,data,0); ^ ssl/ssl.enums.c:366:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"RSA_exponent",-((1<<15)-1),P_ND,data,0); ^ ssl/ssl.enums.c:370:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"signature",-((1<<15)-1),P_ND,data,0); ^ ssl/ssl.enums.c: In function 'decode_HandshakeType_CertificateRequest': ssl/ssl.enums.c:390:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,"certificate_types len",0,data,&len); ^ ssl/ssl.enums.c:392:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_ENUM(ssl,"certificate_types",1, ^ ssl/ssl.enums.c:399:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"certificate_authorities len",0,data,&len); ^ ssl/ssl.enums.c:401:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"certificate_authorities", ^ ssl/ssl.enums.c: In function 'decode_HandshakeType_CertificateVerify': ssl/ssl.enums.c:436:3: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"Signature",-(1<<15-1),P_HL,data,0); ^ ssl/ssl.enums.c:436:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ssl/ssl.enums.c: In function 'decode_HandshakeType_ClientKeyExchange': ssl/ssl.enums.c:458:13: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), ^ ssl/ssl.enums.c:458:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ssl/ssl.enums.c:463:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",data->len,P_ND,data,&pms); ^ ssl/ssl.enums.c:470:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"DiffieHellmanClientPublicValue", ^ ssl/ssl.enums.c: In function 'decode_HandshakeType_Finished': ssl/ssl.enums.c:492:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"md5_hash",16,P_ND,data,0); ^ ssl/ssl.enums.c:494:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"sha_hash",20,P_ND,data,0); ^ ssl/ssl.enums.c:497:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:5: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); ^ In file included from ssl/ssl.enums.c:3:0: ssl/sslprint.h:57:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^ ssl/ssl.enums.c:2529:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); ^ ssl/ssl.enums.c:2532:7: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"server name list length",0,data,&l); ^ In file included from ssl/ssl.enums.c:3:0: ssl/sslprint.h:57:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^ ssl/ssl.enums.c:2532:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"server name list length",0,data,&l); ^ ssl/ssl.enums.c:2536:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:5: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); ^ In file included from ssl/ssl.enums.c:3:0: ssl/sslprint.h:57:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^ ssl/ssl.enums.c:2564:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:5: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); ^ In file included from ssl/ssl.enums.c:3:0: ssl/sslprint.h:57:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^ ssl/ssl.enums.c:2581:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); ^ ssl/ssl.enums.c: In function 'decode_extension': ssl/ssl.enums.c:2595:5: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"extension length",0,data,&l); ^ In file included from ssl/ssl.enums.c:3:0: ssl/sslprint.h:57:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^ ssl/ssl.enums.c:2595:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:5: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"server name length",0,data,&l); ^ In file included from ssl/ssl.enums.c:3:0: ssl/sslprint.h:57:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^ ssl/ssl.enums.c:2674:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"server name length",0,data,&l); ^ ssl/ssl.enums.c: In function 'decode_server_name': ssl/ssl.enums.c:2701:5: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"server name length",0,data,&l); ^ In file included from ssl/ssl.enums.c:3:0: ssl/sslprint.h:57:5: note: expected 'UINT4 *' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^ ssl/ssl.enums.c:2701:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT16(ssl,"server name length",0,data,&l); ^ 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o ssl/ssldump-ciphersuites.o `test -f 'ssl/ciphersuites.c' || echo './'`ssl/ciphersuites.c ssl/sslxprint.c: In function 'sslx_print_certificate': ssl/sslxprint.c:85:7: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type [enabled by default] if(!(x=d2i_X509(0,&d,data->len))){ ^ In file included from ssl/sslxprint.c:54:0: /usr/include/openssl11/openssl/asn1.h:231:15: note: expected 'const unsigned char **' but argument is of type 'UCHAR **' type *d2i_##name(type **a, const unsigned char **in, long len); \ ^ /usr/include/openssl11/openssl/asn1.h:224:9: note: in expansion of macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) ^ /usr/include/openssl11/openssl/asn1.h:217:39: note: in expansion of macro 'DECLARE_ASN1_FUNCTIONS_name' # define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) ^ /usr/include/openssl11/openssl/x509.h:551:1: note: in expansion of macro 'DECLARE_ASN1_FUNCTIONS' DECLARE_ASN1_FUNCTIONS(X509) ^ ssl/sslxprint.c:118:11: warning: pointer targets in passing argument 1 of 'i2t_ASN1_OBJECT' differ in signedness [-Wpointer-sign] i2t_ASN1_OBJECT(buf,sizeof(buf),obj); ^ In file included from ssl/sslxprint.c:54:0: /usr/include/openssl11/openssl/asn1.h:646:5: note: expected 'char *' but argument is of type 'UCHAR *' 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:2: warning: passing argument 2 of 'd2i_X509_NAME' from incompatible pointer type [enabled by default] if(!(n=d2i_X509_NAME(0,&d,data->len))) ^ In file included from ssl/sslxprint.c:54:0: /usr/include/openssl11/openssl/asn1.h:231:15: note: expected 'const unsigned char **' but argument is of type 'UCHAR **' type *d2i_##name(type **a, const unsigned char **in, long len); \ ^ /usr/include/openssl11/openssl/asn1.h:224:9: note: in expansion of macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) ^ /usr/include/openssl11/openssl/asn1.h:217:39: note: in expansion of macro 'DECLARE_ASN1_FUNCTIONS_name' # define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) ^ /usr/include/openssl11/openssl/x509.h:545:1: note: in expansion of macro 'DECLARE_ASN1_FUNCTIONS' DECLARE_ASN1_FUNCTIONS(X509_NAME) ^ ssl/sslxprint.c:179:2: warning: pointer targets in passing argument 2 of 'X509_NAME_oneline' differ in signedness [-Wpointer-sign] X509_NAME_oneline(n,buf,BUFSIZE); ^ In file included from ssl/sslxprint.c:55:0: /usr/include/openssl11/openssl/x509.h:609:7: note: expected 'char *' but argument is of type 'UCHAR *' char *X509_NAME_oneline(const X509_NAME *a, char *buf, int size); ^ ssl/sslxprint.c:180:2: warning: pointer targets in passing argument 2 of 'sslx__print_dn' differ in signedness [-Wpointer-sign] sslx__print_dn(ssl,buf); ^ ssl/sslxprint.c:61:12: note: expected 'char *' but argument is of type 'UCHAR *' static int sslx__print_dn PROTO_LIST((ssl_obj *ssl,char *x)); ^ ssl/sslxprint.c: In function 'sslx__print_dn': ssl/sslxprint.c:207:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(slash=strchr(x,'/')){ ^ ssl/sslxprint.c: At top level: ssl/sslxprint.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: sslxprint.c,v 1.3 2000/11/03 06:38:06 ekr Exp $"; ^ ssl/ciphersuites.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: ciphersuites.c,v 1.3 2002/08/17 01:33:17 ekr Exp $"; ^ In file included from ssl/ssl_h.h:138:0, from ssl/ssldecode.c:47: ssl/ssldecode.c: In function 'ssl_generate_keying_material': ssl/ssldecode.h:50:47: warning: 's_iv' may be used uninitialized in this function [-Wmaybe-uninitialized] #define CRDUMP(a,b,c) P_(P_CR) {Data d; d.data=b; d.len=c; exdump(ssl,a,&d); printf("\n");} ^ 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o ssl/ssldump-ssl_rec.o `test -f 'ssl/ssl_rec.c' || echo './'`ssl/ssl_rec.c ssl/ssldecode.c:910:47: note: 's_iv' was declared here UCHAR *ptr,*c_wk,*s_wk,*c_mk,*s_mk,*c_iv,*s_iv; ^ ssl/ssldecode.c:1050:7: warning: 'c_iv' may be used uninitialized in this function [-Wmaybe-uninitialized] if(r=ssl_create_rec_decoder(&d->c_to_s_n, ^ In file included from ssl/ssl_h.h:138:0, from ssl/ssldecode.c:47: ssl/ssldecode.h:50:47: warning: 's_mk' may be used uninitialized in this function [-Wmaybe-uninitialized] #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:910:35: note: 's_mk' was declared here UCHAR *ptr,*c_wk,*s_wk,*c_mk,*s_mk,*c_iv,*s_iv; ^ ssl/ssldecode.c:1050:7: warning: 'c_mk' may be used uninitialized in this function [-Wmaybe-uninitialized] if(r=ssl_create_rec_decoder(&d->c_to_s_n, ^ 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(cleaned_conn = clean_old_conn()) ^ base/pcap-snoop.c: In function 'main': base/pcap-snoop.c:457:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=network_handler_create(mod,&n)) ^ base/pcap-snoop.c: At top level: base/pcap-snoop.c:50:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: pcap-snoop.c,v 1.14 2002/09/09 21:02:58 ekr Exp $"; ^ ssl/ssldecode.c: In function 'ssl_process_server_session_id': ssl/ssldecode.c:323:5: warning: '_status' may be used uninitialized in this function [-Wmaybe-uninitialized] return(_status); ^ ssl/ssl_rec.c: In function 'ssl_create_rec_decoder': ssl/ssl_rec.c:131:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&dec->mac_key,cs->dig_len)) ^ ssl/ssl_rec.c:134:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&dec->implicit_iv,cs->block)) ^ ssl/ssl_rec.c:138:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=tls_check_mac(d,ct,version,in+blk,encpadl,in,blk,mac)) ^ ssl/ssl_rec.c:282:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=tls_check_mac(d,ct,version,in,encpadl,NULL,0,mac)) ^ ssl/ssl_rec.c:306:2: warning: implicit declaration of function 'ssl3_check_mac' [-Wimplicit-function-declaration] if(r=ssl3_check_mac(d,ct,version,out,*outl,mac)) ^ ssl/ssl_rec.c:306:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ssl/ssl_rec.c:323:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] 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 (declared at /usr/include/openssl11/openssl/hmac.h:30) [-Wdeprecated-declarations] HMAC_Init(hm,d->mac_key->data,d->mac_key->len,md); ^ ssl/ssl_rec.c: At top level: ssl/ssl_rec.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: ssl_rec.c,v 1.3 2000/11/03 06:38:06 ekr Exp $"; ^ 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o base/ssldump-network.o `test -f 'base/network.c' || echo './'`base/network.c 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o base/ssldump-proto_mod.o `test -f 'base/proto_mod.c' || echo './'`base/proto_mod.c 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o ssl/ssldump-ssl_analyze.o `test -f 'ssl/ssl_analyze.c' || echo './'`ssl/ssl_analyze.c base/network.c: In function 'network_handler_create': base/network.c:82:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=mod->vtbl->create_ctx(mod->handle,&handler->ctx)) ^ base/network.c: In function 'network_process_packet': base/network.c:151:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=process_tcp_packet(handler->mod,handler->ctx,&p)) ^ base/network.c: At top level: base/network.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: network.c,v 1.10 2002/09/09 21:02:58 ekr Exp $"; ^ base/proto_mod.c: In function 'create_proto_handler': base/proto_mod.c:65:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &conn->i_addr,conn->i_port,&conn->r_addr,conn->r_port,first_packet)) ^ base/proto_mod.c: At top level: base/proto_mod.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: proto_mod.c,v 1.3 2001/07/20 23:33:14 ekr Exp $"; ^ ssl/ssl_analyze.c: In function 'parse_ssl_flags': ssl/ssl_analyze.c:191:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(x=strtok(y,",")){ ^ ssl/ssl_analyze.c: In function 'create_ssl_ctx': ssl/ssl_analyze.c:222:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=create_r_queue(&obj->r2i_queue)) ^ ssl/ssl_analyze.c:253:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=create_r_queue(&obj->i2r_queue)) ^ ssl/ssl_analyze.c:267:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_decoder_create(&obj->decoder,obj->ssl_ctx)) ^ ssl/ssl_analyze.c: In function 'read_ssl_record': ssl/ssl_analyze.c:358:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=read_data(q,seg,offset,&last,&offset)) ^ ssl/ssl_analyze.c:390:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=read_data(q,last,offset,&last,&offset)) ^ ssl/ssl_analyze.c: In function 'read_data': ssl/ssl_analyze.c:440:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=copy_tcp_segment_queue(&q->q,seg)) ^ ssl/ssl_analyze.c: In function 'data_ssl_analyzer': ssl/ssl_analyze.c:517:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] struct timeval dt; ^ ssl/ssl_analyze.c:549:9: warning: unused variable 'r' [-Wunused-variable] int r; ^ ssl/ssl_analyze.c: In function 'print_ssl_record': ssl/ssl_analyze.c:580:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=print_ssl_header(obj,direction,q,data,len)) ^ ssl/ssl_analyze.c: At top level: ssl/ssl_analyze.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: ssl_analyze.c,v 1.8 2002/01/21 18:46:13 ekr Exp $"; ^ 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o null/ssldump-null_analyze.o `test -f 'null/null_analyze.c' || echo './'`null/null_analyze.c 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o common/lib/ssldump-r_data.o `test -f 'common/lib/r_data.c' || echo './'`common/lib/r_data.c 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o common/lib/ssldump-r_assoc.o `test -f 'common/lib/r_assoc.c' || echo './'`common/lib/r_assoc.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] null_analyzer *obj; ^ null/null_analyze.c: At top level: null/null_analyze.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: null_analyze.c,v 1.6 2001/11/26 22:28:16 ekr Exp $"; ^ common/lib/r_data.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: r_data.c,v 1.3 2001/07/20 23:33:15 ekr Exp $"; ^ common/lib/r_assoc.c: In function 'copy_assoc_chain': common/lib/r_assoc.c:177:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=old->copy(&ptr->data,old->data)) ^ common/lib/r_assoc.c: In function 'r_assoc_fetch': common/lib/r_assoc.c:228:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=copy_assoc_chain(new->chains+i,old->chains[i])) ^ common/lib/r_assoc.c: At top level: common/lib/r_assoc.c:57:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: r_assoc.c,v 1.4 2001/12/24 06:06:26 ekr Exp $"; ^ 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o common/lib/ssldump-r_errors.o `test -f 'common/lib/r_errors.c' || echo './'`common/lib/r_errors.c 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -c -o common/lib/ssldump-debug.o `test -f 'common/lib/debug.c' || echo './'`common/lib/debug.c common/lib/r_errors.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: r_errors.c,v 1.3 2001/12/24 06:06:27 ekr Exp $"; ^ common/lib/debug.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: debug.c,v 1.3 2001/12/24 06:06:26 ekr Exp $"; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/openssl11 -D_BSD_SOURCE -O2 -Wl,-z,relro -L/usr/lib/openssl11 -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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GA4J5d + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm ++ dirname /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm + cd ssldump-1.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm make[1]: Entering directory `/builddir/build/BUILD/ssldump-1.2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/bin' /usr/bin/install -c ssldump '/builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/man/man1' /usr/bin/install -c -m 644 ssldump.1 '/builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/man/man1' make[1]: Leaving directory `/builddir/build/BUILD/ssldump-1.2' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/ssldump-1.2 extracting debug info from /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/bin/ssldump dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 480 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ssldump-1.2-1.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gOell6 + umask 022 + cd /builddir/build/BUILD + cd ssldump-1.2 + DOCDIR=/builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/doc/ssldump-1.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/doc/ssldump-1.2 + cp -pr ChangeLog /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/doc/ssldump-1.2 + cp -pr CREDITS /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/doc/ssldump-1.2 + cp -pr HOWTO /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/doc/ssldump-1.2 + cp -pr README /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/doc/ssldump-1.2 + cp -pr README.md /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/doc/ssldump-1.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UHXta6 + umask 022 + cd /builddir/build/BUILD + cd ssldump-1.2 + LICENSEDIR=/builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/licenses/ssldump-1.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/licenses/ssldump-1.2 + cp -pr COPYRIGHT /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm/usr/share/licenses/ssldump-1.2 + exit 0 Provides: ssldump = 1.2-1.el7 ssldump(armv7hl-32) = 1.2-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypto.so.1.1 libcrypto.so.1.1(OPENSSL_1_1_0) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libpcap.so.1 libssl.so.1.1 libssl.so.1.1(OPENSSL_1_1_0) rtld(GNU_HASH) Processing files: ssldump-debuginfo-1.2-1.el7.armv7hl Provides: ssldump-debuginfo = 1.2-1.el7 ssldump-debuginfo(armv7hl-32) = 1.2-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm Wrote: /builddir/build/RPMS/ssldump-1.2-1.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/ssldump-debuginfo-1.2-1.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xBEiJW + umask 022 + cd /builddir/build/BUILD + cd ssldump-1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ssldump-1.2-1.el7.arm + exit 0 Child return code was: 0