Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ssldump.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-6f9c2aae3da2cbde486d6e2c0c86b01f4c41fdef/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) 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', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/ssldump-0.9-0.9.b3.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'], chrootPath='/var/lib/mock/epel-1-armhfp-6f9c2aae3da2cbde486d6e2c0c86b01f4c41fdef/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=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', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BYAx1u + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ssldump-0.9b3 + /usr/bin/gzip -dc /builddir/build/SOURCES/ssldump-0.9b3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ssldump-0.9b3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ssldump-0.9-openssl.patch):' Patch #0 (ssldump-0.9-openssl.patch): + /usr/bin/cat /builddir/build/SOURCES/ssldump-0.9-openssl.patch + /usr/bin/patch -p1 -b --suffix .openssl --fuzz=0 patching file ssl/ssl_analyze.c patching file ssl/ssldecode.c patching file ssldump.1 patching file base/pcap-snoop.c Patch #1 (ssldump-0.9-libpcap.patch): + echo 'Patch #1 (ssldump-0.9-libpcap.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssldump-0.9-libpcap.patch + /usr/bin/patch -p1 -b --suffix .libpcap --fuzz=0 patching file base/pcap-snoop.c patching file configure.in Patch #2 (ssldump-0.9-aes.patch): + echo 'Patch #2 (ssldump-0.9-aes.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssldump-0.9-aes.patch + /usr/bin/patch -p1 -b --suffix .aes --fuzz=0 patching file ssl/sslciphers.h patching file ssl/ssl_rec.c patching file ssl/ssl.enums patching file ssl/ciphersuites.c patching file ssl/ssl.enums.c patching file ssl/ssl_enum.c Patch #3 (ssldump-0.9-cvs-20060619.patch): + echo 'Patch #3 (ssldump-0.9-cvs-20060619.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssldump-0.9-cvs-20060619.patch + /usr/bin/patch -p1 -b --suffix .cvs-20060619 --fuzz=0 patching file ssl/sslprint.c patching file ssl/ssl_analyze.c patching file base/tcppack.c patching file common/lib/r_assoc.c + echo 'Patch #4 (ssldump-0.9-table-stops.patch):' Patch #4 (ssldump-0.9-table-stops.patch): + /usr/bin/cat /builddir/build/SOURCES/ssldump-0.9-table-stops.patch + /usr/bin/patch -p1 -b --suffix .table-stops --fuzz=0 patching file ssl/ssl.enums.c patching file ssl/ssl_enum.c Patch #5 (ssldump-0.9-link_layer.patch): + echo 'Patch #5 (ssldump-0.9-link_layer.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssldump-0.9-link_layer.patch + /usr/bin/patch -p1 -b --suffix .link_layer --fuzz=0 patching file base/pcap-snoop.c Patch #6 (ssldump-0.9-pcap-vlan.patch): + echo 'Patch #6 (ssldump-0.9-pcap-vlan.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssldump-0.9-pcap-vlan.patch + /usr/bin/patch -p1 -b --suffix .pcap-vlan --fuzz=0 patching file base/pcap-snoop.c Patch #7 (ssldump-0.9-tlsv12.patch): + echo 'Patch #7 (ssldump-0.9-tlsv12.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssldump-0.9-tlsv12.patch + /usr/bin/patch -p1 -b --suffix .tlsv12 --fuzz=0 patching file ssl/ssl_rec.c patching file ssl/sslciphers.h patching file ssl/ssldecode.c patching file ssl/ssl_h.h Patch #8 (ssldump-0.9-ssl-enums.patch): + echo 'Patch #8 (ssldump-0.9-ssl-enums.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssldump-0.9-ssl-enums.patch + /usr/bin/patch -p1 -b --suffix .ssl-enums --fuzz=0 patching file ssl/ssl.enums patching file ssl/ssl.enums.c Patch #9 (ssldump-0.9-ciphersuites.patch): + echo 'Patch #9 (ssldump-0.9-ciphersuites.patch):' + /usr/bin/cat /builddir/build/SOURCES/ssldump-0.9-ciphersuites.patch + /usr/bin/patch -p1 -b --suffix .ciphersuites --fuzz=0 patching file ssl/ciphersuites.c + cp -pf /builddir/build/SOURCES/README.FEDORA . + autoconf --force + cp -pf /usr/share/automake-1.13/config.guess /usr/share/automake-1.13/config.sub . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JP0wnq + umask 022 + cd /builddir/build/BUILD + cd ssldump-0.9b3 + 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' + 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 ' + 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 --with-pcap-inc=/usr/include --with-pcap-lib=/usr/lib --with-openssl-inc=/usr/include --with-openssl-lib=/usr/lib configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for armv7hl-redhat-linux-gnu-gcc... 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 whether make sets $(MAKE)... yes checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c configuring for linux-gnu checking for pow in -lm... yes checking for PCAP include files... found in /usr/include checking for PCAP library... found in /usr/lib checking for OpenSSL include files... found in /usr/include checking for OpenSSL libraries... found in /usr/lib checking for pcap_open in -lpcap... no 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 sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... 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 working memcmp... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for strdup... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o debug.o common/lib/debug.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_assoc.o common/lib/r_assoc.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_bitfield.o common/lib/r_bitfield.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_data.o common/lib/r_data.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include common/lib/r_bitfield.c: In function 'r_bitfield_create': common/lib/r_bitfield.c:29:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(set->data,0,4*num_words); ^ common/lib/r_bitfield.c:29:5: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] common/lib/r_bitfield.c: In function 'r_bitfield_set': common/lib/r_bitfield.c:80:7: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(tmp,set->data,set->len*4); ^ common/lib/r_bitfield.c:80:7: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] common/lib/r_bitfield.c:81:7: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] memset(tmp+set->len*4,0,(newlen-set->len)*4); ^ common/lib/r_bitfield.c: At top level: common/lib/r_bitfield.c:11:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: r_bitfield.c,v 1.3 2001/12/24 06:06:26 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/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 $"; ^ common/lib/r_data.c: In function 'r_data_create': common/lib/r_assoc.c:185:7: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(ptr->key,old->key,ptr->key_len=old->key_len); ^ common/lib/r_assoc.c:185:7: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] common/lib/r_data.c:65:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(d_->data,d,l); ^ common/lib/r_data.c:65:5: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] common/lib/r_assoc.c: In function 'r_assoc_fetch_bucket': common/lib/r_assoc.c:210:7: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] if(bucket->key_len == len && !memcmp(bucket->key,key,len)){ ^ 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:262:7: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] memcpy(new_bucket->key,key,len); ^ common/lib/r_assoc.c: In function 'r_assoc_copy': common/lib/r_data.c: In function 'r_data_make': 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_data.c:109:5: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] memcpy(dp->data,d,l); ^ common/lib/r_data.c: In function 'r_data_copy': common/lib/r_data.c:136:5: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] memcpy(dst->data,src->data,dst->len=src->len); ^ common/lib/r_data.c: In function 'r_data_zfree': common/lib/r_data.c:147:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(d->data,0,d->len); ^ common/lib/r_data.c:147:5: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] common/lib/r_data.c: In function 'r_data_compare': common/lib/r_data.c:160:5: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] return(memcmp(d1->data,d2->data,d1->len)); ^ common/lib/r_data.c: At top level: common/lib/r_assoc.c: At top level: 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: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 -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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_errors.o common/lib/r_errors.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_list.o common/lib/r_list.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_replace.o common/lib/r_replace.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include 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/r_list.c: In function 'r_list_copy': common/lib/r_list.c:119:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_list_create(&out)) ^ common/lib/r_list.c:127:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=el->copy(&el2->data,el->data)) ^ common/lib/r_list.c: At top level: common/lib/r_list.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: r_list.c,v 1.4 2001/12/24 06:06:27 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_time.o common/lib/r_time.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include common/lib/r_replace.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: r_replace.c,v 1.2 2000/10/17 16:10:00 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o network.o ./base/network.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include common/lib/r_time.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: r_time.c,v 1.6 2002/09/09 21:02:58 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o pcap-snoop.o ./base/pcap-snoop.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o proto_mod.o ./base/proto_mod.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o tcpconn.o ./base/tcpconn.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include ./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:141: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 $"; ^ ./base/pcap-snoop.c: In function 'main': ./base/pcap-snoop.c:278:5: warning: passing argument 2 of 'signal' from incompatible pointer type [enabled by default] signal(SIGINT,sig_handler); ^ In file included from /usr/include/sys/param.h:28:0, from ./base/pcap-snoop.c:54: /usr/include/signal.h:102:23: note: expected '__sighandler_t' but argument is of type 'void (*)(void)' extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^ ./base/tcpconn.c: In function 'copy_tcp_segment_queue': ./base/tcpconn.c:192: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/pcap-snoop.c:424:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=network_handler_create(mod,&n)) ^ ./base/pcap-snoop.c:427:5: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [enabled by default] pcap_loop(p,-1,pcap_cb,(u_char *)n); ^ In file included from /usr/include/pcap.h:45:0, from ./base/pcap-snoop.c:50: /usr/include/pcap/pcap.h:372:5: note: expected 'pcap_handler' but argument is of type 'void (*)(u_char *, struct pcap_pkthdr *, u_char *)' int pcap_loop(pcap_t *, int, pcap_handler, u_char *); ^ ./base/pcap-snoop.c: At top level: ./base/pcap-snoop.c:47: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 $"; ^ 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o tcppack.o ./base/tcppack.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o null_analyze.o ./null/null_analyze.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o ciphersuites.o ./ssl/ciphersuites.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include ./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:103:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=new_connection(handler,ctx,p,&conn)) ^ ./base/tcppack.c:152:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=process_data_segment(conn,handler,p,stream,direction)) ^ ./base/tcppack.c:147:10: warning: variable 'length' set but not used [-Wunused-but-set-variable] UINT4 length; ^ ./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; ^ ./base/tcppack.c: In function 'new_connection': ./base/tcppack.c:180:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &p->ip->ip_dst,ntohs(p->tcp->th_dport))) ^ ./base/tcppack.c:185:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=create_proto_handler(handler,ctx,&conn->analyzer,conn,&p->ts)) ^ ./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 $"; ^ ./base/tcppack.c: In function 'process_data_segment': ./base/tcppack.c:285:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=packet_copy(p,&nseg->p)) ^ ./base/tcppack.c:353: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:361:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=conn->analyzer->vtbl->close(conn->analyzer->obj,p,direction)) { ^ ./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 $"; ^ 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o ssl.enums.o ./ssl/ssl.enums.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include ./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 $"; ^ 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o ssl_analyze.o ./ssl/ssl_analyze.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include 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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o ssl_rec.o ./ssl/ssl_rec.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include ./ssl/ssl_analyze.c: In function 'parse_ssl_flags': ./ssl/ssl_analyze.c:190: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:221:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_decode_ctx_create(&ctx,SSL_keyfile,SSL_password)) ^ ./ssl/ssl_analyze.c: In function 'create_ssl_analyzer': ./ssl/ssl_analyze.c:250:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=create_r_queue(&obj->r2i_queue)) ^ ./ssl/ssl_analyze.c:252:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=create_r_queue(&obj->i2r_queue)) ^ ./ssl/ssl_analyze.c:266: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:351:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=read_data(q,seg,offset,&last,&offset)) ^ ./ssl/ssl_analyze.c:383: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:433: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:510: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:544:20: warning: unused variable 'dt' [-Wunused-variable] struct timeval dt; ^ ./ssl/ssl_analyze.c:542:9: warning: unused variable 'r' [-Wunused-variable] int r; ^ ./ssl/ssl_analyze.c: In function 'print_ssl_record': ./ssl/ssl_analyze.c:573: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 -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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o ssldecode.o ./ssl/ssldecode.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include ./ssl/ssl.enums.c: In function 'decode_ContentType_Alert': ./ssl/ssl.enums.c:53: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:55: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:59: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:60: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:185:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vj); ^ ./ssl/ssl.enums.c:186:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vn); ^ ./ssl/ssl.enums.c:192: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:195: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:204: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:215:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,"compressionMethod len",0,data,&complen); ^ ./ssl/ssl.enums.c:219: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: In function 'decode_HandshakeType_ServerHello': ./ssl/ssl.enums.c:238:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vj); ^ ./ssl/ssl.enums.c:239:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vn); ^ ./ssl/ssl.enums.c:247: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:249: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:250: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:250:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_ENUM(ssl,"cipherSuite",2,cipher_suite_decoder, ^ ./ssl/ssl.enums.c:262: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: In function 'decode_HandshakeType_Certificate': ./ssl/ssl.enums.c:280:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_UINT24(ssl,"certificates len",0,data,&len); ^ ./ssl/ssl.enums.c:283: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:312: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:313: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:314: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:317: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:318: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:322: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:341: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:343:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_DECODE_ENUM(ssl,"certificate_types",1, ^ ./ssl/ssl.enums.c:350: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:352: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:385:3: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"Signature",-(1<<15-1),P_HL,data,0); ^ ./ssl/ssl.enums.c:385:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ./ssl/ssl.enums.c: In function 'decode_HandshakeType_ClientKeyExchange': ./ssl/ssl.enums.c:406:13: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), ^ ./ssl/ssl.enums.c:406:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ./ssl/ssl.enums.c:411: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:418:13: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"DiffieHellmanClientPublicValue", ^ ./ssl/ssl.enums.c:418:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ./ssl/ssl.enums.c: In function 'decode_HandshakeType_Finished': ./ssl/ssl.enums.c:438: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:440: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:443: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_rec.c: In function 'ssl_create_rec_decoder': ./ssl/ssl_rec.c:126:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_create(&dec->mac_key,mk,cs->dig_len)) ^ ./ssl/ssl_rec.c: In function 'ssl_decode_rec_data': ./ssl/ssl_rec.c:200:7: 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:200:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ./ssl/ssl_rec.c:217:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=tls_check_mac(d,ct,version,out,*outl,mac)) ^ ./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 -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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o sslprint.o ./ssl/sslprint.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include ./ssl/ssldecode.c: In function 'ssl_decode_ctx_create': ./ssl/ssldecode.c:138:9: warning: unused variable 'r' [-Wunused-variable] int r,_status; ^ ./ssl/ssldecode.c: In function 'ssl_set_client_random': ./ssl/ssldecode.c:235: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:249: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:263:5: 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:291: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:366: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_create_session_lookup_key': ./ssl/ssldecode.c:406: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:50, 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:407: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:51: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:394:9: warning: unused variable 'r' [-Wunused-variable] int r,_status; ^ ./ssl/ssldecode.c: In function 'ssl_restore_session': ./ssl/ssldecode.c:428: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:385: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:428:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &lookup_key_len)) ^ ./ssl/ssldecode.c:431: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:431:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &msv)) ^ ./ssl/ssldecode.c:434: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:443: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:474: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:385: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:474:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &lookup_key_len)) ^ ./ssl/ssldecode.c:476: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:480: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:480:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] R_ASSOC_NEW | R_ASSOC_REPLACE)) ^ ./ssl/ssldecode.c:467:11: warning: unused variable 'msv' [-Wunused-variable] void *msv; ^ ./ssl/ssldecode.c: In function 'ssl_process_client_key_exchange': ./ssl/ssldecode.c:522:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&d->PMS,BN_num_bytes(pk->pkey.rsa->n))) ^ ./ssl/ssldecode.c:545:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_generate_keying_material(ssl,d)) ^ ./ssl/ssldecode.c:554:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_save_session(ssl,d)) ^ ./ssl/ssldecode.c: In function 'tls_prf': ./ssl/ssldecode.c:628: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:630: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:632: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:641:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&S1,S_l)) ^ ./ssl/ssldecode.c:643:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&S2,S_l)) ^ ./ssl/ssldecode.c:650:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] (ssl,S1,seed,EVP_get_digestbyname("MD5"),md5_out)) ^ ./ssl/ssldecode.c:652: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:687: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:689: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:698:5: warning: passing argument 1 of 'EVP_get_digestbyname' makes pointer from integer without a cast [enabled by default] if ((md=EVP_get_digestbyname(digests[dgi])) == NULL) { ^ In file included from /usr/include/openssl/x509.h:73:0, from /usr/include/openssl/ssl.h:156, from ./ssl/ssldecode.c:51: /usr/include/openssl/evp.h:885:15: note: expected 'const char *' but argument is of type 'char' const EVP_MD *EVP_get_digestbyname(const char *name); ^ ./ssl/ssldecode.c:703: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:797: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/openssl/md5.h:113: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:132: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:800:7: note: in expansion of macro 'CRDUMP' CRDUMP("MD5 out",outbuf,16); ^ ./ssl/ssldecode.c: In function 'ssl_generate_keying_material': ./ssl/ssldecode.c:820:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&d->MS,48)) ^ ./ssl/ssldecode.c:823:7: 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:837:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_data_alloc(&key_block,needed)) ^ ./ssl/ssldecode.c:839: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:867:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] d->server_random,&iv_c)) ^ ./ssl/ssldecode.c:870:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] d->client_random,&iv_s)) ^ ./ssl/ssldecode.c:888: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:921: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:926: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:857:19: warning: unused variable 's_iv_d' [-Wunused-variable] Data c_iv_d,s_iv_d; ^ ./ssl/ssldecode.c:857:12: warning: unused variable 'c_iv_d' [-Wunused-variable] Data c_iv_d,s_iv_d; ^ ./ssl/ssldecode.c:944:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ssl->cs,c_mk,c_wk,c_iv)) ^ ./ssl/ssldecode.c:947:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ssl->cs,s_mk,s_wk,s_iv)) ^ ./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/sslprint.c: In function 'process_beginning_plaintext': ./ssl/sslprint.c:70:20: warning: unused variable 'dt' [-Wunused-variable] struct timeval dt; ^ ./ssl/sslprint.c:69:9: warning: unused variable 'r' [-Wunused-variable] int r; ^ ./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); ^ ./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, ^ ./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:132: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 -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 -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o sslxprint.o ./ssl/sslxprint.c -DOPENSSL -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ -I/usr/include In file included from ./ssl/ssl_h.h:132: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");} ^ ./ssl/ssldecode.c:817:47: note: 's_iv' was declared here UCHAR *ptr,*c_wk,*s_wk,*c_mk,*s_mk,*c_iv,*s_iv; ^ ./ssl/ssldecode.c:943:7: warning: 'c_iv' may be used uninitialized in this function [-Wmaybe-uninitialized] if(r=ssl_create_rec_decoder(&d->c_to_s_n, ^ ./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/openssl/x509.h:840:1: note: expected 'const unsigned char **' but argument is of type 'UCHAR **' 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/openssl/asn1.h:911:5: note: expected 'char *' but argument is of type 'UCHAR *' int i2t_ASN1_OBJECT(char *buf,int buf_len,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/openssl/x509.h:834:1: note: expected 'const unsigned char **' but argument is of type 'UCHAR **' 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/openssl/x509.h:884:9: note: expected 'char *' but argument is of type 'UCHAR *' char * X509_NAME_oneline(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/ssldecode.c: In function 'ssl_process_server_session_id': ./ssl/ssldecode.c:304:5: warning: '_status' may be used uninitialized in this function [-Wmaybe-uninitialized] return(_status); ^ gcc debug.o r_assoc.o r_bitfield.o r_data.o r_errors.o r_list.o r_replace.o r_time.o network.o pcap-snoop.o proto_mod.o tcpconn.o tcppack.o null_analyze.o ciphersuites.o ssl.enums.o ssl_analyze.o ssl_rec.o ssldecode.o sslprint.o sslxprint.o -o ssldump -L/usr/lib -Wl,-z,relro -lssl -lcrypto -lpcap -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ITui4G + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm ++ dirname /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm + cd ssldump-0.9b3 + rm -rf /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm + make install BINDIR=/builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/sbin MANDIR=/builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/man 'INSTALL=install -p' [ -d /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/sbin ] || mkdir -p /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/sbin install -p -m 755 ssldump /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/sbin/ssldump [ -d /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/man ] || mkdir -p /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/man/man1 install -p -m 444 ssldump.1 /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/man/man1/ssldump.1 + chmod 644 /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/man/man1/ssldump.1 + /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-0.9b3 extracting debug info from /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/sbin/ssldump dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 476 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-0.9-0.9.b3.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XwPnaM + umask 022 + cd /builddir/build/BUILD + cd ssldump-0.9b3 + DOCDIR=/builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/doc/ssldump-0.9 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/doc/ssldump-0.9 + cp -pr ChangeLog /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/doc/ssldump-0.9 + cp -pr COPYRIGHT /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/doc/ssldump-0.9 + cp -pr CREDITS /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/doc/ssldump-0.9 + cp -pr README /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/doc/ssldump-0.9 + cp -pr README.FEDORA /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm/usr/share/doc/ssldump-0.9 + exit 0 Provides: ssldump = 0.9-0.9.b3.el7 ssldump(armv7hl-32) = 0.9-0.9.b3.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) libcrypto.so.10 libcrypto.so.10(libcrypto.so.10) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libpcap.so.1 libssl.so.10 libssl.so.10(libssl.so.10) rtld(GNU_HASH) Processing files: ssldump-debuginfo-0.9-0.9.b3.el7.armv7hl Provides: ssldump-debuginfo = 0.9-0.9.b3.el7 ssldump-debuginfo(armv7hl-32) = 0.9-0.9.b3.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-0.9-0.9.b3.el7.arm Wrote: /builddir/build/RPMS/ssldump-0.9-0.9.b3.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/ssldump-debuginfo-0.9-0.9.b3.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.S2Vuub + umask 022 + cd /builddir/build/BUILD + cd ssldump-0.9b3 + rm -rf /builddir/build/BUILDROOT/ssldump-0.9-0.9.b3.el7.arm + exit 0 Child return code was: 0