Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ssldump.spec'], chrootPath='/var/lib/mock/f40-build-804103-144402/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ssldump.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/ssldump-1.8-2.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ssldump.spec'], chrootPath='/var/lib/mock/f40-build-804103-144402/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ssldump.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.swEDic + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ssldump-1.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ssldump-1.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ssldump-1.8 + rm -rf /builddir/build/BUILD/ssldump-1.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/ssldump-1.8-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ssldump-1.8-cmake.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + install -p -m 0644 /builddir/build/SOURCES/HOWTO . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ApKsAw + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ssldump-1.8 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -- The C compiler identification is GNU 14.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.1.4") -- Found PCAP: /usr/lib64/libpcap.so -- Performing Test PCAP_LINKS_SOLO -- Performing Test PCAP_LINKS_SOLO - Success -- Looking for pcap_get_pfring_id -- Looking for pcap_get_pfring_id - not found -- Looking for pcap_dump_open_append -- Looking for pcap_dump_open_append - found -- Found LIBNET: /usr/lib64/libnet.so -- Found JSONC: /usr/lib64/libjson-c.so -- Looking for strdup -- Looking for strdup - found -- Configuring done (8.1s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/ssldump-1.8/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/ssldump-1.8/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j4 /usr/bin/cmake -S/builddir/build/BUILD/ssldump-1.8 -B/builddir/build/BUILD/ssldump-1.8/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ssldump-1.8/redhat-linux-build/CMakeFiles /builddir/build/BUILD/ssldump-1.8/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/ssldump-1.8/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/ssldump.dir/build.make CMakeFiles/ssldump.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/ssldump-1.8/redhat-linux-build' cd /builddir/build/BUILD/ssldump-1.8/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ssldump-1.8 /builddir/build/BUILD/ssldump-1.8 /builddir/build/BUILD/ssldump-1.8/redhat-linux-build /builddir/build/BUILD/ssldump-1.8/redhat-linux-build /builddir/build/BUILD/ssldump-1.8/redhat-linux-build/CMakeFiles/ssldump.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/ssldump-1.8/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/ssldump.dir/build.make CMakeFiles/ssldump.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/ssldump-1.8/redhat-linux-build' [ 19%] Building C object CMakeFiles/ssldump.dir/base/tcppack.c.o [ 19%] Building C object CMakeFiles/ssldump.dir/base/network.c.o [ 19%] Building C object CMakeFiles/ssldump.dir/base/pcap-snoop.c.o [ 19%] Building C object CMakeFiles/ssldump.dir/base/proto_mod.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/base/pcap-snoop.c.o -MF CMakeFiles/ssldump.dir/base/pcap-snoop.c.o.d -o CMakeFiles/ssldump.dir/base/pcap-snoop.c.o -c /builddir/build/BUILD/ssldump-1.8/redhat-linux-build/base/pcap-snoop.c /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/base/proto_mod.c.o -MF CMakeFiles/ssldump.dir/base/proto_mod.c.o.d -o CMakeFiles/ssldump.dir/base/proto_mod.c.o -c /builddir/build/BUILD/ssldump-1.8/base/proto_mod.c /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/base/tcppack.c.o -MF CMakeFiles/ssldump.dir/base/tcppack.c.o.d -o CMakeFiles/ssldump.dir/base/tcppack.c.o -c /builddir/build/BUILD/ssldump-1.8/base/tcppack.c /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/base/network.c.o -MF CMakeFiles/ssldump.dir/base/network.c.o.d -o CMakeFiles/ssldump.dir/base/network.c.o -c /builddir/build/BUILD/ssldump-1.8/base/network.c [ 23%] Building C object CMakeFiles/ssldump.dir/base/tcpconn.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/base/tcpconn.c.o -MF CMakeFiles/ssldump.dir/base/tcpconn.c.o.d -o CMakeFiles/ssldump.dir/base/tcpconn.c.o -c /builddir/build/BUILD/ssldump-1.8/base/tcpconn.c /builddir/build/BUILD/ssldump-1.8/redhat-linux-build/base/pcap-snoop.c: In function ‘pcap_cb’: /builddir/build/BUILD/ssldump-1.8/redhat-linux-build/base/pcap-snoop.c:282:7: warning: ‘type’ may be used uninitialized [-Wmaybe-uninitialized] 282 | if(type == ETHERTYPE_IPV6) | ^ /builddir/build/BUILD/ssldump-1.8/redhat-linux-build/base/pcap-snoop.c:173:9: note: ‘type’ was declared here 173 | int type, cleaned_conn; | ^~~~ [ 28%] Building C object CMakeFiles/ssldump.dir/null/null_analyze.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/null/null_analyze.c.o -MF CMakeFiles/ssldump.dir/null/null_analyze.c.o.d -o CMakeFiles/ssldump.dir/null/null_analyze.c.o -c /builddir/build/BUILD/ssldump-1.8/null/null_analyze.c /builddir/build/BUILD/ssldump-1.8/null/null_analyze.c: In function ‘destroy_null_analyzer’: /builddir/build/BUILD/ssldump-1.8/null/null_analyze.c:83:20: warning: variable ‘obj’ set but not used [-Wunused-but-set-variable] 83 | null_analyzer *obj; | ^~~ [ 33%] Building C object CMakeFiles/ssldump.dir/common/lib/r_data.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/common/lib/r_data.c.o -MF CMakeFiles/ssldump.dir/common/lib/r_data.c.o.d -o CMakeFiles/ssldump.dir/common/lib/r_data.c.o -c /builddir/build/BUILD/ssldump-1.8/common/lib/r_data.c [ 38%] Building C object CMakeFiles/ssldump.dir/common/lib/r_assoc.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/common/lib/r_assoc.c.o -MF CMakeFiles/ssldump.dir/common/lib/r_assoc.c.o.d -o CMakeFiles/ssldump.dir/common/lib/r_assoc.c.o -c /builddir/build/BUILD/ssldump-1.8/common/lib/r_assoc.c [ 42%] Building C object CMakeFiles/ssldump.dir/common/lib/r_errors.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/common/lib/r_errors.c.o -MF CMakeFiles/ssldump.dir/common/lib/r_errors.c.o.d -o CMakeFiles/ssldump.dir/common/lib/r_errors.c.o -c /builddir/build/BUILD/ssldump-1.8/common/lib/r_errors.c [ 47%] Building C object CMakeFiles/ssldump.dir/common/lib/debug.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/common/lib/debug.c.o -MF CMakeFiles/ssldump.dir/common/lib/debug.c.o.d -o CMakeFiles/ssldump.dir/common/lib/debug.c.o -c /builddir/build/BUILD/ssldump-1.8/common/lib/debug.c [ 52%] Building C object CMakeFiles/ssldump.dir/ssl/ssl_analyze.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/ssl/ssl_analyze.c.o -MF CMakeFiles/ssldump.dir/ssl/ssl_analyze.c.o.d -o CMakeFiles/ssldump.dir/ssl/ssl_analyze.c.o -c /builddir/build/BUILD/ssldump-1.8/ssl/ssl_analyze.c [ 57%] Building C object CMakeFiles/ssldump.dir/ssl/ssldecode.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/ssl/ssldecode.c.o -MF CMakeFiles/ssldump.dir/ssl/ssldecode.c.o.d -o CMakeFiles/ssldump.dir/ssl/ssldecode.c.o -c /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c [ 61%] Building C object CMakeFiles/ssldump.dir/ssl/sslprint.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/ssl/sslprint.c.o -MF CMakeFiles/ssldump.dir/ssl/sslprint.c.o.d -o CMakeFiles/ssldump.dir/ssl/sslprint.c.o -c /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c [ 66%] Building C object CMakeFiles/ssldump.dir/ssl/ssl.enums.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/ssl/ssl.enums.c.o -MF CMakeFiles/ssldump.dir/ssl/ssl.enums.c.o.d -o CMakeFiles/ssldump.dir/ssl/ssl.enums.c.o -c /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c: In function ‘ssl_decode_ctx_destroy’: /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:210:14: warning: unused variable ‘x’ [-Wunused-variable] 210 | r_assoc *x = d->session_cache; | ^ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c: In function ‘ssl_process_client_key_exchange’: /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:670:7: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 670 | RSA_get0_key(EVP_PKEY_get0_RSA(pk), &n, NULL, NULL); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:53: /usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:670:7: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 670 | RSA_get0_key(EVP_PKEY_get0_RSA(pk), &n, NULL, NULL); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1362:22: note: declared here 1362 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:674:7: warning: ‘RSA_private_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 674 | i=RSA_private_decrypt(len,msg,d->PMS->data, | ^ /usr/include/openssl/rsa.h:302:5: note: declared here 302 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:675:9: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 675 | EVP_PKEY_get0_RSA(pk),RSA_PKCS1_PADDING); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1362:22: note: declared here 1362 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:675:9: warning: passing argument 4 of ‘RSA_private_decrypt’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 675 | EVP_PKEY_get0_RSA(pk),RSA_PKCS1_PADDING); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:303:30: note: expected ‘RSA *’ {aka ‘struct rsa_st *’} but argument is of type ‘const struct rsa_st *’ 303 | RSA *rsa, int padding); | ~~~~~^~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c: In function ‘tls_P_hash’: /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:726:5: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 726 | HMAC_CTX *hm = HMAC_CTX_new(); | ^~~~~~~~ In file included from /usr/include/openssl/ssl.h:37: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:735:7: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 735 | HMAC_Init_ex(hm,secret->data,secret->len,md,NULL); | ^~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:736:7: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 736 | HMAC_Update(hm,A,A_l); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:737:7: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 737 | HMAC_Final(hm,_A,&A_l); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:740:7: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 740 | HMAC_Init_ex(hm,secret->data,secret->len,md,NULL); | ^~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:741:7: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 741 | HMAC_Update(hm,A,A_l); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:742:7: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 742 | HMAC_Update(hm,seed->data,seed->len); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:743:7: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 743 | HMAC_Final(hm,tmp,&tmp_l); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:751:5: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 751 | HMAC_CTX_free(hm); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c: In function ‘ssl3_generate_export_iv’: /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:873:5: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 873 | MD5_Init(&md5); | ^~~~~~~~ In file included from /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:56: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:874:5: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 874 | MD5_Update(&md5,r1->data,r1->len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:875:5: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 875 | MD5_Update(&md5,r2->data,r2->len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:876:5: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 876 | MD5_Final(tmp,&md5); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c: In function ‘ssl3_prf’: /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:904:5: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 904 | MD5_Init(&md5); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:906:5: warning: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 906 | SHA1_Init(&sha); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:41: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:918:7: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 918 | SHA1_Update(&sha,buf,i); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:920:7: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 920 | if(secret) SHA1_Update(&sha,secret->data,secret->len); | ^~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:924:9: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 924 | SHA1_Update(&sha,rnd2->data,rnd2->len); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:926:9: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 926 | SHA1_Update(&sha,rnd1->data,rnd1->len); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:930:9: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 930 | SHA1_Update(&sha,rnd1->data,rnd1->len); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:932:9: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 932 | SHA1_Update(&sha,rnd2->data,rnd2->len); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:936:7: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 936 | SHA1_Final(buf,&sha); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:939:7: warning: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 939 | SHA1_Init(&sha); | ^~~~~~~~~ /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:941:7: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 941 | MD5_Update(&md5,secret->data,secret->len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:942:7: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 942 | MD5_Update(&md5,buf,20); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:943:7: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 943 | MD5_Final((unsigned char *)outbuf,&md5); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:948:7: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 948 | MD5_Init(&md5); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c: In function ‘ssl_generate_keying_material’: /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1062:9: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1062 | MD5_Init(&md5); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1063:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1063 | MD5_Update(&md5,c_wk,ssl->cs->eff_bits/8); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1064:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1064 | MD5_Update(&md5,d->client_random->data,d->client_random->len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1065:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1065 | MD5_Update(&md5,d->server_random->data,d->server_random->len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1066:9: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1066 | MD5_Final(_key_c,&md5); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1069:9: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1069 | MD5_Init(&md5); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1070:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1070 | MD5_Update(&md5,s_wk,ssl->cs->eff_bits/8); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1071:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1071 | MD5_Update(&md5,d->server_random->data,d->server_random->len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1072:9: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1072 | MD5_Update(&md5,d->client_random->data,d->client_random->len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1073:9: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1073 | MD5_Final(_key_s,&md5); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c: In function ‘ssl_tls13_generate_keying_material’: /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1224:8: warning: unused variable ‘out’ [-Wunused-variable] 1224 | Data out; | ^~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1223:9: warning: variable ‘_status’ set but not used [-Wunused-but-set-variable] 1223 | int r,_status; | ^~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c: In function ‘ssl_read_key_log_file’: /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1353:18: warning: unused variable ‘t’ [-Wunused-variable] 1353 | unsigned int t; | ^ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c: In function ‘ssl_process_handshake_finished’: /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:411:1: warning: control reaches end of non-void function [-Wreturn-type] 411 | } | ^ /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c: In function ‘ssl_expand_record’: /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:471:9: warning: ‘__builtin_strncpy’ specified bound 20 equals destination size [-Wstringop-truncation] 471 | strncpy(outstr, dtable->name, 20); | ^ [ 71%] Building C object CMakeFiles/ssldump.dir/ssl/sslxprint.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/ssl/sslxprint.c.o -MF CMakeFiles/ssldump.dir/ssl/sslxprint.c.o.d -o CMakeFiles/ssldump.dir/ssl/sslxprint.c.o -c /builddir/build/BUILD/ssldump-1.8/ssl/sslxprint.c /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c: In function ‘decode_ContentType_application_data’: /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c:142:78: warning: pointer targets in passing argument 1 of ‘json_object_new_string_len’ differ in signedness [-Wpointer-sign] 142 | json_object_object_add(jobj, "msg_data", json_object_new_string_len(d.data, d.len)); | ~^~~~~ | | | UCHAR * {aka unsigned char *} In file included from /usr/include/json-c/json.h:27, from /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c:1: /usr/include/json-c/json_object.h:975:72: note: expected ‘const char *’ but argument is of type ‘UCHAR *’ {aka ‘unsigned char *’} 975 | JSON_EXPORT struct json_object *json_object_new_string_len(const char *s, const int len); | ~~~~~~~~~~~~^ /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c: In function ‘decode_HandshakeType_EncryptedExtensions’: /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c:627:3: warning: control reaches end of non-void function [-Wreturn-type] 627 | } | ^ /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c: In function ‘decode_HandshakeType_SessionTicket’: /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c:602:1: warning: control reaches end of non-void function [-Wreturn-type] 602 | } | ^ /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c: In function ‘decode_extension_supported_versions’: /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c:3065:1: warning: control reaches end of non-void function [-Wreturn-type] 3065 | } | ^ /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c: In function ‘decode_extension_server_certificate_type’: /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c:3111:1: warning: control reaches end of non-void function [-Wreturn-type] 3111 | } | ^ /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c: In function ‘decode_extension_client_certificate_type’: /builddir/build/BUILD/ssldump-1.8/ssl/ssl.enums.c:3091:1: warning: control reaches end of non-void function [-Wreturn-type] 3091 | } | ^ In function ‘ssl_decode_uintX’, inlined from ‘process_v2_hello’ at /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:127:5: /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:348:7: warning: ‘ver’ may be used uninitialized [-Wmaybe-uninitialized] 348 | explain(ssl,"%s = %d\n",name,*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c: In function ‘process_v2_hello’: /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:102:11: note: ‘ver’ was declared here 102 | UINT4 ver; | ^~~ In function ‘ssl_decode_uintX’, inlined from ‘process_v2_hello’ at /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:149:5: /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:348:7: warning: ‘cs_len’ may be used uninitialized [-Wmaybe-uninitialized] 348 | explain(ssl,"%s = %d\n",name,*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c: In function ‘process_v2_hello’: /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:99:11: note: ‘cs_len’ was declared here 99 | UINT4 cs_len; | ^~~~~~ In function ‘ssl_decode_uintX’, inlined from ‘process_v2_hello’ at /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:150:5: /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:348:7: warning: ‘sid_len’ may be used uninitialized [-Wmaybe-uninitialized] 348 | explain(ssl,"%s = %d\n",name,*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c: In function ‘process_v2_hello’: /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:100:11: note: ‘sid_len’ was declared here 100 | UINT4 sid_len; | ^~~~~~~ In function ‘ssl_decode_uintX’, inlined from ‘process_v2_hello’ at /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:151:5: /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:348:7: warning: ‘chall_len’ may be used uninitialized [-Wmaybe-uninitialized] 348 | explain(ssl,"%s = %d\n",name,*x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c: In function ‘process_v2_hello’: /builddir/build/BUILD/ssldump-1.8/ssl/sslprint.c:101:11: note: ‘chall_len’ was declared here 101 | UINT4 chall_len; | ^~~~~~~~~ [ 76%] Building C object CMakeFiles/ssldump.dir/ssl/ciphersuites.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/ssl/ciphersuites.c.o -MF CMakeFiles/ssldump.dir/ssl/ciphersuites.c.o.d -o CMakeFiles/ssldump.dir/ssl/ciphersuites.c.o -c /builddir/build/BUILD/ssldump-1.8/ssl/ciphersuites.c [ 80%] Building C object CMakeFiles/ssldump.dir/ssl/ssl_rec.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/ssl/ssl_rec.c.o -MF CMakeFiles/ssldump.dir/ssl/ssl_rec.c.o.d -o CMakeFiles/ssldump.dir/ssl/ssl_rec.c.o -c /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c [ 85%] Building C object CMakeFiles/ssldump.dir/pcap/logpkt.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/pcap/logpkt.c.o -MF CMakeFiles/ssldump.dir/pcap/logpkt.c.o.d -o CMakeFiles/ssldump.dir/pcap/logpkt.c.o -c /builddir/build/BUILD/ssldump-1.8/pcap/logpkt.c /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c: In function ‘tls13_decode_rec_data’: /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:219:11: warning: unused variable ‘encpadl’ [-Wunused-variable] 219 | int r,encpadl,x,_status=0; | ^~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:219:9: warning: unused variable ‘r’ [-Wunused-variable] 219 | int r,encpadl,x,_status=0; | ^ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:218:9: warning: unused variable ‘pad’ [-Wunused-variable] 218 | int pad,i; | ^~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c: In function ‘tls_check_mac’: /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:452:5: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 452 | HMAC_CTX *hm = HMAC_CTX_new(); | ^~~~~~~~ In file included from /usr/include/openssl/ssl.h:37, from /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:53: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:460:5: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 460 | HMAC_Init_ex(hm,d->mac_key->data,d->mac_key->len,md,NULL); | ^~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:464:5: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 464 | HMAC_Update(hm,buf,8); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:466:5: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 466 | HMAC_Update(hm,buf,1); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:470:5: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 470 | HMAC_Update(hm,buf,2); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:474:5: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 474 | HMAC_Update(hm,buf,2); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:478:7: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 478 | HMAC_Update(hm,iv,ivlen); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:479:7: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 479 | HMAC_Update(hm,data,datalen-ivlen); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:482:7: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 482 | HMAC_Update(hm,data,datalen); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:484:5: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 484 | HMAC_Final(hm,buf,&l); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:488:5: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 488 | HMAC_CTX_free(hm); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c: In function ‘tls13_update_rec_key’: /builddir/build/BUILD/ssldump-1.8/ssl/ssl_rec.c:206:1: warning: control reaches end of non-void function [-Wreturn-type] 206 | } | ^ /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c: In function ‘ssl_tls13_generate_keying_material’: /builddir/build/BUILD/ssldump-1.8/ssl/ssldecode.c:1223:7: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized] 1223 | int r,_status; | ^ [ 90%] Building C object CMakeFiles/ssldump.dir/pcap/pcap_logger.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/pcap/pcap_logger.c.o -MF CMakeFiles/ssldump.dir/pcap/pcap_logger.c.o.d -o CMakeFiles/ssldump.dir/pcap/pcap_logger.c.o -c /builddir/build/BUILD/ssldump-1.8/pcap/pcap_logger.c [ 95%] Building C object CMakeFiles/ssldump.dir/pcap/sys.c.o /usr/bin/gcc -DHAVE_STRDUP -DLINUX -DOPENSSL -D_DEFAULT_SOURCE=1 -I/builddir/build/BUILD/ssldump-1.8/common/include -I/builddir/build/BUILD/ssldump-1.8/common/lib -I/builddir/build/BUILD/ssldump-1.8/null -I/builddir/build/BUILD/ssldump-1.8/ssl -I/builddir/build/BUILD/ssldump-1.8/base -I/builddir/build/BUILD/ssldump-1.8/pcap -I/usr/include/json-c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT CMakeFiles/ssldump.dir/pcap/sys.c.o -MF CMakeFiles/ssldump.dir/pcap/sys.c.o.d -o CMakeFiles/ssldump.dir/pcap/sys.c.o -c /builddir/build/BUILD/ssldump-1.8/pcap/sys.c /builddir/build/BUILD/ssldump-1.8/pcap/pcap_logger.c: In function ‘create_pcap_logger’: /builddir/build/BUILD/ssldump-1.8/pcap/pcap_logger.c:59:9: warning: unused variable ‘r’ [-Wunused-variable] 59 | int r,_status; | ^ [100%] Linking C executable ssldump /usr/bin/cmake -E cmake_link_script CMakeFiles/ssldump.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "CMakeFiles/ssldump.dir/base/pcap-snoop.c.o" CMakeFiles/ssldump.dir/base/network.c.o CMakeFiles/ssldump.dir/base/proto_mod.c.o CMakeFiles/ssldump.dir/base/tcppack.c.o CMakeFiles/ssldump.dir/base/tcpconn.c.o CMakeFiles/ssldump.dir/null/null_analyze.c.o CMakeFiles/ssldump.dir/common/lib/r_data.c.o CMakeFiles/ssldump.dir/common/lib/r_assoc.c.o CMakeFiles/ssldump.dir/common/lib/r_errors.c.o CMakeFiles/ssldump.dir/common/lib/debug.c.o CMakeFiles/ssldump.dir/ssl/ssl_analyze.c.o CMakeFiles/ssldump.dir/ssl/ssldecode.c.o CMakeFiles/ssldump.dir/ssl/sslprint.c.o CMakeFiles/ssldump.dir/ssl/ssl.enums.c.o CMakeFiles/ssldump.dir/ssl/sslxprint.c.o CMakeFiles/ssldump.dir/ssl/ciphersuites.c.o CMakeFiles/ssldump.dir/ssl/ssl_rec.c.o CMakeFiles/ssldump.dir/pcap/logpkt.c.o CMakeFiles/ssldump.dir/pcap/pcap_logger.c.o CMakeFiles/ssldump.dir/pcap/sys.c.o -o ssldump /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libpcap.so /usr/lib64/libnet.so /usr/lib64/libjson-c.so gmake[2]: Leaving directory '/builddir/build/BUILD/ssldump-1.8/redhat-linux-build' [100%] Built target ssldump gmake[1]: Leaving directory '/builddir/build/BUILD/ssldump-1.8/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ssldump-1.8/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Rq7AIC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ssldump-1.8 + DESTDIR=/builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/bin/ssldump -- Installing: /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/share/man/man1/ssldump.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.8-2.fc40 --unique-debug-suffix -1.8-2.fc40.riscv64 --unique-debug-src-base ssldump-1.8-2.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ssldump-1.8 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ssldump-1.8-2.fc40.riscv64 642 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ssldump-1.8-2.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qI7jWW + umask 022 + cd /builddir/build/BUILD + cd ssldump-1.8 + DOCDIR=/builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/share/doc/ssldump + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/share/doc/ssldump + cp -pr /builddir/build/BUILD/ssldump-1.8/ChangeLog /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/share/doc/ssldump + cp -pr /builddir/build/BUILD/ssldump-1.8/CREDITS /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/share/doc/ssldump + cp -pr /builddir/build/BUILD/ssldump-1.8/HOWTO /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/share/doc/ssldump + cp -pr /builddir/build/BUILD/ssldump-1.8/README /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/share/doc/ssldump + cp -pr /builddir/build/BUILD/ssldump-1.8/README.md /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/share/doc/ssldump + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8FUgjD + umask 022 + cd /builddir/build/BUILD + cd ssldump-1.8 + LICENSEDIR=/builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/share/licenses/ssldump + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/share/licenses/ssldump + cp -pr /builddir/build/BUILD/ssldump-1.8/COPYRIGHT /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64/usr/share/licenses/ssldump + RPM_EC=0 ++ jobs -p + exit 0 Provides: ssldump = 1.8-2.fc40 ssldump(riscv-64) = 1.8-2.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) libnet.so.1()(64bit) libpcap.so.1()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Processing files: ssldump-debugsource-1.8-2.fc40.riscv64 Provides: ssldump-debugsource = 1.8-2.fc40 ssldump-debugsource(riscv-64) = 1.8-2.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ssldump-debuginfo-1.8-2.fc40.riscv64 Provides: debuginfo(build-id) = 5a1c6a4ffb5575c73dde9df7a3eb7c0cae68f7a9 ssldump-debuginfo = 1.8-2.fc40 ssldump-debuginfo(riscv-64) = 1.8-2.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ssldump-debugsource(riscv-64) = 1.8-2.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64 Wrote: /builddir/build/RPMS/ssldump-1.8-2.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ssldump-debuginfo-1.8-2.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ssldump-debugsource-1.8-2.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9nYSM6 + umask 022 + cd /builddir/build/BUILD + cd ssldump-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ssldump-1.8-2.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.gHU4Ta + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/ssldump-1.8-SPECPARTS + rm -rf ssldump-1.8 ssldump-1.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0