=>> Building net/ssldump build started at Thu Apr 4 18:42:24 BST 2024 port directory: /usr/ports/net/ssldump package name: ssldump-0.9b3_6 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1031 Mar 2 16:12 /usr/ports/net/ssldump/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 1209f4123a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 04 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ssldump-0.9b3_6: AES=off: Enable AES support from CVS (EXPERIMENTAL) ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-openssl=/usr/local --sbindir=/usr/local/bin --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/ssldump/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/ssldump/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/ssldump/work/.cache HOME=/wrkdirs/usr/ports/net/ssldump/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/ssldump/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/ssldump/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net/ssldump/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/ssldump/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/ssldump/work/.cache HOME=/wrkdirs/usr/ports/net/ssldump/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/ssldump/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/ssldump/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ssldump" EXAMPLESDIR="share/examples/ssldump" DATADIR="share/ssldump" WWWDIR="www/ssldump" ETCDIR="etc/ssldump" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ssldump DOCSDIR=/usr/local/share/doc/ssldump EXAMPLESDIR=/usr/local/share/examples/ssldump WWWDIR=/usr/local/www/ssldump ETCDIR=/usr/local/etc/ssldump --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ssldump port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ssldump-0.9b3_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> ssldump-0.9b3_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ssldump-0.9b3_6 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ssldump port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ssldump-0.9b3_6 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ssldump port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ssldump-0.9b3_6 for building => SHA256 Checksum OK for ssldump-0.9b3.tar.gz. => SHA256 Checksum OK for 2-ssldump-tls12.diff. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ssldump port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ssldump-0.9b3_6 for building ===> Extracting for ssldump-0.9b3_6 => SHA256 Checksum OK for ssldump-0.9b3.tar.gz. => SHA256 Checksum OK for 2-ssldump-tls12.diff. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ssldump-0.9b3_6 ===> Applying distribution patches for ssldump-0.9b3_6 ===> Applying FreeBSD patches for ssldump-0.9b3_6 from /usr/ports/net/ssldump/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ssldump-0.9b3_6 depends on file: /usr/local/lib/libcrypto.so.12 - not found ===> Installing existing package /packages/All/openssl-3.0.13_1,1.pkg [pkg-builder.dan.net.uk] Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] Extracting openssl-3.0.13_1,1: .......... done ===> ssldump-0.9b3_6 depends on file: /usr/local/lib/libcrypto.so.12 - found ===> Returning to build of ssldump-0.9b3_6 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ssldump-0.9b3_6 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking host system type... amd64-portbld-freebsd13.2 checking target system type... amd64-portbld-freebsd13.2 checking build system type... amd64-portbld-freebsd13.2 checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wl,-rpath,/usr/local/lib -fstack-protector-strong ) works... yes checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wl,-rpath,/usr/local/lib -fstack-protector-strong ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking whether make sets ${MAKE}... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c configuring for freebsd13.2 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/local/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... cpp checking for sys/time.h... (cached) yes checking for ANSI C header files... (cached) yes checking for working 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 8-bit clean memcmp... yes checking return type of signal handlers... void checking for vprintf... (cached) yes checking for strdup... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ssldump-0.9b3_6 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ common/lib/r_assoc.c:177:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=old->copy(&ptr->data,old->data)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/lib/r_assoc.c:177:6: note: place parentheses around the assignment to silence this warning if(r=old->copy(&ptr->data,old->data)) ^ ( ) common/lib/r_assoc.c:177:6: note: use '==' to turn this assignment into an equality comparison if(r=old->copy(&ptr->data,old->data)) ^ == common/lib/r_assoc.c:185:7: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(ptr->key,old->key,ptr->key_len=old->key_len); ^ common/lib/r_assoc.c:185:7: note: include the header or explicitly provide a declaration for 'memcpy' common/lib/r_assoc.c:210:37: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration] if(bucket->key_len == len && !memcmp(bucket->key,key,len)){ ^ common/lib/r_assoc.c:210:37: note: include the header or explicitly provide a declaration for 'memcmp' common/lib/r_assoc.c:228:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=r_assoc_fetch_bucket(assoc,key,len,&bucket)){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/lib/r_assoc.c:228:9: note: place parentheses around the assignment to silence this warning if(r=r_assoc_fetch_bucket(assoc,key,len,&bucket)){ ^ ( ) common/lib/r_assoc.c:228:9: note: use '==' to turn this assignment into an equality comparison if(r=r_assoc_fetch_bucket(assoc,key,len,&bucket)){ ^ == common/lib/r_assoc.c:250:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=r_assoc_fetch_bucket(assoc,key,len,&bucket)){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/lib/r_assoc.c:250:9: note: place parentheses around the assignment to silence this warning if(r=r_assoc_fetch_bucket(assoc,key,len,&bucket)){ ^ ( ) common/lib/r_assoc.c:250:9: note: use '==' to turn this assignment into an equality comparison if(r=r_assoc_fetch_bucket(assoc,key,len,&bucket)){ ^ == common/lib/r_assoc.c:308:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=copy_assoc_chain(new->chains+i,old->chains[i])) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/lib/r_assoc.c:308:11: note: place parentheses around the assignment to silence this warning if(r=copy_assoc_chain(new->chains+i,old->chains[i])) ^ ( ) common/lib/r_assoc.c:308:11: note: use '==' to turn this assignment into an equality comparison if(r=copy_assoc_chain(new->chains+i,old->chains[i])) ^ == 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ common/lib/r_bitfield.c:29:5: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] memset(set->data,0,4*num_words); ^ common/lib/r_bitfield.c:29:5: note: include the header or explicitly provide a declaration for 'memset' common/lib/r_bitfield.c:80:7: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(tmp,set->data,set->len*4); ^ common/lib/r_bitfield.c:80:7: note: include the header or explicitly provide a declaration for 'memcpy' 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ common/lib/r_data.c:65:5: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(d_->data,d,l); ^ common/lib/r_data.c:65:5: note: include the header or explicitly provide a declaration for 'memcpy' common/lib/r_data.c:147:5: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] memset(d->data,0,d->len); ^ common/lib/r_data.c:147:5: note: include the header or explicitly provide a declaration for 'memset' common/lib/r_data.c:160:12: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration] return(memcmp(d1->data,d2->data,d1->len)); ^ common/lib/r_data.c:160:12: note: include the header or explicitly provide a declaration for 'memcmp' 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ common/lib/r_list.c:119:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=r_list_create(&out)) ~^~~~~~~~~~~~~~~~~~~~ common/lib/r_list.c:119:9: note: place parentheses around the assignment to silence this warning if(r=r_list_create(&out)) ^ ( ) common/lib/r_list.c:119:9: note: use '==' to turn this assignment into an equality comparison if(r=r_list_create(&out)) ^ == common/lib/r_list.c:127:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=el->copy(&el2->data,el->data)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/lib/r_list.c:127:13: note: place parentheses around the assignment to silence this warning if(r=el->copy(&el2->data,el->data)) ^ ( ) common/lib/r_list.c:127:13: note: use '==' to turn this assignment into an equality comparison if(r=el->copy(&el2->data,el->data)) ^ == 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./base/network.c:82:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=mod->vtbl->create_ctx(mod->handle,&handler->ctx)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/network.c:82:11: note: place parentheses around the assignment to silence this warning if(r=mod->vtbl->create_ctx(mod->handle,&handler->ctx)) ^ ( ) ./base/network.c:82:11: note: use '==' to turn this assignment into an equality comparison if(r=mod->vtbl->create_ctx(mod->handle,&handler->ctx)) ^ == ./base/network.c:141:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=process_tcp_packet(handler->mod,handler->ctx,&p)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/network.c:141:6: note: place parentheses around the assignment to silence this warning if(r=process_tcp_packet(handler->mod,handler->ctx,&p)) ^ ( ) ./base/network.c:141:6: note: use '==' to turn this assignment into an equality comparison if(r=process_tcp_packet(handler->mod,handler->ctx,&p)) ^ == 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./base/pcap-snoop.c:207:19: warning: incompatible function pointer types passing 'void (void)' to parameter of type '__sighandler_t *' (aka 'void (*)(int)') [-Wincompatible-function-pointer-types] signal(SIGINT,sig_handler); ^~~~~~~~~~~ /usr/include/sys/signal.h:512:45: note: passing argument to parameter here __sighandler_t *signal(int, __sighandler_t *); ^ ./base/pcap-snoop.c:283:24: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] interface_name=pcap_lookupdev(errbuf); ^ /usr/include/pcap/pcap.h:326:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); ^ /usr/include/pcap/funcattrs.h:227:53: note: expanded from macro 'PCAP_DEPRECATED' #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) ^ ./base/pcap-snoop.c:326:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=network_handler_create(mod,&n)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/pcap-snoop.c:326:9: note: place parentheses around the assignment to silence this warning if(r=network_handler_create(mod,&n)) ^ ( ) ./base/pcap-snoop.c:326:9: note: use '==' to turn this assignment into an equality comparison if(r=network_handler_create(mod,&n)) ^ == 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./base/proto_mod.c:64:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=mod->vtbl->create(mod->handle,ctx,conn,&handler->obj, ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/proto_mod.c:64:9: note: place parentheses around the assignment to silence this warning if(r=mod->vtbl->create(mod->handle,ctx,conn,&handler->obj, ^ ( ./base/proto_mod.c:64:9: note: use '==' to turn this assignment into an equality comparison if(r=mod->vtbl->create(mod->handle,ctx,conn,&handler->obj, ^ == 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./base/tcpconn.c:75:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short sport; ^ ./base/tcpconn.h:92:37: note: previous declaration is here struct in_addr *src_addr, u_short src_port, ^ ./base/tcpconn.c:77:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short dport; ^ ./base/tcpconn.h:93:37: note: previous declaration is here struct in_addr *dst_addr, u_short dst_port)); ^ ./base/tcpconn.c:110:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short i_port; ^ ./base/tcpconn.h:96:43: note: previous declaration is here struct in_addr *initiator_addr, u_short initiator_port, ^ ./base/tcpconn.c:112:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short r_port; ^ ./base/tcpconn.h:97:43: note: previous declaration is here struct in_addr *responder_addr, u_short responder_port)); ^ ./base/tcpconn.c:192:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=packet_copy(in->p,&(*out)->p)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcpconn.c:192:11: note: place parentheses around the assignment to silence this warning if(r=packet_copy(in->p,&(*out)->p)) ^ ( ) ./base/tcpconn.c:192:11: note: use '==' to turn this assignment into an equality comparison if(r=packet_copy(in->p,&(*out)->p)) ^ == 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./base/tcppack.c:89:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=tcp_find_conn(&conn,&direction,&p->ip->ip_src, ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:89:9: note: place parentheses around the assignment to silence this warning if(r=tcp_find_conn(&conn,&direction,&p->ip->ip_src, ^ ( ./base/tcppack.c:89:9: note: use '==' to turn this assignment into an equality comparison if(r=tcp_find_conn(&conn,&direction,&p->ip->ip_src, ^ == ./base/tcppack.c:103:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=new_connection(handler,ctx,p,&conn)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:103:11: note: place parentheses around the assignment to silence this warning if(r=new_connection(handler,ctx,p,&conn)) ^ ( ) ./base/tcppack.c:103:11: note: use '==' to turn this assignment into an equality comparison if(r=new_connection(handler,ctx,p,&conn)) ^ == ./base/tcppack.c:152:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=process_data_segment(conn,handler,p,stream,direction)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:152:8: note: place parentheses around the assignment to silence this warning if(r=process_data_segment(conn,handler,p,stream,direction)) ^ ( ) ./base/tcppack.c:152:8: note: use '==' to turn this assignment into an equality comparison if(r=process_data_segment(conn,handler,p,stream,direction)) ^ == ./base/tcppack.c:179:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=tcp_create_conn(&conn,&p->ip->ip_src,ntohs(p->tcp->th_sport), ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:179:9: note: place parentheses around the assignment to silence this warning if(r=tcp_create_conn(&conn,&p->ip->ip_src,ntohs(p->tcp->th_sport), ^ ( ./base/tcppack.c:179:9: note: use '==' to turn this assignment into an equality comparison if(r=tcp_create_conn(&conn,&p->ip->ip_src,ntohs(p->tcp->th_sport), ^ == ./base/tcppack.c:185:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=create_proto_handler(handler,ctx,&conn->analyzer,conn,&p->ts)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:185:9: note: place parentheses around the assignment to silence this warning if(r=create_proto_handler(handler,ctx,&conn->analyzer,conn,&p->ts)) ^ ( ) ./base/tcppack.c:185:9: note: use '==' to turn this assignment into an equality comparison if(r=create_proto_handler(handler,ctx,&conn->analyzer,conn,&p->ts)) ^ == ./base/tcppack.c:292:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=packet_copy(p,&nseg->p)) ~^~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:292:11: note: place parentheses around the assignment to silence this warning if(r=packet_copy(p,&nseg->p)) ^ ( ) ./base/tcppack.c:292:11: note: use '==' to turn this assignment into an equality comparison if(r=packet_copy(p,&nseg->p)) ^ == ./base/tcppack.c:354:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=conn->analyzer->vtbl->data(conn->analyzer->obj,&_seg,direction)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:354:13: note: place parentheses around the assignment to silence this warning if(r=conn->analyzer->vtbl->data(conn->analyzer->obj,&_seg,direction)) ^ ( ) ./base/tcppack.c:354:13: note: use '==' to turn this assignment into an equality comparison if(r=conn->analyzer->vtbl->data(conn->analyzer->obj,&_seg,direction)) ^ == ./base/tcppack.c:359:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=conn->analyzer->vtbl->close(conn->analyzer->obj,p,direction)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:359:6: note: place parentheses around the assignment to silence this warning if(r=conn->analyzer->vtbl->close(conn->analyzer->obj,p,direction)) ^ ( ) ./base/tcppack.c:359:6: note: use '==' to turn this assignment into an equality comparison if(r=conn->analyzer->vtbl->close(conn->analyzer->obj,p,direction)) ^ == 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./null/null_analyze.c:70:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short i_port; ^ ./null/null_analyze.c:60:34: note: previous declaration is here struct in_addr *i_addr,u_short i_port, ^ ./null/null_analyze.c:72:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short r_port; ^ ./null/null_analyze.c:61:34: note: previous declaration is here struct in_addr *r_addr,u_short r_port, struct timeval *base_time)); ^ ./null/null_analyze.c:155:6: warning: incompatible function pointer types initializing 'int (*)(void *, proto_ctx *, tcp_conn *, proto_obj **, struct in_addr *, u_short, struct in_addr *, u_short, struct timeval *)' (aka 'int (*)(void *, struct proto_ctx_ *, struct tcp_conn_ *, struct proto_obj_ **, struct in_addr *, unsigned short, struct in_addr *, unsigned short, struct timeval *)') with an expression of type 'int ()' [-Wincompatible-function-pointer-types] create_null_analyzer, ^~~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./ssl/ssl.enums.c:53:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_ENUM(ssl,"level",1,AlertLevel_decoder,P_HL,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:53:7: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:53:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:55:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_ENUM(ssl,"value",1,AlertDescription_decoder,P_HL,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:55:7: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:55:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:59:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_ENUM(ssl,0,1,AlertLevel_decoder,SSL_PRINT_ALL,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:59:10: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:59:10: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:60:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_ENUM(ssl,0,1,AlertDescription_decoder,SSL_PRINT_ALL,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:60:10: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:60:10: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:87:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&t); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:88:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT24(ssl,0,0,data,&l); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' #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: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' #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: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' #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:122:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"data",data->len,0,data,&d); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:122:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:122:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:167:3: warning: non-void function does not return a value [-Wreturn-type] } ^ ./ssl/ssl.enums.c:184:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vj); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:184:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:184:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:191:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"random",32,P_ND,data,&random); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:191:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:191:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:194:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"session_id",-32,0,data,&session_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:194:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:194:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:203:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT16(ssl,"cipher Suites len",0,data,&cslen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from 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/ssl.enums.c:203:2: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:83:42: note: expanded from 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/ssl.enums.c:203:2: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from 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/ssl.enums.c:214:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT8(ssl,"compressionMethod len",0,data,&complen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:214:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:214:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:218:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_ENUM(ssl,0,1,compression_method_decoder,P_HL,data,&comp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:218:9: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:218:9: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:237:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vj); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:237:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:237:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,data,&vn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:246:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"random",32,P_ND,data,&rnd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:246:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:246:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:248:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"session_id",-32,P_HL,data,&session_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:248:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:248:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:250:14: warning: passing 'int *' to parameter of type 'UINT4 *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 0,data,&ssl->cipher_suite); ^~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:73: note: expanded from 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:63:10: note: passing argument to parameter 'x' here UINT4 *x)); ^ ./ssl/ssl.enums.c:249:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_ENUM(ssl,"cipherSuite",2,cipher_suite_decoder, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:249:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:249:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:261:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_ENUM(ssl,"compressionMethod",1,compression_method_decoder,P_HL,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:261:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:261:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:279:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT24(ssl,"certificates len",0,data,&len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' #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:279:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' #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:279:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' #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:282:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"certificate",-((1<<23)-1), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:282:7: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:282:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:311:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_p",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:311:4: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:311:4: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:312:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_g",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:312:4: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:312:4: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:313:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"DH_Ys",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:313:4: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:313:4: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:316:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"RSA_modulus",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:316:4: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:316:4: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:317:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"RSA_exponent",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:317:4: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:317:4: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:321:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"signature",-((1<<15)-1),P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:321:7: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:321:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:340:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT8(ssl,"certificate_types len",0,data,&len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:340:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:340:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:342:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_ENUM(ssl,"certificate_types",1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:342:7: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:342:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from 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/ssl.enums.c:349:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT16(ssl,"certificate_authorities len",0,data,&len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from 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/ssl.enums.c:349:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:83:42: note: expanded from 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/ssl.enums.c:349:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from 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/ssl.enums.c:351:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"certificate_authorities", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:351:7: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:351:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:372:3: warning: non-void function does not return a value [-Wreturn-type] } ^ ./ssl/ssl.enums.c:383:50: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"Signature",-(1<<15-1),P_HL,data,0); ~~~~^~ ./ssl/sslprint.h:86:79: note: expanded from 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/ssl.enums.c:383:50: note: place parentheses around the '-' expression to silence this warning SSL_DECODE_OPAQUE_ARRAY(ssl,"Signature",-(1<<15-1),P_HL,data,0); ~~^~ ./ssl/sslprint.h:86:79: note: expanded from 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/ssl.enums.c:383:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"Signature",-(1<<15-1),P_HL,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:383:3: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:383:3: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:404:75: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), ~~~~^~ ./ssl/sslprint.h:86:79: note: expanded from 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/ssl.enums.c:404:75: note: place parentheses around the '-' expression to silence this warning SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), ~~^~ ./ssl/sslprint.h:86:79: note: expanded from 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/ssl.enums.c:404:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:404:13: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:404:13: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:409:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",data->len,P_ND,data,&pms); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:409:13: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:409:13: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:417:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] -(1<<15-1),P_HL,data,0); ~~~~^~ ./ssl/sslprint.h:86:79: note: expanded from 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/ssl.enums.c:417:17: note: place parentheses around the '-' expression to silence this warning -(1<<15-1),P_HL,data,0); ~~^~ ./ssl/sslprint.h:86:79: note: expanded from 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/ssl.enums.c:416:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"DiffieHellmanClientPublicValue", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:416:13: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:416:13: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:436:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"md5_hash",16,P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:436:8: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:436:8: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:438:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"sha_hash",20,P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:438:8: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:438:8: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:441:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,"verify_data",12,P_ND,data,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:441:8: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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/ssl.enums.c:441:8: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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) ^ 45 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./ssl/ssl_analyze.c:190:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(x=strtok(y,",")){ ~^~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:190:12: note: place parentheses around the assignment to silence this warning while(x=strtok(y,",")){ ^ ( ) ./ssl/ssl_analyze.c:190:12: note: use '==' to turn this assignment into an equality comparison while(x=strtok(y,",")){ ^ == ./ssl/ssl_analyze.c:221:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=ssl_decode_ctx_create(&ctx,SSL_keyfile,SSL_password)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:221:9: note: place parentheses around the assignment to silence this warning if(r=ssl_decode_ctx_create(&ctx,SSL_keyfile,SSL_password)) ^ ( ) ./ssl/ssl_analyze.c:221:9: note: use '==' to turn this assignment into an equality comparison if(r=ssl_decode_ctx_create(&ctx,SSL_keyfile,SSL_password)) ^ == ./ssl/ssl_analyze.c:236:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short i_port; ^ ./ssl/ssl_analyze.c:62:34: note: previous declaration is here struct in_addr *i_addr,u_short i_port, ^ ./ssl/ssl_analyze.c:238:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] u_short r_port; ^ ./ssl/ssl_analyze.c:63:34: note: previous declaration is here struct in_addr *r_addr,u_short r_port, struct timeval *base_time)); ^ ./ssl/ssl_analyze.c:250:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=create_r_queue(&obj->r2i_queue)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:250:9: note: place parentheses around the assignment to silence this warning if(r=create_r_queue(&obj->r2i_queue)) ^ ( ) ./ssl/ssl_analyze.c:250:9: note: use '==' to turn this assignment into an equality comparison if(r=create_r_queue(&obj->r2i_queue)) ^ == ./ssl/ssl_analyze.c:252:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=create_r_queue(&obj->i2r_queue)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:252:9: note: place parentheses around the assignment to silence this warning if(r=create_r_queue(&obj->i2r_queue)) ^ ( ) ./ssl/ssl_analyze.c:252:9: note: use '==' to turn this assignment into an equality comparison if(r=create_r_queue(&obj->i2r_queue)) ^ == ./ssl/ssl_analyze.c:266:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=ssl_decoder_create(&obj->decoder,obj->ssl_ctx)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:266:9: note: place parentheses around the assignment to silence this warning if(r=ssl_decoder_create(&obj->decoder,obj->ssl_ctx)) ^ ( ) ./ssl/ssl_analyze.c:266:9: note: use '==' to turn this assignment into an equality comparison if(r=ssl_decoder_create(&obj->decoder,obj->ssl_ctx)) ^ == ./ssl/ssl_analyze.c:351:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=read_data(q,seg,offset,&last,&offset)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:351:6: note: place parentheses around the assignment to silence this warning if(r=read_data(q,seg,offset,&last,&offset)) ^ ( ) ./ssl/ssl_analyze.c:351:6: note: use '==' to turn this assignment into an equality comparison if(r=read_data(q,seg,offset,&last,&offset)) ^ == ./ssl/ssl_analyze.c:379:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=read_data(q,last,offset,&last,&offset)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:379:6: note: place parentheses around the assignment to silence this warning if(r=read_data(q,last,offset,&last,&offset)) ^ ( ) ./ssl/ssl_analyze.c:379:6: note: use '==' to turn this assignment into an equality comparison if(r=read_data(q,last,offset,&last,&offset)) ^ == ./ssl/ssl_analyze.c:429:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=copy_tcp_segment_queue(&q->q,seg)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:429:11: note: place parentheses around the assignment to silence this warning if(r=copy_tcp_segment_queue(&q->q,seg)) ^ ( ) ./ssl/ssl_analyze.c:429:11: note: use '==' to turn this assignment into an equality comparison if(r=copy_tcp_segment_queue(&q->q,seg)) ^ == ./ssl/ssl_analyze.c:506:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=print_ssl_record(ssl,direction,assembled,q->data,q->len)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:506:11: note: place parentheses around the assignment to silence this warning if(r=print_ssl_record(ssl,direction,assembled,q->data,q->len)) ^ ( ) ./ssl/ssl_analyze.c:506:11: note: use '==' to turn this assignment into an equality comparison if(r=print_ssl_record(ssl,direction,assembled,q->data,q->len)) ^ == ./ssl/ssl_analyze.c:569:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=print_ssl_header(obj,direction,q,data,len)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:569:9: note: place parentheses around the assignment to silence this warning if(r=print_ssl_header(obj,direction,q,data,len)) ^ ( ) ./ssl/ssl_analyze.c:569:9: note: use '==' to turn this assignment into an equality comparison if(r=print_ssl_header(obj,direction,q,data,len)) ^ == ./ssl/ssl_analyze.c:611:6: warning: incompatible function pointer types initializing 'int (*)(void *, proto_ctx *, tcp_conn *, proto_obj **, struct in_addr *, u_short, struct in_addr *, u_short, struct timeval *)' (aka 'int (*)(void *, struct proto_ctx_ *, struct tcp_conn_ *, struct proto_obj_ **, struct in_addr *, unsigned short, struct in_addr *, unsigned short, struct timeval *)') with an expression of type 'int ()' [-Wincompatible-function-pointer-types] create_ssl_analyzer, ^~~~~~~~~~~~~~~~~~~ 13 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./ssl/ssldecode.c:401:13: warning: passing 'UCHAR *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(key,"%s:%d",ssl->server_name,ssl->server_port); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ ./ssl/ssldecode.c:402:19: warning: passing 'UCHAR *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *keyl+=strlen(key); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./ssl/sslprint.c:128:52: warning: passing 'int *' to parameter of type 'UINT4 *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"Version number",P_DC,&d,&ver); ^~~~ ./ssl/sslprint.h:83:70: note: expanded from 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:58:33: note: passing argument to parameter 'x' here UINT4 print,Data *data,UINT4 *x)); ^ ./ssl/sslprint.c:128:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT16(ssl,"Version number",P_DC,&d,&ver); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from 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.c:128:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:83:42: note: expanded from 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.c:128:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from 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.c:147:56: warning: passing 'int *' to parameter of type 'UINT4 *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"cipher_spec_length",P_DC,&d,&cs_len); ^~~~~~~ ./ssl/sslprint.h:83:70: note: expanded from 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:58:33: note: passing argument to parameter 'x' here UINT4 print,Data *data,UINT4 *x)); ^ ./ssl/sslprint.c:147:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT16(ssl,"cipher_spec_length",P_DC,&d,&cs_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from 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.c:147:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:83:42: note: expanded from 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.c:147:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from 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.c:148:55: warning: passing 'int *' to parameter of type 'UINT4 *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"session_id_length",P_DC,&d,&sid_len); ^~~~~~~~ ./ssl/sslprint.h:83:70: note: expanded from 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:58:33: note: passing argument to parameter 'x' here UINT4 print,Data *data,UINT4 *x)); ^ ./ssl/sslprint.c:148:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT16(ssl,"session_id_length",P_DC,&d,&sid_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from 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.c:148:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:83:42: note: expanded from 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.c:148:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from 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.c:149:54: warning: passing 'int *' to parameter of type 'UINT4 *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] SSL_DECODE_UINT16(ssl,"challenge_length",P_DC,&d,&chall_len); ^~~~~~~~~~ ./ssl/sslprint.h:83:70: note: expanded from 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:58:33: note: passing argument to parameter 'x' here UINT4 print,Data *data,UINT4 *x)); ^ ./ssl/sslprint.c:149:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT16(ssl,"challenge_length",P_DC,&d,&chall_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from 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.c:149:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:83:42: note: expanded from 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.c:149:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from 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.c:163:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT24(ssl,0,0,&d,&val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' #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: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' #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: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' #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:180:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_OPAQUE_ARRAY(ssl,0,chall_len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from 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.c:180:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from 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.c:180:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from 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.c:189:40: warning: passing 'char[32]' to parameter of type 'UCHAR *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ssl_set_client_random(ssl->decoder,random,32); ^~~~~~ ./ssl/ssldecode.h:58:10: note: passing argument to parameter 'msg' here UCHAR *msg,int len)); ^ ./ssl/sslprint.c:245:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,&d,&ct); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,&d,&vermaj); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT8(ssl,0,0,&d,&vermin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' #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:248:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SSL_DECODE_UINT16(ssl,0,0,&d,&length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from 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.c:248:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:83:42: note: expanded from 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.c:248:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from 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.c:270:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=ssl_print_enum(ssl,0,ContentType_decoder,ct)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:270:11: note: place parentheses around the assignment to silence this warning if(r=ssl_print_enum(ssl,0,ContentType_decoder,ct)) ^ ( ) ./ssl/sslprint.c:270:11: note: use '==' to turn this assignment into an equality comparison if(r=ssl_print_enum(ssl,0,ContentType_decoder,ct)) ^ == ./ssl/sslprint.c:275:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=ssl_decode_switch(ssl,ContentType_decoder,data[0],direction,q, ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:275:10: note: place parentheses around the assignment to silence this warning if(r=ssl_decode_switch(ssl,ContentType_decoder,data[0],direction,q, ^ ( ./ssl/sslprint.c:275:10: note: use '==' to turn this assignment into an equality comparison if(r=ssl_decode_switch(ssl,ContentType_decoder,data[0],direction,q, ^ == ./ssl/sslprint.c:333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=ssl_decode_uintX(ssl,n,BYTES_NEEDED(size),P_DC,data,&len)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:333:11: note: place parentheses around the assignment to silence this warning if(r=ssl_decode_uintX(ssl,n,BYTES_NEEDED(size),P_DC,data,&len)) ^ ( ) ./ssl/sslprint.c:333:11: note: use '==' to turn this assignment into an equality comparison if(r=ssl_decode_uintX(ssl,n,BYTES_NEEDED(size),P_DC,data,&len)) ^ == ./ssl/sslprint.c:389:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=ssl_decode_uintX(ssl,name,size,0,data,x)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:389:9: note: place parentheses around the assignment to silence this warning if(r=ssl_decode_uintX(ssl,name,size,0,data,x)) ^ ( ) ./ssl/sslprint.c:389:9: note: use '==' to turn this assignment into an equality comparison if(r=ssl_decode_uintX(ssl,name,size,0,data,x)) ^ == ./ssl/sslprint.c:393:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=ssl_print_enum(ssl,name,dtable,*x)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:393:11: note: place parentheses around the assignment to silence this warning if(r=ssl_print_enum(ssl,name,dtable,*x)) ^ ( ) ./ssl/sslprint.c:393:11: note: use '==' to turn this assignment into an equality comparison if(r=ssl_print_enum(ssl,name,dtable,*x)) ^ == ./ssl/sslprint.c:478:11: warning: initializing 'char *' with an expression of type 'UCHAR *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *ptr=data->data; ^ ~~~~~~~~~~ ./ssl/sslprint.c:621:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=timestamp_diff(ts,&ssl->time_start,&dt)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:621:11: note: place parentheses around the assignment to silence this warning if(r=timestamp_diff(ts,&ssl->time_start,&dt)) ^ ( ) ./ssl/sslprint.c:621:11: note: use '==' to turn this assignment into an equality comparison if(r=timestamp_diff(ts,&ssl->time_start,&dt)) ^ == ./ssl/sslprint.c:626:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=timestamp_diff(ts,&ssl->time_last,&dt)){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:626:9: note: place parentheses around the assignment to silence this warning if(r=timestamp_diff(ts,&ssl->time_last,&dt)){ ^ ( ) ./ssl/sslprint.c:626:9: note: use '==' to turn this assignment into an equality comparison if(r=timestamp_diff(ts,&ssl->time_last,&dt)){ ^ == ./ssl/sslprint.c:665:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(r=ssl_lookup_enum(ssl,cipher_suite_decoder,val,&str)){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:665:11: note: place parentheses around the assignment to silence this warning if(r=ssl_lookup_enum(ssl,cipher_suite_decoder,val,&str)){ ^ ( ) ./ssl/sslprint.c:665:11: note: use '==' to turn this assignment into an equality comparison if(r=ssl_lookup_enum(ssl,cipher_suite_decoder,val,&str)){ ^ == 24 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBM=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 -I./base/ -I./null/ -I./ssl/ -Icommon/include/ -I./null/ -I./ssl/ ./ssl/sslxprint.c:207:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(slash=strchr(x,'/')){ ~~~~~^~~~~~~~~~~~~~ ./ssl/sslxprint.c:207:15: note: place parentheses around the assignment to silence this warning if(slash=strchr(x,'/')){ ^ ( ) ./ssl/sslxprint.c:207:15: note: use '==' to turn this assignment into an equality comparison if(slash=strchr(x,'/')){ ^ == 1 warning generated. cc 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,-rpath,/usr/local/lib -fstack-protector-strong -lpcap -lm =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ssldump-0.9b3_6 depends on file: /usr/local/lib/libcrypto.so.12 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ssldump-0.9b3_6 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/net/ssldump/work/ssldump-0.9b3/ssldump /wrkdirs/usr/ports/net/ssldump/work/stage/usr/local/bin/ssldump install -m 444 /wrkdirs/usr/ports/net/ssldump/work/ssldump-0.9b3/ssldump.1 /wrkdirs/usr/ports/net/ssldump/work/stage/usr/local/share/man/man1/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-04T17:42:25+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=1209f4123a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ssldump-0.9b3_6 ===> Building ssldump-0.9b3_6 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ssldump-0.9b3_6 build of net/ssldump | ssldump-0.9b3_6 ended at Thu Apr 4 18:42:36 BST 2024 build time: 00:00:13