+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ssldump.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XT7TGF + 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 -xof - + 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/patch --no-backup-if-mismatch -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 + echo 'Patch #1 (ssldump-0.9-libpcap.patch):' Patch #1 (ssldump-0.9-libpcap.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libpcap --fuzz=0 patching file base/pcap-snoop.c patching file configure.in + echo 'Patch #2 (ssldump-0.9-aes.patch):' Patch #2 (ssldump-0.9-aes.patch): + /usr/bin/patch --no-backup-if-mismatch -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 + echo 'Patch #3 (ssldump-0.9-cvs-20060619.patch):' Patch #3 (ssldump-0.9-cvs-20060619.patch): + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -p1 -b --suffix .table-stops --fuzz=0 patching file ssl/ssl.enums.c patching file ssl/ssl_enum.c + echo 'Patch #5 (ssldump-0.9-link_layer.patch):' Patch #5 (ssldump-0.9-link_layer.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .link_layer --fuzz=0 patching file base/pcap-snoop.c + echo 'Patch #6 (ssldump-0.9-pcap-vlan.patch):' Patch #6 (ssldump-0.9-pcap-vlan.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pcap-vlan --fuzz=0 patching file base/pcap-snoop.c + echo 'Patch #7 (ssldump-0.9-tlsv12.patch):' Patch #7 (ssldump-0.9-tlsv12.patch): + /usr/bin/patch --no-backup-if-mismatch -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 + echo 'Patch #8 (ssldump-0.9-ssl-enums.patch):' Patch #8 (ssldump-0.9-ssl-enums.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ssl-enums --fuzz=0 patching file ssl/ssl.enums patching file ssl/ssl.enums.c + echo 'Patch #9 (ssldump-0.9-ciphersuites.patch):' Patch #9 (ssldump-0.9-ciphersuites.patch): + /usr/bin/patch --no-backup-if-mismatch -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.16/config.guess /usr/share/automake-1.16/config.sub . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0o0XeP + umask 022 + cd /builddir/build/BUILD + cd ssldump-0.9b3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-pcap-inc=/usr/include --with-pcap-lib=/usr/lib64 --with-openssl-inc=/usr/include --with-openssl-lib=/usr/lib64 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for riscv64-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 riscv64-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/lib64 checking for OpenSSL include files... found in /usr/include checking for OpenSSL libraries... not found. configure: WARNING: compiling without OpenSSL 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... 8 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o debug.o common/lib/debug.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_assoc.o common/lib/r_assoc.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_bitfield.o common/lib/r_bitfield.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_data.o common/lib/r_data.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from common/include/r_includes.h:51, from common/include/r_common.h:51, from common/lib/r_assoc.c:59: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from common/lib/debug.c:51: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from common/include/r_includes.h:51, from common/include/r_common.h:51, from common/lib/r_bitfield.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from common/include/r_includes.h:51, from common/include/r_common.h:51, from common/lib/r_data.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ common/lib/r_bitfield.c: In function 'r_bitfield_create': common/lib/r_assoc.c: In function 'copy_assoc_chain': common/lib/r_assoc.c:177:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=old->copy(&ptr->data,old->data)) ^ 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' common/lib/r_bitfield.c:29:5: note: include '' or provide a declaration of 'memset' 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' common/lib/r_assoc.c:185:7: note: include '' or provide a declaration of 'memcpy' common/lib/r_assoc.c: In function 'r_assoc_fetch_bucket': common/lib/r_assoc.c:210:37: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] if(bucket->key_len == len && !memcmp(bucket->key,key,len)){ ^~~~~~ 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' common/lib/r_bitfield.c:80:7: note: include '' or provide a declaration of 'memcpy' common/lib/r_bitfield.c:81:7: warning: incompatible implicit declaration of built-in function 'memset' memset(tmp+set->len*4,0,(newlen-set->len)*4); ^~~~~~ common/lib/r_bitfield.c:81:7: note: include '' or provide a declaration of 'memset' common/lib/r_assoc.c: In function 'r_assoc_fetch': common/lib/r_assoc.c:228:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_assoc_fetch_bucket(assoc,key,len,&bucket)){ ^ common/lib/r_assoc.c: In function 'r_assoc_insert': common/lib/r_assoc.c:250:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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' memcpy(new_bucket->key,key,len); ^~~~~~ common/lib/r_assoc.c:262:7: note: include '' or provide a declaration of 'memcpy' common/lib/r_assoc.c: In function 'r_assoc_copy': common/lib/r_assoc.c:308:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=copy_assoc_chain(new->chains+i,old->chains[i])) ^ common/lib/r_data.c: In function 'r_data_create': 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' 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 $"; ^~~~~~~~~ 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_data.c:65:5: note: include '' or provide a declaration of 'memcpy' common/lib/r_data.c: In function 'r_data_make': common/lib/r_data.c:109:5: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(dp->data,d,l); ^~~~~~ common/lib/r_data.c:109:5: note: include '' or provide a declaration of 'memcpy' 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' memcpy(dst->data,src->data,dst->len=src->len); ^~~~~~ common/lib/r_data.c:136:5: note: include '' or provide a declaration of 'memcpy' 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' common/lib/r_data.c:147:5: note: include '' or provide a declaration of 'memset' common/lib/r_data.c: In function 'r_data_compare': common/lib/r_data.c:160:12: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] return(memcmp(d1->data,d2->data,d1->len)); ^~~~~~ 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 $"; ^~~~~~~~~ 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 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_errors.o common/lib/r_errors.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_list.o common/lib/r_list.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from common/lib/r_errors.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_replace.o common/lib/r_replace.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from common/include/r_includes.h:51, from common/include/r_common.h:51, from common/lib/r_list.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from common/include/r_includes.h:51, from common/include/r_common.h:51, from common/lib/r_replace.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ 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 $"; ^~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o r_time.o common/lib/r_time.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ common/lib/r_list.c: In function 'r_list_copy': common/lib/r_list.c:119:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=r_list_create(&out)) ^ common/lib/r_list.c:127:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=el->copy(&el2->data,el->data)) ^ 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 $"; ^~~~~~~~~ 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o network.o ./base/network.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from common/include/r_includes.h:51, from common/include/r_common.h:51, from common/lib/r_time.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o pcap-snoop.o ./base/pcap-snoop.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ In file included from /usr/include/sys/types.h:25:0, from ./base/network.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25:0, from /usr/include/pcap/pcap.h:46, from /usr/include/pcap.h:43, from ./base/pcap-snoop.c:50: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o proto_mod.o ./base/proto_mod.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ 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 $"; ^~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ./base/network.h:50, from ./base/proto_mod.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o tcpconn.o ./base/tcpconn.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ./base/network.h:50, from ./base/tcpconn.c:48: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./base/network.c: In function 'network_handler_create': ./base/network.c:82:10: 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:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=process_tcp_packet(handler->mod,handler->ctx,&p)) ^ At top level: ./base/network.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] 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:64:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=mod->vtbl->create(mod->handle,ctx,conn,&handler->obj, ^ At top level: ./base/proto_mod.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: proto_mod.c,v 1.3 2001/07/20 23:33:14 ekr Exp $"; ^~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o tcppack.o ./base/tcppack.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./base/pcap-snoop.c: In function 'main': ./base/pcap-snoop.c:278:19: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 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:88:23: note: expected '__sighandler_t {aka void (*)(int)}' but argument is of type 'void (*)(void)' extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^~~~~~ ./base/pcap-snoop.c:424:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=network_handler_create(mod,&n)) ^ ./base/pcap-snoop.c:427:20: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types] pcap_loop(p,-1,pcap_cb,(u_char *)n); ^~~~~~~ In file included from /usr/include/pcap.h:43:0, from ./base/pcap-snoop.c:50: /usr/include/pcap/pcap.h:377:14: note: expected 'pcap_handler {aka void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)}' but argument is of type 'void (*)(u_char *, struct pcap_pkthdr *, u_char *) {aka void (*)(unsigned char *, struct pcap_pkthdr *, unsigned char *)}' PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); ^~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o null_analyze.o ./null/null_analyze.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ 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 $"; ^~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ./base/network.h:50, from ./base/tcppack.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./base/tcpconn.c: In function 'copy_tcp_segment_queue': ./base/tcpconn.c:192:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=packet_copy(in->p,&(*out)->p)) ^ 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 $"; ^~~~~~~~~ In file included from /usr/include/ctype.h:25:0, from ./null/null_analyze.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o ciphersuites.o ./ssl/ciphersuites.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from common/include/r_includes.h:51, from common/include/r_common.h:51, from ./ssl/ciphersuites.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./base/tcppack.c: In function 'process_tcp_packet': ./base/tcppack.c:89:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=tcp_find_conn(&conn,&direction,&p->ip->ip_src, ^ ./base/tcppack.c:103:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=new_connection(handler,ctx,p,&conn)) ^ ./base/tcppack.c:152:7: 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; ^~~~~~ ./base/tcppack.c: In function 'new_connection': ./base/tcppack.c:179:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=tcp_create_conn(&conn,&p->ip->ip_src,ntohs(p->tcp->th_sport), ^ ./base/tcppack.c:185:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=create_proto_handler(handler,ctx,&conn->analyzer,conn,&p->ts)) ^ ./base/tcppack.c: In function 'process_data_segment': ./base/tcppack.c:285:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=packet_copy(p,&nseg->p)) ^ ./base/tcppack.c:353:12: 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:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=conn->analyzer->vtbl->close(conn->analyzer->obj,p,direction)) { ^ At top level: ./base/tcppack.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: tcppack.c,v 1.11 2002/09/09 21:02:58 ekr Exp $"; ^~~~~~~~~ ./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; ^~~ 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 $"; ^~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o ssl.enums.o ./ssl/ssl.enums.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o ssl_analyze.o ./ssl/ssl_analyze.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o ssl_rec.o ./ssl/ssl_rec.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ./base/network.h:50, from ./ssl/ssl.enums.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ./base/network.h:50, from ./ssl/ssl_analyze.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ./base/network.h:50, from ./ssl/ssl_rec.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o ssldecode.o ./ssl/ssldecode.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ In file included from ./ssl/ssl.enums.c:3:0: ./ssl/ssl.enums.c: In function 'decode_ContentType_Alert': In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ./base/network.h:50, from ./ssl/ssldecode.c:46: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) ^ ./ssl/ssl.enums.c:53:7: note: in expansion of macro 'SSL_DECODE_ENUM' SSL_DECODE_ENUM(ssl,"level",1,AlertLevel_decoder,P_HL,data,0); ^~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) ^ ./ssl/ssl.enums.c:55:7: note: in expansion of macro 'SSL_DECODE_ENUM' SSL_DECODE_ENUM(ssl,"value",1,AlertDescription_decoder,P_HL,data,0); ^~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) ^ ./ssl/ssl.enums.c:59:10: note: in expansion of macro 'SSL_DECODE_ENUM' SSL_DECODE_ENUM(ssl,0,1,AlertLevel_decoder,SSL_PRINT_ALL,data,0); ^~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) ^ ./ssl/ssl.enums.c:60:10: note: in expansion of macro 'SSL_DECODE_ENUM' SSL_DECODE_ENUM(ssl,0,1,AlertDescription_decoder,SSL_PRINT_ALL,data,0); ^~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c: In function 'parse_ssl_flags': ./ssl/ssl_analyze.c:190:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(x=strtok(y,",")){ ^ ./ssl/ssl.enums.c: In function 'decode_ContentType_Handshake': ./ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) ^ ./ssl/ssl.enums.c:87:7: note: in expansion of macro 'SSL_DECODE_UINT8' SSL_DECODE_UINT8(ssl,0,0,data,&t); ^~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c: In function 'create_ssl_ctx': ./ssl/ssl_analyze.c:221:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_decode_ctx_create(&ctx,SSL_keyfile,SSL_password)) ^ ./ssl/sslprint.h:84:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) ^ ./ssl/ssl.enums.c:88:7: note: in expansion of macro 'SSL_DECODE_UINT24' SSL_DECODE_UINT24(ssl,0,0,data,&l); ^~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c: In function 'create_ssl_analyzer': ./ssl/ssl_analyze.c:250:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=create_r_queue(&obj->r2i_queue)) ^ ./ssl/ssl_analyze.c:252:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=create_r_queue(&obj->i2r_queue)) ^ ./ssl/ssl.enums.c: In function 'decode_ContentType_application_data': ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:122:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"data",data->len,0,data,&d); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:266:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_decoder_create(&obj->decoder,obj->ssl_ctx)) ^ ./ssl/ssl.enums.c: In function 'decode_HandshakeType_ClientHello': ./ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) ^ ./ssl/ssl.enums.c:185:5: note: in expansion of macro 'SSL_DECODE_UINT8' SSL_DECODE_UINT8(ssl,0,0,data,&vj); ^~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c: In function 'read_ssl_record': ./ssl/ssl_analyze.c:351:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=read_data(q,seg,offset,&last,&offset)) ^ ./ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) ^ ./ssl/ssl.enums.c:186:5: note: in expansion of macro 'SSL_DECODE_UINT8' SSL_DECODE_UINT8(ssl,0,0,data,&vn); ^~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:192:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"random",32,P_ND,data,&random); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:195:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"session_id",-32,0,data,&session_id); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) ^ ./ssl/ssl.enums.c:204:2: note: in expansion of macro 'SSL_DECODE_UINT16' SSL_DECODE_UINT16(ssl,"cipher Suites len",0,data,&cslen); ^~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:383:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=read_data(q,last,offset,&last,&offset)) ^ ./ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) ^ ./ssl/ssl.enums.c:215:5: note: in expansion of macro 'SSL_DECODE_UINT8' SSL_DECODE_UINT8(ssl,"compressionMethod len",0,data,&complen); ^~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) ^ ./ssl/ssl.enums.c:219:9: note: in expansion of macro 'SSL_DECODE_ENUM' SSL_DECODE_ENUM(ssl,0,1,compression_method_decoder,P_HL,data,&comp); ^~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c: In function 'read_data': ./ssl/ssl_analyze.c:433:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=copy_tcp_segment_queue(&q->q,seg)) ^ ./ssl/ssl.enums.c: In function 'decode_HandshakeType_ServerHello': ./ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) ^ ./ssl/ssl.enums.c:238:5: note: in expansion of macro 'SSL_DECODE_UINT8' SSL_DECODE_UINT8(ssl,0,0,data,&vj); ^~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) ^ ./ssl/ssl.enums.c:239:5: note: in expansion of macro 'SSL_DECODE_UINT8' SSL_DECODE_UINT8(ssl,0,0,data,&vn); ^~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c: In function 'data_ssl_analyzer': ./ssl/ssl_analyze.c:510:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=print_ssl_record(ssl,direction,assembled,q->data,q->len)) ^ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:247:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"random",32,P_ND,data,&rnd); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:249:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"session_id",-32,P_HL,data,&session_id); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:251:14: warning: pointer targets in passing argument 7 of 'ssl_decode_enum' differ in signedness [-Wpointer-sign] 0,data,&ssl->cipher_suite); ^ ./ssl/sslprint.h:87:73: note: in definition of macro 'SSL_DECODE_ENUM' #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) ^ ./ssl/sslprint.h:61:5: note: expected 'UINT4 * {aka unsigned int *}' but argument is of type 'int *' int ssl_decode_enum PROTO_LIST((ssl_obj *ssl,char *name, ^~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) ^ ./ssl/ssl.enums.c:250:5: note: in expansion of macro 'SSL_DECODE_ENUM' SSL_DECODE_ENUM(ssl,"cipherSuite",2,cipher_suite_decoder, ^~~~~~~~~~~~~~~ ./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/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) ^ ./ssl/ssl.enums.c:262:5: note: in expansion of macro 'SSL_DECODE_ENUM' SSL_DECODE_ENUM(ssl,"compressionMethod",1,compression_method_decoder,P_HL,data,0); ^~~~~~~~~~~~~~~ ./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:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=print_ssl_header(obj,direction,q,data,len)) ^ ./ssl/ssl.enums.c: In function 'decode_HandshakeType_Certificate': ./ssl/sslprint.h:84:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) ^ ./ssl/ssl.enums.c:280:5: note: in expansion of macro 'SSL_DECODE_UINT24' SSL_DECODE_UINT24(ssl,"certificates len",0,data,&len); ^~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:283:7: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"certificate",-((1<<23)-1), ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: In function 'decode_HandshakeType_ServerKeyExchange': ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:312:4: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_p",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:313:4: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_g",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:314:4: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_Ys",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:317:4: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"RSA_modulus",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:318:4: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"RSA_exponent",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:322:7: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"signature",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: In function 'decode_HandshakeType_CertificateRequest': ./ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) ^ ./ssl/ssl.enums.c:341:5: note: in expansion of macro 'SSL_DECODE_UINT8' SSL_DECODE_UINT8(ssl,"certificate_types len",0,data,&len); ^~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) ^ ./ssl/ssl.enums.c:343:7: note: in expansion of macro 'SSL_DECODE_ENUM' SSL_DECODE_ENUM(ssl,"certificate_types",1, ^~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) ^ ./ssl/ssl.enums.c:350:5: note: in expansion of macro 'SSL_DECODE_UINT16' SSL_DECODE_UINT16(ssl,"certificate_authorities len",0,data,&len); ^~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:352:7: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"certificate_authorities", ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: In function 'decode_HandshakeType_CertificateVerify': ./ssl/ssl.enums.c:385:46: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"Signature",-(1<<15-1),P_HL,data,0); ^ ./ssl/sslprint.h:86:79: note: in definition of macro 'SSL_DECODE_OPAQUE_ARRAY' #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:385:3: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"Signature",-(1<<15-1),P_HL,data,0); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: In function 'decode_HandshakeType_ClientKeyExchange': ./ssl/ssl.enums.c:406:71: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), ^ ./ssl/sslprint.h:86:79: note: in definition of macro 'SSL_DECODE_OPAQUE_ARRAY' #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:406:13: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:411:13: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",data->len,P_ND,data,&pms); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:419:13: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] -(1<<15-1),P_HL,data,0); ^ ./ssl/sslprint.h:86:79: note: in definition of macro 'SSL_DECODE_OPAQUE_ARRAY' #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:418:13: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"DiffieHellmanClientPublicValue", ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: In function 'decode_HandshakeType_Finished': ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:438:8: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"md5_hash",16,P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:440:8: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"sha_hash",20,P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_rec.c: In function 'ssl_create_rec_decoder': ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/ssl.enums.c:443:8: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,"verify_data",12,P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_rec.c:136:3: warning: label 'abort' defined but not used [-Wunused-label] abort: ^~~~~ ./ssl/ssl_rec.c:107:9: warning: unused variable 'r' [-Wunused-variable] int r,_status; ^ ./ssl/ssl_rec.c: At top level: ./ssl/ssl_rec.c:96:12: warning: 'tls_check_mac' declared 'static' but never defined [-Wunused-function] static int tls_check_mac PROTO_LIST((ssl_rec_decoder *d,int ct, ^~~~~~~~~~~~~ ./ssl/ssl_rec.c:98:12: warning: 'fmt_seq' declared 'static' but never defined [-Wunused-function] static int fmt_seq PROTO_LIST((UINT4 num,UCHAR *buf)); ^~~~~~~ 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 $"; ^~~~~~~~~ ./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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o sslprint.o ./ssl/sslprint.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ In file included from /usr/include/ctype.h:25:0, from ./ssl/sslprint.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./ssl/ssldecode.c: In function 'ssl_decoder_create': ./ssl/ssldecode.c:185:18: warning: unused variable 'd' [-Wunused-variable] ssl_decoder *d=0; ^ ./ssl/ssldecode.c:183:9: warning: unused variable '_status' [-Wunused-variable] int _status; ^~~~~~~ ./ssl/ssldecode.c: In function 'ssl_decode_record': ./ssl/ssldecode.c:341:11: warning: unused variable '_status' [-Wunused-variable] int r,_status; ^~~~~~~ ./ssl/ssldecode.c:341:9: warning: unused variable 'r' [-Wunused-variable] int r,_status; ^ ./ssl/ssldecode.c:340:9: warning: unused variable 'outl' [-Wunused-variable] int outl; ^~~~ ./ssl/ssldecode.c:339:12: warning: unused variable 'out' [-Wunused-variable] UCHAR *out; ^~~ ./ssl/ssldecode.c: In function 'ssl_create_session_lookup_key': ./ssl/ssldecode.c:406:13: 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:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from ./base/network.h:50, from ./ssl/ssldecode.c:46: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'UCHAR * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ ./ssl/ssldecode.c:407:19: 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:384:15: note: expected 'const char *' but argument is of type 'UCHAR * {aka unsigned char *}' 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:424:11: warning: unused variable '_status' [-Wunused-variable] int r,_status; ^~~~~~~ ./ssl/ssldecode.c:424:9: warning: unused variable 'r' [-Wunused-variable] int r,_status; ^ ./ssl/ssldecode.c:423:9: warning: unused variable 'lookup_key_len' [-Wunused-variable] int lookup_key_len; ^~~~~~~~~~~~~~ ./ssl/ssldecode.c:422:11: warning: unused variable 'msd' [-Wunused-variable] Data *msd; ^~~ ./ssl/ssldecode.c:421:11: warning: unused variable 'msv' [-Wunused-variable] void *msv; ^~~ ./ssl/ssldecode.c:420:12: warning: unused variable 'lookup_key' [-Wunused-variable] UCHAR *lookup_key=0; ^~~~~~~~~~ At top level: ./ssl/ssldecode.c:385:12: warning: 'ssl_create_session_lookup_key' defined but not used [-Wunused-function] static int ssl_create_session_lookup_key(ssl,id,idlen,keyp,keyl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssldecode.c:122:12: warning: 'password_cb' defined but not used [-Wunused-function] static int password_cb(char *buf,int num,int rwflag,void *userdata) ^~~~~~~~~~~ ./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 $"; ^~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -c -o sslxprint.o ./ssl/sslxprint.c -D_BSD_SOURCE=1 -DLINUX -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./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; ^ In file included from ./ssl/sslprint.c:53:0: ./ssl/sslprint.c: In function 'process_v2_hello': ./ssl/sslprint.c:128:52: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"Version number",P_DC,&d,&ver); ^ ./ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.h:57:5: note: expected 'UINT4 * {aka unsigned int *}' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.c:128:5: note: in expansion of macro 'SSL_DECODE_UINT16' SSL_DECODE_UINT16(ssl,"Version number",P_DC,&d,&ver); ^~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:147:56: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"cipher_spec_length",P_DC,&d,&cs_len); ^ ./ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.h:57:5: note: expected 'UINT4 * {aka unsigned int *}' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.c:147:5: note: in expansion of macro 'SSL_DECODE_UINT16' SSL_DECODE_UINT16(ssl,"cipher_spec_length",P_DC,&d,&cs_len); ^~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:148:55: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"session_id_length",P_DC,&d,&sid_len); ^ ./ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.h:57:5: note: expected 'UINT4 * {aka unsigned int *}' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.c:148:5: note: in expansion of macro 'SSL_DECODE_UINT16' SSL_DECODE_UINT16(ssl,"session_id_length",P_DC,&d,&sid_len); ^~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:149:54: warning: pointer targets in passing argument 6 of 'ssl_decode_uintX' differ in signedness [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"challenge_length",P_DC,&d,&chall_len); ^ ./ssl/sslprint.h:83:70: note: in definition of macro 'SSL_DECODE_UINT16' #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.h:57:5: note: expected 'UINT4 * {aka unsigned int *}' but argument is of type 'int *' int ssl_decode_uintX PROTO_LIST((ssl_obj *ssl,char *name,int size, ^~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.c:149:5: note: in expansion of macro 'SSL_DECODE_UINT16' SSL_DECODE_UINT16(ssl,"challenge_length",P_DC,&d,&chall_len); ^~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:84:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.c:163:7: note: in expansion of macro 'SSL_DECODE_UINT24' SSL_DECODE_UINT24(ssl,0,0,&d,&val); ^~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:161:13: warning: unused variable 'str' [-Wunused-variable] char *str; ^~~ In file included from ./ssl/sslprint.c:53:0: ./ssl/sslprint.h:86:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) ^ ./ssl/sslprint.c:180:5: note: in expansion of macro 'SSL_DECODE_OPAQUE_ARRAY' SSL_DECODE_OPAQUE_ARRAY(ssl,0,chall_len, ^~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:189:40: warning: pointer targets in passing argument 2 of 'ssl_set_client_random' differ in signedness [-Wpointer-sign] 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 * {aka unsigned char *}' 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; ^~ In file included from ./ssl/sslprint.c:53:0: ./ssl/sslprint.c: In function 'ssl_expand_record': ./ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.c:245:5: note: in expansion of macro 'SSL_DECODE_UINT8' SSL_DECODE_UINT8(ssl,0,0,&d,&ct); ^~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.c:246:5: note: in expansion of macro 'SSL_DECODE_UINT8' SSL_DECODE_UINT8(ssl,0,0,&d,&vermaj); ^~~~~~~~~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from ./base/network.h:50, from ./ssl/sslxprint.c:49: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ./ssl/sslprint.h:82:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.c:247:5: note: in expansion of macro 'SSL_DECODE_UINT8' SSL_DECODE_UINT8(ssl,0,0,&d,&vermin); ^~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) ^ ./ssl/sslprint.c:248:5: note: in expansion of macro 'SSL_DECODE_UINT16' SSL_DECODE_UINT16(ssl,0,0,&d,&length); ^~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:270:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_print_enum(ssl,0,ContentType_decoder,ct)) { ^ ./ssl/sslprint.c:277:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_decode_switch(ssl,ContentType_decoder,data[0],direction,q, &d)) { ^ ./ssl/sslprint.c: In function 'ssl_decode_opaque_array': ./ssl/sslprint.c:336:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_decode_uintX(ssl,n,BYTES_NEEDED(size),P_DC,data,&len)) ^ ./ssl/sslprint.c: In function 'ssl_decode_enum': ./ssl/sslprint.c:392:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_decode_uintX(ssl,name,size,0,data,x)) ^ ./ssl/sslprint.c:396:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=timestamp_diff(ts,&ssl->time_start,&dt)) ^ ./ssl/sslprint.c:629:8: 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:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(r=ssl_lookup_enum(ssl,cipher_suite_decoder,val,&str)){ ^ At top level: ./ssl/sslprint.c:47:14: warning: 'RCSSTRING' defined but not used [-Wunused-variable] static char *RCSSTRING="$Id: sslprint.c,v 1.8 2002/08/17 01:33:17 ekr Exp $"; ^~~~~~~~~ ./ssl/sslxprint.c: In function 'sslx_print_certificate': ./ssl/sslxprint.c:155:3: warning: label 'abort' defined but not used [-Wunused-label] abort: ^~~~~ ./ssl/sslxprint.c:75:12: warning: unused variable 'd' [-Wunused-variable] UCHAR *d; ^ ./ssl/sslxprint.c: In function 'sslx_print_dn': ./ssl/sslxprint.c:191:3: warning: label 'abort' defined but not used [-Wunused-label] abort: ^~~~~ ./ssl/sslxprint.c:169:12: warning: unused variable 'd' [-Wunused-variable] UCHAR *d=data->data; ^ ./ssl/sslxprint.c:167:11: warning: unused variable 'buf' [-Wunused-variable] UCHAR buf[BUFSIZE]; ^~~ ./ssl/sslxprint.c: In function 'sslx__print_dn': ./ssl/sslxprint.c:207:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(slash=strchr(x,'/')){ ^~~~~ At top level: ./ssl/sslxprint.c:198:12: warning: 'sslx__print_dn' defined but not used [-Wunused-function] static int sslx__print_dn(ssl,x) ^~~~~~~~~~~~~~ ./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 $"; ^~~~~~~~~ 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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpcap -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TPzaUa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64 + cd ssldump-0.9b3 + rm -rf /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64 + make install BINDIR=/builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/sbin MANDIR=/builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/man 'INSTALL=install -p' [ -d /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/sbin ] || mkdir -p /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/sbin install -p -m 755 ssldump /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/sbin/ssldump [ -d /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/man ] || mkdir -p /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/man/man1 install -p -m 444 ssldump.1 /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/man/man1/ssldump.1 + chmod 644 /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/man/man1/ssldump.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ssldump-0.9-0.16.b3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vsZ7uw + umask 022 + cd /builddir/build/BUILD + cd ssldump-0.9b3 + DOCDIR=/builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/doc/ssldump + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/doc/ssldump + cp -pr ChangeLog /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/doc/ssldump + cp -pr COPYRIGHT /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/doc/ssldump + cp -pr CREDITS /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/doc/ssldump + cp -pr README /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/doc/ssldump + cp -pr README.FEDORA /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64/usr/share/doc/ssldump + exit 0 Provides: ssldump = 0.9-0.16.b3.fc28 ssldump(riscv-64) = 0.9-0.16.b3.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64 Wrote: /builddir/build/SRPMS/ssldump-0.9-0.16.b3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ssldump-0.9-0.16.b3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.imy7Vs + umask 022 + cd /builddir/build/BUILD + cd ssldump-0.9b3 + rm -rf /builddir/build/BUILDROOT/ssldump-0.9-0.16.b3.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff