=>> Building net/ssldump build started at Thu Dec 11 20:37:41 EST 2025 port directory: /usr/ports/net/ssldump package name: ssldump-0.9b3_6 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 944 Oct 16 2024 /usr/ports/net/ssldump/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: 4485bd8221c2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 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.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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 --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=/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 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/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=/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 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " 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.5 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--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_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/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> ssldump-0.9b3_6 depends on file: /usr/local/bin/ccache - 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.5 checking target system type... amd64-portbld-freebsd13.5 checking build system type... amd64-portbld-freebsd13.5 checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing ) 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.5 checking for pow in -lm... yes checking for PCAP include files... found in /usr/include checking for PCAP library... found in /usr/lib checking for OpenSSL include files... found in /usr/include checking for OpenSSL libraries... 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 --- 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 --- --- debug.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- r_assoc.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- r_bitfield.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- r_data.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- r_errors.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- r_list.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- r_replace.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- r_time.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- network.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- pcap-snoop.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- proto_mod.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- tcpconn.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- tcppack.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- null_analyze.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- ciphersuites.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- ssl.enums.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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_analyze.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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_rec.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- ssldecode.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- sslprint.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- sslxprint.o --- cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -Wno-error=incompatible-function-pointer-types -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/ --- ciphersuites.o --- ./ssl/ciphersuites.c:91:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | int ssl_find_cipher(num,cs) | ^ 1 warning generated. --- debug.o --- common/lib/debug.c:65:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | int xdump(name,data,len) | ^ 1 warning generated. --- r_time.o --- common/lib/r_time.c:88:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | int r_timeval_diff(t1,t0,diff) | ^ common/lib/r_time.c:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | int r_timeval_add(t1,t2,sum) | ^ common/lib/r_time.c:139:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | UINT8 r_timeval2int(tv) | ^ 3 warnings generated. --- r_data.o --- common/lib/r_data.c:52:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | int r_data_create(dp,d,l) | ^ common/lib/r_data.c:65:5: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | 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:78:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | int r_data_alloc(dp,l) | ^ common/lib/r_data.c:101:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | int r_data_make(dp,d,l) | ^ common/lib/r_data.c:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | int r_data_destroy(dp) | ^ common/lib/r_data.c:130:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | int r_data_copy(dst,src) | ^ common/lib/r_data.c:140:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | int r_data_zfree(d) | ^ common/lib/r_data.c:147:5: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | 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:152:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | int r_data_compare(d1,d2) | ^ common/lib/r_data.c:160:12: warning: call to undeclared library function 'memcmp' with type 'int (const void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | 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' 10 warnings generated. --- ssl_rec.o --- ./ssl/ssl_rec.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | int ssl_create_rec_decoder(dp,cs,mk,sk,iv) | ^ ./ssl/ssl_rec.c:127:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | int ssl_destroy_rec_decoder(dp) | ^ ./ssl/ssl_rec.c:149:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | int ssl_decode_rec_data(ssl,d,ct,version,in,inl,out,outl) | ^ 3 warnings generated. --- sslxprint.o --- ./ssl/sslxprint.c:66:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | int sslx_print_certificate(ssl,data,pf) | ^ ./ssl/sslxprint.c:162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | int sslx_print_dn(ssl,data,pf) | ^ ./ssl/sslxprint.c:198:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | static int sslx__print_dn(ssl,x) | ^ ./ssl/sslxprint.c:207:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 207 | if(slash=strchr(x,'/')){ | ~~~~~^~~~~~~~~~~~~~ ./ssl/sslxprint.c:207:15: note: place parentheses around the assignment to silence this warning 207 | if(slash=strchr(x,'/')){ | ^ | ( ) ./ssl/sslxprint.c:207:15: note: use '==' to turn this assignment into an equality comparison 207 | if(slash=strchr(x,'/')){ | ^ | == 4 warnings generated. --- proto_mod.o --- ./base/proto_mod.c:51:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | int create_proto_handler(mod,ctx,handlerp,conn,first_packet) | ^ ./base/proto_mod.c:64:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 64 | if(r=mod->vtbl->create(mod->handle,ctx,conn,&handler->obj, | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 65 | &conn->i_addr,conn->i_port,&conn->r_addr,conn->r_port,first_packet)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/proto_mod.c:64:9: note: place parentheses around the assignment to silence this warning 64 | if(r=mod->vtbl->create(mod->handle,ctx,conn,&handler->obj, | ^ | ( 65 | &conn->i_addr,conn->i_port,&conn->r_addr,conn->r_port,first_packet)) | | ) ./base/proto_mod.c:64:9: note: use '==' to turn this assignment into an equality comparison 64 | if(r=mod->vtbl->create(mod->handle,ctx,conn,&handler->obj, | ^ | == ./base/proto_mod.c:78:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | int destroy_proto_handler(handlerp) | ^ 3 warnings generated. --- r_bitfield.o --- common/lib/r_bitfield.c:16:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | int r_bitfield_create(setp,size) | ^ common/lib/r_bitfield.c:29:5: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | 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:44:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | int r_bitfield_destroy(setp) | ^ common/lib/r_bitfield.c:61:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | int r_bitfield_set(set,bit) | ^ common/lib/r_bitfield.c:80:7: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | 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' common/lib/r_bitfield.c:94:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | int r_bitfield_isset(set,bit) | ^ 6 warnings generated. --- r_list.o --- common/lib/r_list.c:65:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | int r_list_create(listp) | ^ common/lib/r_list.c:83:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | int r_list_destroy(listp) | ^ common/lib/r_list.c:111:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | int r_list_copy(outp,in) | ^ common/lib/r_list.c:119:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 119 | if(r=r_list_create(&out)) | ~^~~~~~~~~~~~~~~~~~~~ common/lib/r_list.c:119:9: note: place parentheses around the assignment to silence this warning 119 | if(r=r_list_create(&out)) | ^ | ( ) common/lib/r_list.c:119:9: note: use '==' to turn this assignment into an equality comparison 119 | 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] 127 | 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 127 | 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 127 | if(r=el->copy(&el2->data,el->data)) | ^ | == common/lib/r_list.c:153:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | int r_list_insert(list,value,copy,destroy) | ^ common/lib/r_list.c:180:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | int r_list_append(list,value,copy,destroy) | ^ common/lib/r_list.c:208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | int r_list_init_iter(list,iter) | ^ common/lib/r_list.c:218:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | int r_list_iter(iter,val) | ^ 9 warnings generated. --- ssldecode.o --- ./ssl/ssldecode.c:126:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | int ssl_decode_ctx_create(dp,keyfile,pass) | ^ ./ssl/ssldecode.c:174:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | int ssl_decoder_create(dp,ctx) | ^ ./ssl/ssldecode.c:198:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | int ssl_decoder_destroy(dp) | ^ ./ssl/ssldecode.c:222:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | int ssl_set_client_random(d,msg,len) | ^ ./ssl/ssldecode.c:236:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | int ssl_set_server_random(d,msg,len) | ^ ./ssl/ssldecode.c:250:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | int ssl_set_client_session_id(d,msg,len) | ^ ./ssl/ssldecode.c:264:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | int ssl_process_server_session_id(ssl,d,msg,len) | ^ ./ssl/ssldecode.c:305:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | int ssl_process_change_cipher_spec(ssl,d,direction) | ^ ./ssl/ssldecode.c:325:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | int ssl_decode_record(ssl,dec,direction,ct,version,d) | ^ ./ssl/ssldecode.c:380:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | static int ssl_create_session_lookup_key(ssl,id,idlen,keyp,keyl) | ^ ./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] 401 | sprintf(key,"%s:%d",ssl->server_name,ssl->server_port); | ^~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | 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] 402 | *keyl+=strlen(key); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ./ssl/ssldecode.c:411:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | int ssl_restore_session(ssl,d) | ^ ./ssl/ssldecode.c:457:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | int ssl_save_session(ssl,d) | ^ ./ssl/ssldecode.c:493:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | int ssl_process_client_key_exchange(ssl,d,msg,len) | ^ 15 warnings generated. --- network.o --- ./base/network.c:72:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | int network_handler_create(mod,handlerp) | ^ ./base/network.c:82:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 82 | 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 82 | 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 82 | if(r=mod->vtbl->create_ctx(mod->handle,&handler->ctx)) | ^ | == ./base/network.c:95:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | int network_handler_destroy(handlerp) | ^ ./base/network.c:106:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | int network_process_packet(handler,timestamp,data,length) | ^ ./base/network.c:141:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 141 | 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 141 | 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 141 | if(r=process_tcp_packet(handler->mod,handler->ctx,&p)) | ^ | == ./base/network.c:148:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | int packet_copy(in,out) | ^ ./base/network.c:180:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | int packet_destroy(p) | ^ ./base/network.c:190:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | int timestamp_diff(t1,t0,diff) | ^ ./base/network.c:219:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | int lookuphostname(addr,namep) | ^ 9 warnings generated. --- null_analyze.o --- ./null/null_analyze.c:63:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | static int create_null_analyzer(handle,ctx,conn,objp,i_addr,i_port,r_addr,r_port, | ^ ./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] 70 | u_short i_port; | ^ ./null/null_analyze.c:60:34: note: previous declaration is here 60 | 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] 72 | u_short r_port; | ^ ./null/null_analyze.c:61:34: note: previous declaration is here 61 | struct in_addr *r_addr,u_short r_port, struct timeval *base_time)); | ^ ./null/null_analyze.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | int destroy_null_analyzer(objp) | ^ ./null/null_analyze.c:106:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | int data_null_analyzer(_obj,seg,direction) | ^ ./null/null_analyze.c:136:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | int fin_null_analyzer(_obj,p,direction) | ^ ./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] 155 | create_null_analyzer, | ^~~~~~~~~~~~~~~~~~~~ 7 warnings generated. --- r_assoc.o --- common/lib/r_assoc.c:87:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | int r_assoc_create(assocp) | ^ common/lib/r_assoc.c:112:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | int r_assoc_destroy(assocp) | ^ common/lib/r_assoc.c:128:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | static int destroy_assoc_chain(chain) | ^ common/lib/r_assoc.c:148:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | static int copy_assoc_chain(newp,old) | ^ common/lib/r_assoc.c:177:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 177 | 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 177 | 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 177 | if(r=old->copy(&ptr->data,old->data)) | ^ | == common/lib/r_assoc.c:185:7: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | 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:198:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | static int r_assoc_fetch_bucket(assoc,key,len,bucketp) | ^ common/lib/r_assoc.c:210:37: warning: call to undeclared library function 'memcmp' with type 'int (const void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | 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:219:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | int r_assoc_fetch(assoc,key,len,datap) | ^ common/lib/r_assoc.c:228:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 228 | 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 228 | 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 228 | if(r=r_assoc_fetch_bucket(assoc,key,len,&bucket)){ | ^ | == common/lib/r_assoc.c:238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | int r_assoc_insert(assoc,key,len,data,copy,destroy,how) | ^ common/lib/r_assoc.c:250:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 250 | 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 250 | 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 250 | if(r=r_assoc_fetch_bucket(assoc,key,len,&bucket)){ | ^ | == common/lib/r_assoc.c:293:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | int r_assoc_copy(newp,old) | ^ common/lib/r_assoc.c:308:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 308 | 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 308 | 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 308 | if(r=copy_assoc_chain(new->chains+i,old->chains[i])) | ^ | == common/lib/r_assoc.c:321:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | int r_assoc_init_iter(assoc,iter) | ^ common/lib/r_assoc.c:345:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | int r_assoc_iter(iter,key,keyl,val) | ^ common/lib/r_assoc.c:387:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | int r_assoc_iter_delete(iter) | ^ common/lib/r_assoc.c:412:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | UINT4 hash_compute(key,len,bits) | ^ 18 warnings generated. --- pcap-snoop.o --- ./base/pcap-snoop.c:90:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | int err_exit(str,num) | ^ ./base/pcap-snoop.c:123:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | void pcap_cb(ptr,hdr,data) | ^ ./base/pcap-snoop.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | int main(argc,argv) | ^ ./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] 207 | signal(SIGINT,sig_handler); | ^~~~~~~~~~~ /usr/include/sys/signal.h:511:45: note: passing argument to parameter here 511 | __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] 283 | interface_name=pcap_lookupdev(errbuf); | ^ /usr/include/pcap/pcap.h:443:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 443 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /usr/include/pcap/funcattrs.h:327:47: note: expanded from macro 'PCAP_DEPRECATED' 327 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ ./base/pcap-snoop.c:326:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 326 | if(r=network_handler_create(mod,&n)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/pcap-snoop.c:326:9: note: place parentheses around the assignment to silence this warning 326 | if(r=network_handler_create(mod,&n)) | ^ | ( ) ./base/pcap-snoop.c:326:9: note: use '==' to turn this assignment into an equality comparison 326 | if(r=network_handler_create(mod,&n)) | ^ | == ./base/pcap-snoop.c:338:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | char *collapse_args(argc,argv) | ^ 7 warnings generated. --- tcpconn.o --- ./base/tcpconn.c:64:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | static int zero_conn(conn) | ^ ./base/tcpconn.c:71:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | int tcp_find_conn(connp,directionp,saddr,sport,daddr,dport) | ^ ./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] 75 | u_short sport; | ^ ./base/tcpconn.h:92:37: note: previous declaration is here 92 | 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] 77 | u_short dport; | ^ ./base/tcpconn.h:93:37: note: previous declaration is here 93 | struct in_addr *dst_addr, u_short dst_port)); | ^ ./base/tcpconn.c:107:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | int tcp_create_conn(connp,i_addr,i_port,r_addr,r_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] 110 | u_short i_port; | ^ ./base/tcpconn.h:96:43: note: previous declaration is here 96 | 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] 112 | u_short r_port; | ^ ./base/tcpconn.h:97:43: note: previous declaration is here 97 | struct in_addr *responder_addr, u_short responder_port)); | ^ ./base/tcpconn.c:141:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | int tcp_destroy_conn(conn) | ^ ./base/tcpconn.c:165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | int free_tcp_segment_queue(seg) | ^ ./base/tcpconn.c:180:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | int copy_tcp_segment_queue(out,in) | ^ ./base/tcpconn.c:192:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 192 | if(r=packet_copy(in->p,&(*out)->p)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcpconn.c:192:11: note: place parentheses around the assignment to silence this warning 192 | if(r=packet_copy(in->p,&(*out)->p)) | ^ | ( ) ./base/tcpconn.c:192:11: note: use '==' to turn this assignment into an equality comparison 192 | if(r=packet_copy(in->p,&(*out)->p)) | ^ | == 11 warnings generated. --- tcppack.o --- ./base/tcppack.c:75:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | int process_tcp_packet(handler,ctx,p) | ^ ./base/tcppack.c:89:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 89 | if(r=tcp_find_conn(&conn,&direction,&p->ip->ip_src, | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | ntohs(p->tcp->th_sport),&p->ip->ip_dst,ntohs(p->tcp->th_dport))){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:89:9: note: place parentheses around the assignment to silence this warning 89 | if(r=tcp_find_conn(&conn,&direction,&p->ip->ip_src, | ^ | ( 90 | ntohs(p->tcp->th_sport),&p->ip->ip_dst,ntohs(p->tcp->th_dport))){ | | ) ./base/tcppack.c:89:9: note: use '==' to turn this assignment into an equality comparison 89 | 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] 103 | if(r=new_connection(handler,ctx,p,&conn)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:103:11: note: place parentheses around the assignment to silence this warning 103 | if(r=new_connection(handler,ctx,p,&conn)) | ^ | ( ) ./base/tcppack.c:103:11: note: use '==' to turn this assignment into an equality comparison 103 | 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] 152 | 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 152 | 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 152 | if(r=process_data_segment(conn,handler,p,stream,direction)) | ^ | == ./base/tcppack.c:170:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | static int new_connection(handler,ctx,p,connp) | ^ ./base/tcppack.c:179:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 179 | if(r=tcp_create_conn(&conn,&p->ip->ip_src,ntohs(p->tcp->th_sport), | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | &p->ip->ip_dst,ntohs(p->tcp->th_dport))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:179:9: note: place parentheses around the assignment to silence this warning 179 | if(r=tcp_create_conn(&conn,&p->ip->ip_src,ntohs(p->tcp->th_sport), | ^ | ( 180 | &p->ip->ip_dst,ntohs(p->tcp->th_dport))) | | ) ./base/tcppack.c:179:9: note: use '==' to turn this assignment into an equality comparison 179 | 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] 185 | 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 185 | 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 185 | if(r=create_proto_handler(handler,ctx,&conn->analyzer,conn,&p->ts)) | ^ | == ./base/tcppack.c:215:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | static int process_data_segment(conn,handler,p,stream,direction) | ^ ./base/tcppack.c:292:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 292 | if(r=packet_copy(p,&nseg->p)) | ~^~~~~~~~~~~~~~~~~~~~~~~~ ./base/tcppack.c:292:11: note: place parentheses around the assignment to silence this warning 292 | if(r=packet_copy(p,&nseg->p)) | ^ | ( ) ./base/tcppack.c:292:11: note: use '==' to turn this assignment into an equality comparison 292 | 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] 354 | 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 354 | 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 354 | 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] 359 | 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 359 | 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 359 | if(r=conn->analyzer->vtbl->close(conn->analyzer->obj,p,direction)) | ^ | == ./base/tcppack.c:371:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | static int print_tcp_packet(p) | ^ ./base/tcppack.c:413:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | int STRIM(_seq,s) | ^ 13 warnings generated. --- ssl_analyze.o --- ./ssl/ssl_analyze.c:162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | int parse_ssl_flag(flag) | ^ ./ssl/ssl_analyze.c:181:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | static int parse_ssl_flags(str) | ^ ./ssl/ssl_analyze.c:190:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 190 | while(x=strtok(y,",")){ | ~^~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:190:12: note: place parentheses around the assignment to silence this warning 190 | while(x=strtok(y,",")){ | ^ | ( ) ./ssl/ssl_analyze.c:190:12: note: use '==' to turn this assignment into an equality comparison 190 | while(x=strtok(y,",")){ | ^ | == ./ssl/ssl_analyze.c:214:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | static int create_ssl_ctx(handle,ctxp) | ^ ./ssl/ssl_analyze.c:221:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 221 | 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 221 | 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 221 | if(r=ssl_decode_ctx_create(&ctx,SSL_keyfile,SSL_password)) | ^ | == ./ssl/ssl_analyze.c:230:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | static int create_ssl_analyzer(handle,ctx,conn,objp,i_addr,i_port,r_addr,r_port,base_time) | ^ ./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] 236 | u_short i_port; | ^ ./ssl/ssl_analyze.c:62:34: note: previous declaration is here 62 | 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] 238 | u_short r_port; | ^ ./ssl/ssl_analyze.c:63:34: note: previous declaration is here 63 | 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] 250 | if(r=create_r_queue(&obj->r2i_queue)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:250:9: note: place parentheses around the assignment to silence this warning 250 | if(r=create_r_queue(&obj->r2i_queue)) | ^ | ( ) ./ssl/ssl_analyze.c:250:9: note: use '==' to turn this assignment into an equality comparison 250 | 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] 252 | if(r=create_r_queue(&obj->i2r_queue)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl_analyze.c:252:9: note: place parentheses around the assignment to silence this warning 252 | if(r=create_r_queue(&obj->i2r_queue)) | ^ | ( ) ./ssl/ssl_analyze.c:252:9: note: use '==' to turn this assignment into an equality comparison 252 | 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] 266 | 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 266 | 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 266 | if(r=ssl_decoder_create(&obj->decoder,obj->ssl_ctx)) | ^ | == ./ssl/ssl_analyze.c:279:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | static int destroy_ssl_analyzer(objp) | ^ ./ssl/ssl_analyze.c:302:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | static int free_r_queue(q) | ^ ./ssl/ssl_analyze.c:311:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | static int create_r_queue(qp) | ^ ./ssl/ssl_analyze.c:336:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | static int read_ssl_record(obj,q,seg,offset,lastp,offsetp) | ^ ./ssl/ssl_analyze.c:351:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 351 | 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 351 | 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 351 | 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] 379 | 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 379 | 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 379 | if(r=read_data(q,last,offset,&last,&offset)) | ^ | == ./ssl/ssl_analyze.c:397:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | static int read_data(q,seg,offset,lastp,offsetp) | ^ ./ssl/ssl_analyze.c:429:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 429 | 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 429 | 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 429 | if(r=copy_tcp_segment_queue(&q->q,seg)) | ^ | == ./ssl/ssl_analyze.c:452:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | static int data_ssl_analyzer(_obj,seg,direction) | ^ ./ssl/ssl_analyze.c:506:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 506 | 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 506 | 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 506 | if(r=print_ssl_record(ssl,direction,assembled,q->data,q->len)) | ^ | == ./ssl/ssl_analyze.c:530:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | static int print_ssl_header(obj,direction,q,data,len) | ^ ./ssl/ssl_analyze.c:560:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | static int print_ssl_record(obj,direction,q,data,len) | ^ ./ssl/ssl_analyze.c:569:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 569 | 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 569 | 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 569 | if(r=print_ssl_header(obj,direction,q,data,len)) | ^ | == ./ssl/ssl_analyze.c:584:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | int close_ssl_analyzer(_obj,p,dir) | ^ ./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] 611 | create_ssl_analyzer, | ^~~~~~~~~~~~~~~~~~~ 26 warnings generated. --- sslprint.o --- ./ssl/sslprint.c:63:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | int process_beginning_plaintext(ssl,seg,direction) | ^ ./ssl/sslprint.c:93:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | int process_v2_hello(ssl,seg) | ^ ./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] 128 | SSL_DECODE_UINT16(ssl,"Version number",P_DC,&d,&ver); | ^~~~ ./ssl/sslprint.h:83:70: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.h:58:33: note: passing argument to parameter 'x' here 58 | UINT4 print,Data *data,UINT4 *x)); | ^ ./ssl/sslprint.c:128:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 128 | SSL_DECODE_UINT16(ssl,"Version number",P_DC,&d,&ver); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:128:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./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] 147 | SSL_DECODE_UINT16(ssl,"cipher_spec_length",P_DC,&d,&cs_len); | ^~~~~~~ ./ssl/sslprint.h:83:70: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.h:58:33: note: passing argument to parameter 'x' here 58 | UINT4 print,Data *data,UINT4 *x)); | ^ ./ssl/sslprint.c:147:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 147 | SSL_DECODE_UINT16(ssl,"cipher_spec_length",P_DC,&d,&cs_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:147:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./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] 148 | SSL_DECODE_UINT16(ssl,"session_id_length",P_DC,&d,&sid_len); | ^~~~~~~~ ./ssl/sslprint.h:83:70: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.h:58:33: note: passing argument to parameter 'x' here 58 | UINT4 print,Data *data,UINT4 *x)); | ^ ./ssl/sslprint.c:148:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 148 | SSL_DECODE_UINT16(ssl,"session_id_length",P_DC,&d,&sid_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:148:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./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] 149 | SSL_DECODE_UINT16(ssl,"challenge_length",P_DC,&d,&chall_len); | ^~~~~~~~~~ ./ssl/sslprint.h:83:70: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.h:58:33: note: passing argument to parameter 'x' here 58 | UINT4 print,Data *data,UINT4 *x)); | ^ ./ssl/sslprint.c:149:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 149 | SSL_DECODE_UINT16(ssl,"challenge_length",P_DC,&d,&chall_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:149:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:163:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 163 | SSL_DECODE_UINT24(ssl,0,0,&d,&val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:163:7: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:163:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:180:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 180 | SSL_DECODE_OPAQUE_ARRAY(ssl,0,chall_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | 0,&d,&chall); | ~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/sslprint.c:180:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/sslprint.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] 189 | ssl_set_client_random(ssl->decoder,random,32); | ^~~~~~ ./ssl/ssldecode.h:58:10: note: passing argument to parameter 'msg' here 58 | UCHAR *msg,int len)); | ^ ./ssl/sslprint.c:204:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | int ssl_decode_switch(ssl,dtable,value,dir,seg,data) | ^ ./ssl/sslprint.c:230:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | int ssl_expand_record(ssl,q,direction,data,len) | ^ ./ssl/sslprint.c:245:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 245 | SSL_DECODE_UINT8(ssl,0,0,&d,&ct); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:245:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:245:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:246:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 246 | SSL_DECODE_UINT8(ssl,0,0,&d,&vermaj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:246:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:246:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:247:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 247 | SSL_DECODE_UINT8(ssl,0,0,&d,&vermin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:247:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:247:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:248:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 248 | SSL_DECODE_UINT16(ssl,0,0,&d,&length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:248:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/sslprint.c:270:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 270 | 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 270 | 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 270 | 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] 275 | if(r=ssl_decode_switch(ssl,ContentType_decoder,data[0],direction,q, | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | &d)) | ~~~ ./ssl/sslprint.c:275:10: note: place parentheses around the assignment to silence this warning 275 | if(r=ssl_decode_switch(ssl,ContentType_decoder,data[0],direction,q, | ^ | ( 276 | &d)) | | ) ./ssl/sslprint.c:275:10: note: use '==' to turn this assignment into an equality comparison 275 | if(r=ssl_decode_switch(ssl,ContentType_decoder,data[0],direction,q, | ^ | == ./ssl/sslprint.c:283:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | int ssl_decode_uintX(ssl,name,size,p,data,x) | ^ ./ssl/sslprint.c:315:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | int ssl_decode_opaque_array(ssl,name,size,p,data,x) | ^ ./ssl/sslprint.c:333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 333 | 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 333 | 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 333 | if(r=ssl_decode_uintX(ssl,n,BYTES_NEEDED(size),P_DC,data,&len)) | ^ | == ./ssl/sslprint.c:358:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | int ssl_lookup_enum(ssl,dtable,val,ptr) | ^ ./ssl/sslprint.c:375:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | int ssl_decode_enum(ssl,name,size,dtable,p,data,x) | ^ ./ssl/sslprint.c:389:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 389 | 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 389 | 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 389 | 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] 393 | if(r=ssl_print_enum(ssl,name,dtable,*x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:393:11: note: place parentheses around the assignment to silence this warning 393 | if(r=ssl_print_enum(ssl,name,dtable,*x)) | ^ | ( ) ./ssl/sslprint.c:393:11: note: use '==' to turn this assignment into an equality comparison 393 | if(r=ssl_print_enum(ssl,name,dtable,*x)) | ^ | == ./ssl/sslprint.c:400:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | int ssl_print_enum(ssl,name,dtable,value) | ^ ./ssl/sslprint.c:442:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | int exdump(ssl,name,data) | ^ ./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] 478 | char *ptr=data->data; | ^ ~~~~~~~~~~ ./ssl/sslprint.c:473:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | int combodump(ssl,name,data) | ^ ./ssl/sslprint.c:530:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | int print_data(ssl,d) | ^ ./ssl/sslprint.c:585:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | int ssl_print_direction_indicator(ssl,dir) | ^ ./ssl/sslprint.c:610:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | int ssl_print_timestamp(ssl,ts) | ^ ./ssl/sslprint.c:621:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 621 | if(r=timestamp_diff(ts,&ssl->time_start,&dt)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:621:11: note: place parentheses around the assignment to silence this warning 621 | if(r=timestamp_diff(ts,&ssl->time_start,&dt)) | ^ | ( ) ./ssl/sslprint.c:621:11: note: use '==' to turn this assignment into an equality comparison 621 | 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] 626 | if(r=timestamp_diff(ts,&ssl->time_last,&dt)){ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.c:626:9: note: place parentheses around the assignment to silence this warning 626 | if(r=timestamp_diff(ts,&ssl->time_last,&dt)){ | ^ | ( ) ./ssl/sslprint.c:626:9: note: use '==' to turn this assignment into an equality comparison 626 | if(r=timestamp_diff(ts,&ssl->time_last,&dt)){ | ^ | == ./ssl/sslprint.c:637:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | int ssl_print_record_num(ssl) | ^ ./ssl/sslprint.c:654:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | int ssl_print_cipher_suite(ssl,version,p,val) | ^ ./ssl/sslprint.c:665:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 665 | 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 665 | 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 665 | if(r=ssl_lookup_enum(ssl,cipher_suite_decoder,val,&str)){ | ^ | == 40 warnings generated. --- ssl.enums.o --- ./ssl/ssl.enums.c:9:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | static int decode_ContentType_ChangeCipherSpec(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:53:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 53 | SSL_DECODE_ENUM(ssl,"level",1,AlertLevel_decoder,P_HL,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:53:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:55:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 55 | SSL_DECODE_ENUM(ssl,"value",1,AlertDescription_decoder,P_HL,data,0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:55:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:59:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 59 | 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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:59:10: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:60:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 60 | 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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:60:10: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:30:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | static int decode_ContentType_Alert(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:87:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 87 | SSL_DECODE_UINT8(ssl,0,0,data,&t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:87:7: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:87:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:88:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 88 | SSL_DECODE_UINT24(ssl,0,0,data,&l); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:88:7: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:88:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:67:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | static int decode_ContentType_Handshake(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:122:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 122 | SSL_DECODE_OPAQUE_ARRAY(ssl,"data",data->len,0,data,&d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:122:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:111:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | static int decode_ContentType_application_data(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:157:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | static int decode_HandshakeType_HelloRequest(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:167:3: warning: non-void function does not return a value [-Wreturn-type] 167 | } | ^ ./ssl/ssl.enums.c:184:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 184 | SSL_DECODE_UINT8(ssl,0,0,data,&vj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:184:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:184:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:185:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 185 | SSL_DECODE_UINT8(ssl,0,0,data,&vn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:185:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:185:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:191:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 191 | SSL_DECODE_OPAQUE_ARRAY(ssl,"random",32,P_ND,data,&random); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:194:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 194 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:194:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:203:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 203 | SSL_DECODE_UINT16(ssl,"cipher Suites len",0,data,&cslen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:203:2: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:214:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 214 | SSL_DECODE_UINT8(ssl,"compressionMethod len",0,data,&complen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:214:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:214:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:218:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 218 | 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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:218:9: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:168:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | static int decode_HandshakeType_ClientHello(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:237:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 237 | SSL_DECODE_UINT8(ssl,0,0,data,&vj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:237:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:237:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:238:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 238 | SSL_DECODE_UINT8(ssl,0,0,data,&vn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:238:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:238:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:246:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 246 | SSL_DECODE_OPAQUE_ARRAY(ssl,"random",32,P_ND,data,&rnd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:248:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 248 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:250:14: warning: passing 'int *' to parameter of type 'UINT4 *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 250 | 0,data,&ssl->cipher_suite); | ^~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:73: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/sslprint.h:63:10: note: passing argument to parameter 'x' here 63 | UINT4 *x)); | ^ ./ssl/ssl.enums.c:249:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 249 | SSL_DECODE_ENUM(ssl,"cipherSuite",2,cipher_suite_decoder, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | 0,data,&ssl->cipher_suite); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:249:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:261:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 261 | 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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:261:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:225:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | static int decode_HandshakeType_ServerHello(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:279:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 279 | SSL_DECODE_UINT24(ssl,"certificates len",0,data,&len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:279:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:279:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:84:42: note: expanded from macro 'SSL_DECODE_UINT24' 84 | #define SSL_DECODE_UINT24(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,3,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:282:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 282 | SSL_DECODE_OPAQUE_ARRAY(ssl,"certificate",-((1<<23)-1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | 0,data,&cert); | ~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:266:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | static int decode_HandshakeType_Certificate(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:311:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 311 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:312:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 312 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:313:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 313 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:316:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 316 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:317:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 317 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:321:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 321 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:291:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | static int decode_HandshakeType_ServerKeyExchange(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:340:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 340 | SSL_DECODE_UINT8(ssl,"certificate_types len",0,data,&len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:340:5: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:340:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:82:41: note: expanded from macro 'SSL_DECODE_UINT8' 82 | #define SSL_DECODE_UINT8(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,1,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:342:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 342 | SSL_DECODE_ENUM(ssl,"certificate_types",1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 343 | client_certificate_type_decoder, P_HL,data,0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:342:7: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:87:44: note: expanded from macro 'SSL_DECODE_ENUM' 87 | #define SSL_DECODE_ENUM(a,b,c,d,e,f,g) if(r=ssl_decode_enum(a,b,c,d,e,f,g)) ERETURN(r) | ^ ./ssl/ssl.enums.c:349:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 349 | SSL_DECODE_UINT16(ssl,"certificate_authorities len",0,data,&len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:349:5: note: use '==' to turn this assignment into an equality comparison ./ssl/sslprint.h:83:42: note: expanded from macro 'SSL_DECODE_UINT16' 83 | #define SSL_DECODE_UINT16(a,n,b,c,d) if(r=ssl_decode_uintX(a,n,2,b,c,d)) ERETURN(r) | ^ ./ssl/ssl.enums.c:351:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 351 | SSL_DECODE_OPAQUE_ARRAY(ssl,"certificate_authorities", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | -((1<<15)-1),0,data,&ca); | ~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:327:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | static int decode_HandshakeType_CertificateRequest(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:362:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | static int decode_HandshakeType_ServerHelloDone(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:372:3: warning: non-void function does not return a value [-Wreturn-type] 372 | } | ^ ./ssl/ssl.enums.c:383:50: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 383 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:383:50: note: place parentheses around the '-' expression to silence this warning 383 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:383:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 383 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:373:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | static int decode_HandshakeType_CertificateVerify(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:404:75: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 404 | SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), | ~~~~^~ ./ssl/sslprint.h:86:79: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:404:75: note: place parentheses around the '-' expression to silence this warning 404 | SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), | ~~^~ ./ssl/sslprint.h:86:79: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:404:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 404 | SSL_DECODE_OPAQUE_ARRAY(ssl,"EncryptedPreMasterSecret",-(1<<15-1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 405 | P_ND,data,&pms); | ~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:409:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 409 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:417:17: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 417 | -(1<<15-1),P_HL,data,0); | ~~~~^~ ./ssl/sslprint.h:86:79: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:417:17: note: place parentheses around the '-' expression to silence this warning 417 | -(1<<15-1),P_HL,data,0); | ~~^~ ./ssl/sslprint.h:86:79: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:416:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 416 | SSL_DECODE_OPAQUE_ARRAY(ssl,"DiffieHellmanClientPublicValue", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 417 | -(1<<15-1),P_HL,data,0); | ~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:387:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | static int decode_HandshakeType_ClientKeyExchange(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:436:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 436 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c:436:8: note: place parentheses around the assignment to silence this warning ./ssl/sslprint.h:86:50: note: expanded from macro 'SSL_DECODE_OPAQUE_ARRAY' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:438:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 438 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:441:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 441 | 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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c: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' 86 | #define SSL_DECODE_OPAQUE_ARRAY(a,n,b,c,d,e) if(r=ssl_decode_opaque_array(a,n,b,c,d,e)) ERETURN(r) | ^ ./ssl/ssl.enums.c:423:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | static int decode_HandshakeType_Finished(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1091:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | static int decode_AlertLevel_warning(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1099:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | static int decode_AlertLevel_fatal(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1121:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | static int decode_AlertDescription_close_notify(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1129:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | static int decode_AlertDescription_unexpected_message(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1137:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | static int decode_AlertDescription_bad_record_mac(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1145:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | static int decode_AlertDescription_decryption_failed(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1153:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | static int decode_AlertDescription_record_overflow(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1161:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | static int decode_AlertDescription_decompression_failure(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1169:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | static int decode_AlertDescription_handshake_failure(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1177:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | static int decode_AlertDescription_bad_certificate(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1185:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | static int decode_AlertDescription_unsupported_certificate(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1193:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | static int decode_AlertDescription_certificate_revoked(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1201:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | static int decode_AlertDescription_certificate_expired(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1209:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | static int decode_AlertDescription_certificate_unknown(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1217:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | static int decode_AlertDescription_illegal_parameter(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1225:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | static int decode_AlertDescription_unknown_ca(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1233:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | static int decode_AlertDescription_access_denied(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | static int decode_AlertDescription_decode_error(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1249:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | static int decode_AlertDescription_decrypt_error(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1257:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | static int decode_AlertDescription_export_restriction(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1265:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | static int decode_AlertDescription_protocol_version(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1273:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | static int decode_AlertDescription_insufficient_security(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1281:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | static int decode_AlertDescription_internal_error(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1289:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | static int decode_AlertDescription_user_canceled(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1297:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1297 | static int decode_AlertDescription_no_renegotiation(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1432:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | static int decode_client_certificate_type_rsa_sign(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1440:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | static int decode_client_certificate_type_dss_sign(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1448:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1448 | static int decode_client_certificate_type_rsa_fixed_dh(ssl,dir,seg,data) | ^ ./ssl/ssl.enums.c:1456:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | static int decode_client_certificate_type_dss_fixed_dh(ssl,dir,seg,data) | ^ 88 warnings generated. --- ssldump --- 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 -lpcap -lm =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== 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=2025-12-12T01:37:41+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=4485bd8221c2' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' 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 Dec 11 20:37:46 EST 2025 build time: 00:00:06