Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/racoon2.spec'], chrootPath='/var/lib/mock/f33-build-135376-41701/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/racoon2.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/racoon2-20100526a-41.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/racoon2.spec'], chrootPath='/var/lib/mock/f33-build-135376-41701/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/racoon2.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZmDcRR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf racoon2-20100526a + /usr/bin/gzip -dc /builddir/build/SOURCES/racoon2-20100526a.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd racoon2-20100526a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (racoon2-autotools.patch):' Patch #0 (racoon2-autotools.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file iked/Makefile.in patching file lib/Makefile.in patching file lib/racoon.h patching file samples/Makefile.in patching file spmd/Makefile.in patching file pskgen/Makefile.in patching file spmd/spmd_internal.h Patch #1 (racoon2-init.patch): + echo 'Patch #1 (racoon2-init.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file racoon2 patching file racoon2.service patching file racoon2.sysvinit Patch #2 (racoon2-functions-shebang.patch): + echo 'Patch #2 (racoon2-functions-shebang.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file samples/functions Patch #3 (racoon2-configfiles.patch): + echo 'Patch #3 (racoon2-configfiles.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file samples/child-down.in patching file samples/child-rekey.in patching file samples/child-up.in patching file samples/ikesa-down.in patching file samples/ikesa-rekey.in patching file samples/ikesa-up.in patching file samples/migration.in patching file samples/ph1-down.in patching file samples/ph1-up.in patching file samples/racoon2.conf.in patching file samples/vals.conf.in Patch #4 (racoon2-getopt.patch): + echo 'Patch #4 (racoon2-getopt.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pskgen/pskgen.in Patch #5 (racoon2-20100526a-Make-unmodified-argument-const.patch): + echo 'Patch #5 (racoon2-20100526a-Make-unmodified-argument-const.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file iked/crypto_impl.h Patch #6 (racoon2-20100526a-Adjust-for-openssl-1.1.patch): + echo 'Patch #6 (racoon2-20100526a-Adjust-for-openssl-1.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file iked/crypto_openssl.c Patch #7 (racoon2-20100526a-Adjust-for-OpenSSL-v1.1.patch): + echo 'Patch #7 (racoon2-20100526a-Adjust-for-OpenSSL-v1.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/if_spmd.c + echo 'Patch #8 (racoon2-20100526a-Fix-for-OpenSSL-1.1.patch):' Patch #8 (racoon2-20100526a-Fix-for-OpenSSL-1.1.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file spmd/shell.c + sed -i /yyget_leng/d lib/cftoken.l + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PrZcgT + umask 022 + cd /builddir/build/BUILD + cd racoon2-20100526a + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./kinkd/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./kinkd/config.sub ++ basename ./kinkd/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./kinkd/config.sub '/usr/lib/rpm/redhat/config.sub' -> './kinkd/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./kinkd/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./kinkd/config.guess ++ basename ./kinkd/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./kinkd/config.guess '/usr/lib/rpm/redhat/config.guess' -> './kinkd/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./lib/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./lib/config.sub ++ basename ./lib/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./lib/config.sub '/usr/lib/rpm/redhat/config.sub' -> './lib/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./lib/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./lib/config.guess ++ basename ./lib/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./lib/config.guess '/usr/lib/rpm/redhat/config.guess' -> './lib/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./spmd/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./spmd/config.sub ++ basename ./spmd/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./spmd/config.sub '/usr/lib/rpm/redhat/config.sub' -> './spmd/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./spmd/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./spmd/config.guess ++ basename ./spmd/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./spmd/config.guess '/usr/lib/rpm/redhat/config.guess' -> './spmd/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./iked/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./iked/config.sub ++ basename ./iked/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./iked/config.sub '/usr/lib/rpm/redhat/config.sub' -> './iked/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./iked/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./iked/config.guess ++ basename ./iked/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./iked/config.guess '/usr/lib/rpm/redhat/config.guess' -> './iked/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-kinkd --disable-pedant creating cache ./config.cache checking host system type... riscv64-redhat-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... yes checking if --with-install-opts option is specified... no checking if --enable-debug option is specified... default to yes checking if --enable-pcap option is specified... no checking if --enable-pedant option is specified... no checking if --enable-iked option is specified... yes checking if --enable-kinkd option is specified... no checking for perl... /usr/bin/perl updating cache ./config.cache creating ./config.status creating Makefile creating samples/Makefile creating samples/racoon2.conf creating samples/vals.conf creating samples/init.d-iked creating samples/init.d-kinkd creating samples/init.d-spmd creating samples/rc.d-racoon2 creating samples/rc.d-iked creating samples/rc.d-kinkd creating samples/rc.d-spmd creating samples/ikesa-up creating samples/ikesa-down creating samples/ikesa-rekey creating samples/child-up creating samples/child-down creating samples/child-rekey creating samples/migration creating samples/ph1-up creating samples/ph1-down creating pskgen/Makefile creating pskgen/pskgen creating pskgen/autogen.spmd.pwd configuring in lib running /bin/sh ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-kinkd --disable-pedant --enable-debug --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for flex... flex checking for yywrap in -lfl... no checking for bison... no checking for byacc... byacc checking for ranlib... ranlib checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for mkdep... no checking which program to make .depend... shmkdep(){ $(CC) -MM "$$@" > .depend; }; shmkdep checking host system type... riscv64-redhat-linux-gnu checking for ar... /usr/bin/ar checking if --with-kernel-build-dir option is specified... no checking if ipv6 is available... yes checking if --enable-debug option is specified... yes checking --enable-pcap... no checking if --disable-pedant option is specified... yes checking if --enable-secure option is specified... yes checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/time.h... yes checking for net/if_var.h... no checking for net/ethernet.h... yes checking for limits.h... yes checking for unistd.h... yes checking for stdarg.h... yes checking for varargs.h... no checking for netinet6/ipsec.h... no checking for netipsec/ipsec.h... no checking for net/pfkeyv2.h... no /usr/include added to the include path checking if --enable-natt option is specified... no checking if NAT-T is available... yes checking for working const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for 8-bit clean memcmp... yes checking for strftime... yes checking for vprintf... yes checking for gettimeofday... yes checking for mktime... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for getifaddrs... yes checking for strlcpy... no checking for strlcat... no checking for atoll... yes checking if printf accepts %z... yes checking for link local getifaddrs bug... no checking whether struct sockaddr has sa_len field... no checking if --with-openssl-libdir option is specified... none checking for openssl/evp.h... yes checking make... gmake updating cache .././config.cache creating ./config.status creating Makefile configuring in spmd running /bin/sh ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-kinkd --disable-pedant --enable-debug --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking build system type... riscv64-redhat-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for a BSD compatible install... (cached) /usr/bin/install -c checking for mkdep... no checking which program to make .depend... shmkdep(){ $(CC) -MM "$$@" > .depend; }; shmkdep checking for getopt_long in -lgnugetopt... no checking for main in -lcrypto... yes checking Enable Debug... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... yes checking for sys/time.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for stdarg.h... (cached) yes checking for getopt.h... yes checking for stdint.h... yes checking for inttypes.h... yes checking for working const... (cached) yes checking for inline... inline checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking size of long long... 0 checking for 8-bit clean memcmp... (cached) yes checking for strftime... (cached) yes checking for gettimeofday... (cached) yes checking for select... no checking for socket... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for uname... no checking for getopt_long... no checking for strlcpy... (cached) no checking for strlcat... (cached) no checking for atoll... (cached) yes checking whether struct sockaddr has sa_len field... no checking for architecture... use /etc/nsswitch.conf checking for SPDUPDATE BUG... no checking for libracoon... ../lib checking if --with-openssl-libdir option is specified... none checking for openssl/evp.h... (cached) yes checking make... gmake checking if --with-install-opts option is specified... no checking for net/pfkeyv2.h... (cached) no updating cache .././config.cache creating ./config.status creating Makefile creating config.h configuring in iked running /bin/sh ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-kinkd --disable-pedant --enable-debug --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking host system type... riscv64-redhat-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether ikev1 should be enabled... yes checking if --enable-debug option is specified... yes checking --enable-updateifaddr... no checking --enable-parsecoa... no checking if --with-ipsec-window-size option is specified... no, defaults to 32 checking if --with-install-opts option is specified... no checking for ANSI C header files... (cached) yes checking for limits.h... (cached) yes checking for netdb.h... yes checking for netinet/in.h... yes checking for netinet6/ipsec.h... (cached) no checking for netipsec/ipsec.h... (cached) no checking for stdarg.h... (cached) yes checking for stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for sys/param.h... yes checking for sys/socket.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking if --with-kernel-build-dir option is specified... no checking for net/pfkeyv2.h... (cached) no /usr/include added to the include path checking if --enable-natt option is specified... no checking if NAT-T is available... yes checking for working const... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking size of long long... (cached) 0 checking whether gcc needs -traditional... no checking whether malloc() is usable... yes checking for 8-bit clean memcmp... (cached) yes checking return type of signal handlers... void checking for getaddrinfo... yes checking for getnameinfo... yes checking for getopt_long... (cached) no checking for setprogname... no checking for daemon... yes checking for timegm... yes checking __func__ macro... yes checking if sa_len is available... no checking if ipv6 is available... yes checking for advanced API support... no checking if _GNU_SOURCE is required... yes checking for library containing dlopen... -ldl checking if --with-openssl-libdir option is specified... none checking --enable-engine... yes checking if --enable-rc5 option is specified... no checking if --enable-idea option is specified... no checking for openssl/rsa.h... yes checking for openssl/pem.h... yes checking for openssl/evp.h... (cached) yes checking for openssl/x509.h... yes checking whether d2i_PublicKey argument requires const... yes checking for openssl/opensslv.h... yes checking for openssl/pkcs12.h... yes checking for openssl/aes.h... yes checking for EVP_sha256... yes checking make... gmake updating cache .././config.cache creating ./config.status creating Makefile creating config.h + cd spmd + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info creating cache ./config.cache checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking build system type... riscv64-redhat-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a BSD compatible install... /usr/bin/install -c checking for mkdep... no checking which program to make .depend... shmkdep(){ $(CC) -MM "$$@" > .depend; }; shmkdep checking for getopt_long in -lgnugetopt... no checking for main in -lcrypto... yes checking Enable Debug... no checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for stdarg.h... yes checking for getopt.h... yes checking for stdint.h... yes checking for inttypes.h... yes checking for working const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of long long... 8 checking for 8-bit clean memcmp... yes checking for strftime... yes checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for uname... yes checking for getopt_long... yes checking for strlcpy... no checking for strlcat... no checking for atoll... yes checking whether struct sockaddr has sa_len field... no checking for architecture... use /etc/nsswitch.conf checking for SPDUPDATE BUG... no checking for libracoon... ../lib checking if --with-openssl-libdir option is specified... none checking for openssl/evp.h... yes checking make... gmake checking if --with-install-opts option is specified... no checking for net/pfkeyv2.h... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h + make -j4 for d in lib spmd iked pskgen samples ; do \ if test -d $d ; then \ echo "===> Change directory to $d" ; \ (cd $d && make) || exit 1 ; \ fi ; done ===> Change directory to lib make[1]: Entering directory '/builddir/build/BUILD/racoon2-20100526a/lib' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c vmbuf.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c rc_type.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c rc_net.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c rc_str.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c if_pfkeyv2.c rc_net.c: In function 'getifaddrlist': rc_net.c:383:23: warning: variable 'sin6' set but not used [-Wunused-but-set-variable] 383 | struct sockaddr_in6 *sin6; | ^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c if_spmd.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c cfsetup.c if_pfkeyv2.c: In function 'rcpfk_set_sadbkey': if_pfkeyv2.c:1142:6: warning: variable 'keytype' set but not used [-Wunused-but-set-variable] 1142 | int keytype; | ^~~~~~~ if_pfkeyv2.c: In function 'rcpfk_recv_migrate': if_pfkeyv2.c:2614:28: warning: variable 'sp_dst' set but not used [-Wunused-but-set-variable] 2614 | struct sockaddr *sp_src, *sp_dst; | ^~~~~~ cfsetup.c: In function 'rcf_fix_addrlist': cfsetup.c:3029:13: warning: variable 'va' set but not used [-Wunused-but-set-variable] 3029 | rc_vchar_t va; | ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c pidfile.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c plog.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c safefile.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c version.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c rbuf.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c addresspool.c byacc -d cfparse.y mv y.tab.c cfparse.c flex -t cftoken.l > cftoken.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c missing/strlcpy.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c missing/strlcat.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c cfparse.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DENABLE_SECURE -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -I/usr/include -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_ATOLL=1 -DHAVE_OPENSSL_EVP_H=1 -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DCF_DEBUG -c cftoken.c /usr/bin/ar cr libracoon.a vmbuf.o rc_type.o rc_net.o rc_str.o if_pfkeyv2.o if_spmd.o cfsetup.o pidfile.o plog.o safefile.o version.o rbuf.o addresspool.o cfparse.o cftoken.o strlcpy.o strlcat.o ranlib libracoon.a rm cftoken.c make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/lib' ===> Change directory to spmd make[1]: Entering directory '/builddir/build/BUILD/racoon2-20100526a/spmd' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o main.o main.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o dns.o dns.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o udp.o udp.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o query.o query.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o task.o task.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o signal.o signal.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o shell.o shell.c dns.c: In function 'dump_dns_data': dns.c:632:48: warning: 'Not Implemented <' directive output truncated writing 17 bytes into a region of size 16 [-Wformat-truncation=] 632 | snprintf(msg, sizeof(msg), "Not Implemented <%#hhx>", rcode); | ~~~~~~~~~~~~~~~~^ In file included from /usr/include/stdio.h:871, from spmd_includes.h:36, from dns.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 22 bytes into a destination of size 16 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dns.c:629:48: warning: '%#hhx' directive output truncated writing 3 bytes into a region of size 0 [-Wformat-truncation=] 629 | snprintf(msg, sizeof(msg), "Server Failure <%#hhx>", rcode); | ^~~~~ In file included from /usr/include/stdio.h:871, from spmd_includes.h:36, from dns.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 21 bytes into a destination of size 16 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dns.c:626:46: warning: '%#hhx' directive output truncated writing 3 bytes into a region of size 2 [-Wformat-truncation=] 626 | snprintf(msg, sizeof(msg), "Format Error <%#hhx>", rcode); | ^~~~~ In file included from /usr/include/stdio.h:871, from spmd_includes.h:36, from dns.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 19 bytes into a destination of size 16 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o utils.o utils.c shell.c:55:12: warning: 'shell_sock_open_sa' declared 'static' but never defined [-Wunused-function] 55 | static int shell_sock_open_sa(const struct sockaddr *sa); | ^~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o cache.o cache.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o spmd_pfkey.o spmd_pfkey.c shell.c: In function 'shell_accept': shell.c:473:6: warning: 'challenge' may be used uninitialized in this function [-Wmaybe-uninitialized] 473 | if (shell_banner(cli_sock, cid->challenge)<0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shell.c:732:2: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] 732 | EVP_MD_CTX_free(ctx); | ^~~~~~~~~~~~~~~~~~~~ shell.c:658:14: note: 'ctx' was declared here 658 | EVP_MD_CTX *ctx; | ^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o fqdn_query.o fqdn_query.c spmd_pfkey.c: In function 'spmd_nonfqdn_sp_add': spmd_pfkey.c:329:20: warning: variable 'ips' set but not used [-Wunused-but-set-variable] 329 | struct rcf_ipsec *ips = NULL; | ^~~ At top level: spmd_pfkey.c:2124:1: warning: 'spid_data_dump' defined but not used [-Wunused-function] 2124 | spid_data_dump(void) | ^~~~~~~~~~~~~~ fqdn_query.c: In function 'fqdn_query_response': fqdn_query.c:166:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 166 | int ret; | ^~~ fqdn_query.c: In function 'fqdn_query_send': fqdn_query.c:181:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 181 | int ret=0; | ^~~ shell.c: In function 'shell_login_handler': shell.c:824:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] 824 | return ret; | ^~~ shell.c:789:9: note: 'ret' was declared here 789 | size_t ret; | ^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -c -o spmdctl.o spmdctl.c spmdctl.c: In function 'sc_parse_alloc_sp_entry': spmdctl.c:250:21: warning: variable 'len' set but not used [-Wunused-but-set-variable] 250 | size_t slid_len=0, len=0; | ^~~ spmdctl.c: In function 'sc_setup_pfkey': spmdctl.c:578:22: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 578 | memset(rc, 0, sizeof(rc)); | ^ spmdctl.c: In function 'sc_policy': spmdctl.c:662:6: warning: variable 'w' set but not used [-Wunused-but-set-variable] 662 | int w; | ^ spmdctl.c: In function 'sc_migrate': spmdctl.c:757:6: warning: variable 'w' set but not used [-Wunused-but-set-variable] 757 | int w; | ^ spmdctl.c: In function 'sc_status': spmdctl.c:780:6: warning: variable 'w' set but not used [-Wunused-but-set-variable] 780 | int w; | ^ spmdctl.c: In function 'sc_ns': spmdctl.c:798:6: warning: variable 'w' set but not used [-Wunused-but-set-variable] 798 | int w; | ^ spmdctl.c: In function 'sc_login': spmdctl.c:980:8: warning: variable 'w' set but not used [-Wunused-but-set-variable] 980 | int r,w; | ^ spmdctl.c: In function 'sc_quit': spmdctl.c:1137:8: warning: variable 'w' set but not used [-Wunused-but-set-variable] 1137 | int r,w; | ^ gcc -o spmd -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" main.o dns.o udp.o query.o task.o signal.o shell.o utils.o cache.o spmd_pfkey.o fqdn_query.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -lcrypto -lracoon -lcrypto spmdctl.c: In function 'main': spmdctl.c:848:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 502 [-Wformat-truncation=] 848 | snprintf(wbuf, sizeof(wbuf), "NS DELETE %s\r\n", naddr); | ^~ ~~~~~ In file included from /usr/include/stdio.h:871, from spmdctl.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 1037 bytes into a destination of size 512 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spmdctl.c:829:41: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 505 [-Wformat-truncation=] 829 | snprintf(wbuf, sizeof(wbuf), "NS ADD %s\r\n", naddr); | ^~ ~~~~~ In file included from /usr/include/stdio.h:871, from spmdctl.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 1034 bytes into a destination of size 512 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spmdctl.c:826:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 502 [-Wformat-truncation=] 826 | snprintf(wbuf, sizeof(wbuf), "NS CHANGE %s\r\n", naddr); | ^~ ~~~~~ In file included from /usr/include/stdio.h:871, from spmdctl.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 1037 bytes into a destination of size 512 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o spmdctl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I../lib -DHAVE_CONFIG_H -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" spmdctl.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L../lib -lcrypto -lracoon -lcrypto make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/spmd' ===> Change directory to iked make[1]: Entering directory '/builddir/build/BUILD/racoon2-20100526a/iked' gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o main.o main.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o dh.o dh.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ike_sa.o ike_sa.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ike_conf.o ike_conf.c In file included from isakmp_impl.h:63, from ike_conf.c:50: ike_conf.c: In function 'ikev2_id2rct_id': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ike_conf.c:1259:11: note: in expansion of macro 'get_payload_length' 1259 | id_len = get_payload_length(id) - sizeof(struct ikev2payl_ident); | ^~~~~~~~~~~~~~~~~~ ike_conf.c: In function 'ikev2_id_dump': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:123:38: note: in expansion of macro 'get_payload_length' 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) | ^~~~~~~~~~~~~~~~~~ ike_conf.c:1373:31: note: in expansion of macro 'get_payload_data_length' 1373 | (uint8_t *)(id_p + 1), get_payload_data_length(id_p)); | ^~~~~~~~~~~~~~~~~~~~~~~ ike_conf.c: In function 'ts_is_specific': ike_conf.c:1670:21: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1670 | sport = get_uint16(&ts->start_port); | ^~~~~~~~~~~~~~~ ike_conf.c:1671:21: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1671 | eport = get_uint16(&ts->end_port); | ^~~~~~~~~~~~~ ike_conf.c: In function 'ts_within': ike_conf.c:1733:22: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1733 | sport0 = get_uint16(&ts0->start_port); | ^~~~~~~~~~~~~~~~ ike_conf.c:1734:22: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1734 | eport0 = get_uint16(&ts0->end_port); | ^~~~~~~~~~~~~~ ike_conf.c:1735:22: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1735 | sport1 = get_uint16(&ts1->start_port); | ^~~~~~~~~~~~~~~~ ike_conf.c:1736:22: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1736 | eport1 = get_uint16(&ts1->end_port); | ^~~~~~~~~~~~~~ ike_conf.c: In function 'ts_is_within_addr': ike_conf.c:1811:21: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1811 | sport = get_uint16(&ts->start_port); | ^~~~~~~~~~~~~~~ ike_conf.c:1812:21: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1812 | eport = get_uint16(&ts->end_port); | ^~~~~~~~~~~~~ ike_conf.c: In function 'ts_contains_addr': ike_conf.c:1887:21: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1887 | sport = get_uint16(&ts->start_port); | ^~~~~~~~~~~~~~~ ike_conf.c:1888:21: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1888 | eport = get_uint16(&ts->end_port); | ^~~~~~~~~~~~~ ike_conf.c: In function 'ts_is_matching': ike_conf.c:1923:21: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1923 | get_uint16(&ts->selector_length))) | ^~~~~~~~~~~~~~~~~~~~ ike_conf.c: In function 'ts_match': ike_conf.c:2010:13: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 2010 | put_uint16(&r_ts->selector_length, | ^~~~~~~~~~~~~~~~~~~~~~ ike_conf.c:2013:14: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 2013 | put_uint16(&r_ts->start_port, 0); | ^~~~~~~~~~~~~~~~~ ike_conf.c:2014:14: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 2014 | put_uint16(&r_ts->end_port, 65535); | ^~~~~~~~~~~~~~~ ike_conf.c:2016:14: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 2016 | put_uint16(&r_ts->start_port, port); | ^~~~~~~~~~~~~~~~~ ike_conf.c:2017:14: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 2017 | put_uint16(&r_ts->end_port, port); | ^~~~~~~~~~~~~~~ ike_conf.c: In function 'ikev2_dump_traffic_selectors': ike_conf.c:2085:20: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 2085 | get_uint16(&ts->selector_length))) | ^~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o isakmp.o isakmp.c ike_conf.c: In function 'transform_new': ike_conf.c:2866:13: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 2866 | put_uint16(&trns->transform_length, trns_len); | ^~~~~~~~~~~~~~~~~~~~~~~ ike_conf.c:2869:13: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 2869 | put_uint16(&trns->transform_id, id); | ^~~~~~~~~~~~~~~~~~~ ike_conf.c:2873:14: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 2873 | put_uint16(&attr->type, | ^~~~~~~~~~~ ike_conf.c:2875:14: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 2875 | put_uint16(&attr->l_or_v, keylen); | ^~~~~~~~~~~~~ ike_conf.c: In function 'ikev2_proposal_to_ipsec': ike_conf.c:3359:33: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 3359 | for (attr_bytes = get_uint16(&trns->transform_length) - | ^~~~~~~~~~~~~~~~~~~~~~~ ike_conf.c:3364:24: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3364 | switch (get_uint16(&attr->type)) { | ^~~~~~~~~~~ ike_conf.c:3366:26: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3366 | keylen = get_uint16(&attr->lorv); | ^~~~~~~~~~~ ike_conf.c:3373:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3373 | get_uint16(&attr->type)); | ^~~~~~~~~~~ In file included from isakmp_impl.h:60, from ike_conf.c:50: isakmp.h:190:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) | ^~~~~~~~~~ isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ike_conf.c:3376:12: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 3376 | alen = ISAKMP_ATTRIBUTE_TOTALLENGTH(attr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.h:193:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) | ^~~~~~~~~~ ike_conf.c:3376:12: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 3376 | alen = ISAKMP_ATTRIBUTE_TOTALLENGTH(attr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.h:190:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) | ^~~~~~~~~~ isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ike_conf.c:3377:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' 3377 | attr = ISAKMP_NEXT_ATTRIB(attr); | ^~~~~~~~~~~~~~~~~~ isakmp.h:193:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) | ^~~~~~~~~~ isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ike_conf.c:3377:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' 3377 | attr = ISAKMP_NEXT_ATTRIB(attr); | ^~~~~~~~~~~~~~~~~~ ike_conf.c:3383:39: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 3383 | alg = ikeconf_find_alg(get_uint16(&trns->transform_id), | ^~~~~~~~~~~~~~~~~~~ ike_conf.c:3419:15: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 3419 | (&trns->transform_id), | ^~~~~~~~~~~~~~~~~~~ ike_conf.c:3440:20: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 3440 | if (get_uint16(&trns->transform_id) != IKEV2TRANSF_ESN_NO) { | ^~~~~~~~~~~~~~~~~~~ ike_conf.c: In function 'ike_conf_check_sa': ike_conf.c:4028:3: warning: case value '0' not in enumerated type 'rc_type' [-Wswitch] 4028 | case 0: | ^~~~ ike_conf.c: In function 'ike_conf_check_consistency': ike_conf.c:4229:3: warning: case value '0' not in enumerated type 'rc_type' [-Wswitch] 4229 | case 0: | ^~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o authenticator.o authenticator.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o encryptor.o encryptor.c isakmp.c: In function 'isakmp_check_proposal_syntax': isakmp.c:1099:29: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1099 | proposal_len = get_uint16(&proposal->h.len); | ^~~~~~~~~~~~~~~~ isakmp.c:1168:31: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1168 | transform_len = get_uint16(&transform->h.len); | ^~~~~~~~~~~~~~~~~ In file included from isakmp.c:78: isakmp.c: In function 'isakmp_check_attrib_syntax': isakmp.h:190:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) | ^~~~~~~~~~ isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.c:1229:16: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 1229 | attrib_len = ISAKMP_ATTRIBUTE_TOTALLENGTH(attrib); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.h:193:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) | ^~~~~~~~~~ isakmp.c:1229:16: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 1229 | attrib_len = ISAKMP_ATTRIBUTE_TOTALLENGTH(attrib); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.h:190:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) | ^~~~~~~~~~ isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.c:1233:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' 1233 | attrib = ISAKMP_NEXT_ATTRIB(attrib); | ^~~~~~~~~~~~~~~~~~ isakmp.h:193:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) | ^~~~~~~~~~ isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.c:1233:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' 1233 | attrib = ISAKMP_NEXT_ATTRIB(attrib); | ^~~~~~~~~~~~~~~~~~ In file included from isakmp.c:79: isakmp.c: In function 'isakmp_parse_proposal': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.c:1264:13: note: in expansion of macro 'get_payload_length' 1264 | proplen = get_payload_length(p); | ^~~~~~~~~~~~~~~~~~ isakmp.c: In function 'proppair_dup': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.c:1332:14: note: in expansion of macro 'get_payload_length' 1332 | trns_len = get_payload_length(p->trns); | ^~~~~~~~~~~~~~~~~~ isakmp.c: In function 'isakmp_p2v': isakmp.c:1601:36: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1601 | buf = rc_vnew(gen + 1, get_uint16(&gen->len) - sizeof(struct isakmp_gen)); | ^~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o crypto_openssl.o crypto_openssl.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o str2val.o str2val.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o keyed_hash.o keyed_hash.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o sockmisc.o sockmisc.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ike_pfkey.o ike_pfkey.c ike_pfkey.c: In function 'sadb_x_migrate_callback': ike_pfkey.c:884:2: warning: implicit declaration of function 'ikev2_migrate_script_hook'; did you mean 'ikev1_migrate_script_hook'? [-Wimplicit-function-declaration] 884 | ikev2_migrate_script_hook(ike_sa, param->sa_src, param->sa_dst, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | ikev1_migrate_script_hook gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ike_spmif.o ike_spmif.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o schedule.o schedule.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ratelimit.o ratelimit.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o script.o script.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/ikev1.o ikev1/ikev1.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/genlist.o ikev1/genlist.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/ipsec_doi.o ikev1/ipsec_doi.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/isakmp_ident.o ikev1/isakmp_ident.c ikev1/ikev1.c: In function 'ikev1_post_acquire': ikev1/ikev1.c:1460:17: warning: variable 'sc' set but not used [-Wunused-but-set-variable] 1460 | struct sched *sc; | ^~ ikev1/ikev1.c: In function 'isakmp_set_attr_v': ikev1/ikev1.c:1572:13: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1572 | put_uint16(&data->type, type | ISAKMP_GEN_TLV); | ^~~~~~~~~~~ ikev1/ikev1.c:1573:13: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1573 | put_uint16(&data->lorv, len); | ^~~~~~~~~~~ ikev1/ikev1.c: In function 'isakmp_set_attr_l': ikev1/ikev1.c:1586:13: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1586 | put_uint16(&data->type, type | ISAKMP_GEN_TV); | ^~~~~~~~~~~ ikev1/ikev1.c:1587:13: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1587 | put_uint16(&data->lorv, val); | ^~~~~~~~~~~ ikev1/ikev1.c: In function 'isakmp_add_attr_v': ikev1/ikev1.c:1615:13: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1615 | put_uint16(&data->type, type | ISAKMP_GEN_TLV); | ^~~~~~~~~~~ ikev1/ikev1.c:1616:13: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1616 | put_uint16(&data->lorv, len); | ^~~~~~~~~~~ ikev1/ikev1.c: In function 'isakmp_add_attr_l': ikev1/ikev1.c:1645:13: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1645 | put_uint16(&data->type, type | ISAKMP_GEN_TV); | ^~~~~~~~~~~ ikev1/ikev1.c:1646:13: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1646 | put_uint16(&data->lorv, val); | ^~~~~~~~~~~ ikev1/ikev1.c: In function 'set_isakmp_header': ikev1/ikev1.c:1672:13: warning: taking address of packed member of 'struct isakmp' may result in an unaligned pointer value [-Waddress-of-packed-member] 1672 | put_uint32(&isakmp->len, vbuf->l); | ^~~~~~~~~~~~ ikev1/ikev1.c: In function 'set_isakmp_payload_c': ikev1/ikev1.c:1772:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1772 | put_uint16(&gen->len, sizeof(*gen) + src->l); | ^~~~~~~~~ ikev1/ikev1.c: In function 'set_isakmp_payload': ikev1/ikev1.c:1797:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1797 | put_uint16(&gen->len, sizeof(*gen) + src->l); | ^~~~~~~~~ ikev1/ikev1.c: In function 'isakmp_p2ph': ikev1/ikev1.c:2046:31: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 2046 | *buf = rc_vmalloc(get_uint16(&gen->len) - sizeof(*gen)); | ^~~~~~~~~ ikev1/ikev1.c: In function 'isakmp_parsewoh': ikev1/ikev1.c:2139:23: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 2139 | p->len = get_uint16(&gen->len); | ^~~~~~~~~ ikev1/ikev1.c:2166:21: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 2166 | plen = get_uint16(&gen->len); | ^~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/isakmp_quick.o ikev1/isakmp_quick.c ikev1/ipsec_doi.c: In function 'get_ph1approval': ikev1/ipsec_doi.c:223:6: warning: variable 'prophlen' set but not used [-Wunused-but-set-variable] 223 | int prophlen; | ^~~~~~~~ ikev1/ipsec_doi.c: In function 't2isakmpsa': ikev1/ipsec_doi.c:572:20: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 572 | tlen = get_uint16(&trns->h.len) - sizeof(*trns); | ^~~~~~~~~~~~ ikev1/ipsec_doi.c:586:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 586 | type = get_uint16(&d->type) & ~ISAKMP_GEN_MASK; | ^~~~~~~~ ikev1/ipsec_doi.c:587:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 587 | flag = get_uint16(&d->type) & ISAKMP_GEN_MASK; | ^~~~~~~~ ikev1/ipsec_doi.c:592:37: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 592 | s_oakley_attr_v(type, get_uint16(&d->lorv))); | ^~~~~~~~ ikev1/ipsec_doi.c:607:22: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 607 | len = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:622:29: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 622 | sa->enctype = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:626:30: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 626 | sa->hashtype = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:630:32: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 630 | sa->authmethod = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:634:30: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 634 | sa->dh_group = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:639:26: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 639 | int type = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:653:34: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 653 | sa->dhgrp->gen1 = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:655:26: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 655 | int len = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:667:34: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 667 | sa->dhgrp->gen2 = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:669:26: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 669 | int len = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:688:26: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 688 | int type = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:702:20: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 702 | || (get_uint16(&prev->type) & ~ISAKMP_GEN_MASK) != | ^~~~~~~~~~~ ikev1/ipsec_doi.c:738:25: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 738 | int len = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:780:37: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 780 | tlen -= (sizeof(*d) + get_uint16(&d->lorv)); | ^~~~~~~~ ikev1/ipsec_doi.c:781:67: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 781 | d = (struct isakmp_data *)((char *)d + sizeof(*d) + get_uint16(&d->lorv)); | ^~~~~~~~ ikev1/ipsec_doi.c: In function 'cmp_aproppair_i': ikev1/ipsec_doi.c:1017:20: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1017 | len = get_uint16(&r->trns->h.len) - sizeof(*p->trns); | ^~~~~~~~~~~~~~~ ikev1/ipsec_doi.c: In function 'get_proppair': ikev1/ipsec_doi.c:1241:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 1241 | memset(pair, 0, sizeof(pair)); | ^ ikev1/ipsec_doi.c: In function 'get_transform': ikev1/ipsec_doi.c:1392:20: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1392 | tlen = get_uint16(&prop->h.len) | ^~~~~~~~~~~~ ikev1/ipsec_doi.c: In function 'get_sabyproppair': ikev1/ipsec_doi.c:1499:18: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1499 | + get_uint16(&p->trns->h.len)); | ^~~~~~~~~~~~~~~ ikev1/ipsec_doi.c:1509:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1509 | put_uint16(&((struct isakmp_gen *)bp)->len, newtlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev1/ipsec_doi.c:1520:24: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1520 | trnslen = get_uint16(&p->trns->h.len); | ^~~~~~~~~~~~~~~ ikev1/ipsec_doi.c:1529:14: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1529 | put_uint16(&((struct isakmp_pl_p *)bp)->h.len, prophlen + trnslen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev1/ipsec_doi.c:1538:14: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1538 | put_uint16(&((struct isakmp_pl_t *)bp)->h.len, trnslen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev1/ipsec_doi.c: In function 'get_sabysaprop': ikev1/ipsec_doi.c:1647:27: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1647 | newtlen += get_uint16(&p->trns->h.len); | ^~~~~~~~~~~~~~~ ikev1/ipsec_doi.c:1660:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1660 | put_uint16(&((struct isakmp_gen *)bp)->len, newtlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev1/ipsec_doi.c:1678:26: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1678 | trnslen = get_uint16(&p->trns->h.len); | ^~~~~~~~~~~~~~~ ikev1/ipsec_doi.c:1687:16: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1687 | put_uint16(&((struct isakmp_pl_p *)bp)->h.len, prophlen + trnslen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev1/ipsec_doi.c:1695:16: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1695 | put_uint16(&((struct isakmp_pl_t *)bp)->h.len, trnslen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev1/ipsec_doi.c: In function 'check_attr_isakmp': ikev1/ipsec_doi.c:1982:20: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1982 | tlen = get_uint16(&trns->h.len) - sizeof(struct isakmp_pl_t); | ^~~~~~~~~~~~ ikev1/ipsec_doi.c:1986:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1986 | type = get_uint16(&d->type) & ~ISAKMP_GEN_MASK; | ^~~~~~~~ ikev1/ipsec_doi.c:1987:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1987 | flag = get_uint16(&d->type) & ISAKMP_GEN_MASK; | ^~~~~~~~ ikev1/ipsec_doi.c:1988:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 1988 | lorv = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c: In function 'check_attr_ipsec': ikev1/ipsec_doi.c:2178:20: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 2178 | tlen = get_uint16(&trns->h.len) - sizeof(struct isakmp_pl_t); | ^~~~~~~~~~~~ ikev1/ipsec_doi.c:2183:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 2183 | type = get_uint16(&d->type) & ~ISAKMP_GEN_MASK; | ^~~~~~~~ ikev1/ipsec_doi.c:2184:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 2184 | flag = get_uint16(&d->type) & ISAKMP_GEN_MASK; | ^~~~~~~~ ikev1/ipsec_doi.c:2185:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 2185 | lorv = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c: In function 'check_attr_ipcomp': ikev1/ipsec_doi.c:2389:20: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 2389 | tlen = get_uint16(&trns->h.len) - sizeof(struct isakmp_pl_t); | ^~~~~~~~~~~~ ikev1/ipsec_doi.c:2394:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 2394 | type = get_uint16(&d->type) & ~ISAKMP_GEN_MASK; | ^~~~~~~~ ikev1/ipsec_doi.c:2395:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 2395 | flag = get_uint16(&d->type) & ISAKMP_GEN_MASK; | ^~~~~~~~ ikev1/ipsec_doi.c:2396:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 2396 | lorv = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c: In function 'setph1prop': ikev1/ipsec_doi.c:2602:14: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 2602 | put_uint16(&prop->h.len, proplen); | ^~~~~~~~~~~~ ikev1/ipsec_doi.c: In function 'setph1trns': ikev1/ipsec_doi.c:2634:14: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 2634 | put_uint16(&trns->h.len, trnslen); | ^~~~~~~~~~~~ ikev1/ipsec_doi.c: In function 'setph2proposal0': ikev1/ipsec_doi.c:2930:14: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 2930 | put_uint16(&trns->h.len, sizeof(*trns) + attrlen); | ^~~~~~~~~~~~ ikev1/ipsec_doi.c:2945:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 2945 | put_uint16(&prop->h.len, p->l); | ^~~~~~~~~~~~ ikev1/ipsec_doi.c: In function 'ipsecdoi_t2satrns': ikev1/ipsec_doi.c:3705:20: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 3705 | tlen = get_uint16(&t->h.len) - sizeof(*t); | ^~~~~~~~~ ikev1/ipsec_doi.c:3717:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3717 | type = get_uint16(&d->type) & ~ISAKMP_GEN_MASK; | ^~~~~~~~ ikev1/ipsec_doi.c:3718:21: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3718 | flag = get_uint16(&d->type) & ISAKMP_GEN_MASK; | ^~~~~~~~ ikev1/ipsec_doi.c:3723:39: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3723 | s_ipsecdoi_attr_v(type, get_uint16(&d->lorv))); | ^~~~~~~~ ikev1/ipsec_doi.c:3728:26: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3728 | int type = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:3745:20: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3745 | || (get_uint16(&prev->type) & ~ISAKMP_GEN_MASK) != | ^~~~~~~~~~~ ikev1/ipsec_doi.c:3766:26: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3766 | int len = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:3834:32: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3834 | pp->pfs_group = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:3835:41: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3835 | else if (pp->pfs_group != get_uint16(&d->lorv)) { | ^~~~~~~~ ikev1/ipsec_doi.c:3845:34: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3845 | pr->encmode != get_uint16(&d->lorv)) { | ^~~~~~~~ ikev1/ipsec_doi.c:3851:29: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3851 | pr->encmode = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:3861:30: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3861 | tr->authtype = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:3870:29: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3870 | tr->encklen = get_uint16(&d->lorv); | ^~~~~~~~ ikev1/ipsec_doi.c:3885:37: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3885 | tlen -= (sizeof(*d) + get_uint16(&d->lorv)); | ^~~~~~~~ ikev1/ipsec_doi.c:3886:68: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 3886 | d = (struct isakmp_data *)((caddr_t)d + sizeof(*d) + get_uint16(&d->lorv)); | ^~~~~~~~ ikev1/isakmp_quick.c: In function 'quick_i2recv': ikev1/isakmp_quick.c:428:16: warning: taking address of packed member of 'struct isakmp' may result in an unaligned pointer value [-Waddress-of-packed-member] 428 | + get_uint32(&isakmp->len) - sizeof(*isakmp); | ^~~~~~~~~~~~ ikev1/isakmp_quick.c:548:54: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 548 | plogdump(PLOG_DEBUG, PLOGLOC, 0, r_hash, get_uint16(&hash->h.len) - sizeof(*hash)); | ^~~~~~~~~~~~ ikev1/isakmp_quick.c: In function 'quick_i3recv': ikev1/isakmp_quick.c:824:54: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 824 | plogdump(PLOG_DEBUG, PLOGLOC, 0, r_hash, get_uint16(&hash->h.len) - sizeof(*hash)); | ^~~~~~~~~~~~ ikev1/isakmp_quick.c: In function 'quick_r1recv': ikev1/isakmp_quick.c:961:20: warning: taking address of packed member of 'struct isakmp' may result in an unaligned pointer value [-Waddress-of-packed-member] 961 | tlen = get_uint32(&isakmp->len) - sizeof(*isakmp); | ^~~~~~~~~~~~ ikev1/isakmp_quick.c:1104:54: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1104 | plogdump(PLOG_DEBUG, PLOGLOC, 0, r_hash, get_uint16(&hash->h.len) - sizeof(*hash)); | ^~~~~~~~~~~~ ikev1/isakmp_quick.c: In function 'quick_r3recv': ikev1/isakmp_quick.c:1509:54: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1509 | plogdump(PLOG_DEBUG, PLOGLOC, 0, r_hash, get_uint16(&hash->h.len) - sizeof(*hash)); | ^~~~~~~~~~~~ ikev1/isakmp_quick.c: In function 'quick_r3send': ikev1/isakmp_quick.c:1590:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1590 | put_uint16(&n->h.len, tlen); | ^~~~~~~~~ ikev1/isakmp_quick.c:1591:13: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 1591 | put_uint32(&n->doi, IPSEC_DOI); | ^~~~~~~ ikev1/isakmp_quick.c:1594:13: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 1594 | put_uint16(&n->type, ISAKMP_NTYPE_CONNECTED); | ^~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/isakmp_inf.o ikev1/isakmp_inf.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/handler.o ikev1/handler.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/strnames.o ikev1/strnames.c ikev1/isakmp_inf.c: In function 'isakmp_info_recv': ikev1/isakmp_inf.c:197:45: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 197 | if (msg->l < sizeof(*isakmp) + get_uint16(&gen->len) + sizeof(*nd)) { | ^~~~~~~~~ ikev1/isakmp_inf.c:205:58: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 205 | nd = (struct isakmp_gen *) ((caddr_t) gen + get_uint16(&gen->len)); | ^~~~~~~~~ ikev1/isakmp_inf.c:208:18: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 208 | if (get_uint16(&nd->len) > msg->l - (sizeof(struct isakmp) + | ^~~~~~~~ ikev1/isakmp_inf.c:209:18: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 209 | get_uint16(&gen->len))) { | ^~~~~~~~~ ikev1/isakmp_inf.c:215:18: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 215 | if (get_uint16(&nd->len) < sizeof(*nd)) { | ^~~~~~~~ ikev1/isakmp_inf.c:221:35: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 221 | payload = rc_vmalloc(get_uint16(&nd->len)); | ^~~~~~~~ ikev1/isakmp_inf.c:228:47: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 228 | memcpy(payload->v, (caddr_t) nd, get_uint16(&nd->len)); | ^~~~~~~~ ikev1/isakmp_inf.c:240:18: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 240 | if (get_uint16(&gen->len) - sizeof(struct isakmp_gen) != hash->l) { | ^~~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_info_send_d1': ikev1/isakmp_inf.c:345:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 345 | put_uint16(&d->h.len, tlen); | ^~~~~~~~~ ikev1/isakmp_inf.c:346:13: warning: taking address of packed member of 'struct isakmp_pl_d' may result in an unaligned pointer value [-Waddress-of-packed-member] 346 | put_uint32(&d->doi, IPSEC_DOI); | ^~~~~~~ ikev1/isakmp_inf.c:349:13: warning: taking address of packed member of 'struct isakmp_pl_d' may result in an unaligned pointer value [-Waddress-of-packed-member] 349 | put_uint16(&d->num_spi, 1); | ^~~~~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_info_send_d2': ikev1/isakmp_inf.c:405:14: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 405 | put_uint16(&d->h.len, tlen); | ^~~~~~~~~ ikev1/isakmp_inf.c:406:14: warning: taking address of packed member of 'struct isakmp_pl_d' may result in an unaligned pointer value [-Waddress-of-packed-member] 406 | put_uint32(&d->doi, IPSEC_DOI); | ^~~~~~~ ikev1/isakmp_inf.c:409:14: warning: taking address of packed member of 'struct isakmp_pl_d' may result in an unaligned pointer value [-Waddress-of-packed-member] 409 | put_uint16(&d->num_spi, 1); | ^~~~~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_info_send_nx': ikev1/isakmp_inf.c:494:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 494 | put_uint16(&n->h.len, tlen); | ^~~~~~~~~ ikev1/isakmp_inf.c:495:13: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 495 | put_uint32(&n->doi, IPSEC_DOI); | ^~~~~~~ ikev1/isakmp_inf.c:498:13: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 498 | put_uint16(&n->type, type); | ^~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_info_send_n1': ikev1/isakmp_inf.c:553:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 553 | put_uint16(&n->h.len, tlen); | ^~~~~~~~~ ikev1/isakmp_inf.c:554:13: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 554 | put_uint32(&n->doi, ikev1_doitype(iph1->rmconf)); | ^~~~~~~ ikev1/isakmp_inf.c:557:13: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 557 | put_uint16(&n->type, type); | ^~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_info_send_n2': ikev1/isakmp_inf.c:600:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 600 | put_uint16(&n->h.len, tlen); | ^~~~~~~~~ ikev1/isakmp_inf.c:601:13: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 601 | put_uint32(&n->doi, IPSEC_DOI); /* IPSEC DOI (1) */ | ^~~~~~~ ikev1/isakmp_inf.c:604:13: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 604 | put_uint16(&n->type, type); | ^~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_info_send_common': ikev1/isakmp_inf.c:705:13: warning: taking address of packed member of 'struct isakmp' may result in an unaligned pointer value [-Waddress-of-packed-member] 705 | put_uint32(&isakmp->len, tlen); | ^~~~~~~~~~~~ ikev1/isakmp_inf.c:712:14: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 712 | put_uint16(&gen->len, sizeof(*gen) + hash->l); | ^~~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_add_pl_n': ikev1/isakmp_inf.c:804:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 804 | put_uint16(&n->h.len, tlen); | ^~~~~~~~~ ikev1/isakmp_inf.c:805:13: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 805 | put_uint32(&n->doi, IPSEC_DOI); /* IPSEC DOI (1) */ | ^~~~~~~ ikev1/isakmp_inf.c:808:13: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 808 | put_uint16(&n->type, type); | ^~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_info_recv_n': ikev1/isakmp_inf.c:854:20: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 854 | type = get_uint16(&n->type); | ^~~~~~~~ ikev1/isakmp_inf.c:903:17: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 903 | if (get_uint16(&n->h.len) < sizeof(*n) + n->spi_size) { | ^~~~~~~~~ ikev1/isakmp_inf.c:914:14: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 914 | get_uint32(&n->doi), n->proto_id, spi, n->spi_size); | ^~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_info_recv_d': ikev1/isakmp_inf.c:1093:18: warning: taking address of packed member of 'struct isakmp_pl_d' may result in an unaligned pointer value [-Waddress-of-packed-member] 1093 | if (get_uint32(&d->doi) != IPSEC_DOI) { | ^~~~~~~ ikev1/isakmp_inf.c:1096:16: warning: taking address of packed member of 'struct isakmp_pl_d' may result in an unaligned pointer value [-Waddress-of-packed-member] 1096 | get_uint32(&d->doi)); | ^~~~~~~ ikev1/isakmp_inf.c:1110:24: warning: taking address of packed member of 'struct isakmp_pl_d' may result in an unaligned pointer value [-Waddress-of-packed-member] 1110 | num_spi = get_uint16(&d->num_spi); | ^~~~~~~~~~~ ikev1/isakmp_inf.c:1111:21: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1111 | tlen = get_uint16(&d->h.len) - sizeof(struct isakmp_pl_d); | ^~~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_check_notify': ikev1/isakmp_inf.c:1195:21: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 1195 | switch (get_uint16(¬ify->type)) { | ^~~~~~~~~~~~~ ikev1/isakmp_inf.c:1205:35: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 1205 | s_isakmp_notify_msg(get_uint16(¬ify->type))); | ^~~~~~~~~~~~~ ikev1/isakmp_inf.c:1216:35: warning: taking address of packed member of 'struct isakmp_pl_n' may result in an unaligned pointer value [-Waddress-of-packed-member] 1216 | s_isakmp_notify_msg(get_uint16(¬ify->type))); | ^~~~~~~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_info_recv_r_u': ikev1/isakmp_inf.c:1246:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1246 | put_uint16(&ru_ack->h.len, tlen); | ^~~~~~~~~~~~~~ ikev1/isakmp_inf.c:1247:13: warning: taking address of packed member of 'struct isakmp_pl_ru' may result in an unaligned pointer value [-Waddress-of-packed-member] 1247 | put_uint32(&ru_ack->doi, IPSEC_DOI); | ^~~~~~~~~~~~ ikev1/isakmp_inf.c:1248:13: warning: taking address of packed member of 'struct isakmp_pl_ru' may result in an unaligned pointer value [-Waddress-of-packed-member] 1248 | put_uint16(&ru_ack->type, ISAKMP_NTYPE_R_U_THERE_ACK); | ^~~~~~~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_info_recv_r_u_ack': ikev1/isakmp_inf.c:1277:17: warning: taking address of packed member of 'struct isakmp_pl_ru' may result in an unaligned pointer value [-Waddress-of-packed-member] 1277 | if (get_uint32(&ru->data) != iph1->dpd_seq-1) { | ^~~~~~~~~ ikev1/isakmp_inf.c:1280:16: warning: taking address of packed member of 'struct isakmp_pl_ru' may result in an unaligned pointer value [-Waddress-of-packed-member] 1280 | get_uint32(&ru->data), iph1->dpd_seq-1); | ^~~~~~~~~ ikev1/isakmp_inf.c: In function 'isakmp_info_send_r_u': ikev1/isakmp_inf.c:1377:13: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1377 | put_uint16(&ru->h.len, tlen); | ^~~~~~~~~~ ikev1/isakmp_inf.c:1378:13: warning: taking address of packed member of 'struct isakmp_pl_ru' may result in an unaligned pointer value [-Waddress-of-packed-member] 1378 | put_uint32(&ru->doi, IPSEC_DOI); | ^~~~~~~~ ikev1/isakmp_inf.c:1379:13: warning: taking address of packed member of 'struct isakmp_pl_ru' may result in an unaligned pointer value [-Waddress-of-packed-member] 1379 | put_uint16(&ru->type, ISAKMP_NTYPE_R_U_THERE); | ^~~~~~~~~ ikev1/isakmp_inf.c:1391:13: warning: taking address of packed member of 'struct isakmp_pl_ru' may result in an unaligned pointer value [-Waddress-of-packed-member] 1391 | put_uint32(&ru->data, iph1->dpd_seq); | ^~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/oakley.o ikev1/oakley.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/vendorid.o ikev1/vendorid.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/algorithm.o ikev1/algorithm.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/proposal.o ikev1/proposal.c ikev1/oakley.c: In function 'oakley_compute_hash3': ikev1/oakley.c:588:6: warning: variable 'error' set but not used [-Wunused-but-set-variable] 588 | int error = -1; | ^~~~~ ikev1/oakley.c: In function 'oakley_compute_hash1': ikev1/oakley.c:640:6: warning: variable 'error' set but not used [-Wunused-but-set-variable] 640 | int error = -1; | ^~~~~ ikev1/oakley.c: In function 'oakley_ph1hash_common': ikev1/oakley.c:690:6: warning: variable 'error' set but not used [-Wunused-but-set-variable] 690 | int error = -1; | ^~~~~ ikev1/oakley.c: In function 'oakley_ph1hash_base_i': ikev1/oakley.c:814:6: warning: variable 'error' set but not used [-Wunused-but-set-variable] 814 | int error = -1; | ^~~~~ ikev1/oakley.c: In function 'oakley_ph1hash_base_r': ikev1/oakley.c:953:6: warning: variable 'error' set but not used [-Wunused-but-set-variable] 953 | int error = -1; | ^~~~~ ikev1/oakley.c: In function 'oakley_validate_auth': ikev1/oakley.c:1119:15: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1119 | get_uint16(&iph1->pl_hash->h.len) - sizeof(*iph1->pl_hash)); | ^~~~~~~~~~~~~~~~~~~~~ ikev1/oakley.c: In function 'oakley_savecert': ikev1/oakley.c:1953:18: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1953 | get_uint16(&gen->len) - sizeof(*gen) - 1); | ^~~~~~~~~ ikev1/oakley.c: In function 'save_certbuf': ikev1/oakley.c:2136:16: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 2136 | if(get_uint16(&gen->len) <= sizeof(*gen)){ | ^~~~~~~~~ ikev1/oakley.c:2149:34: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 2149 | new->pl = rc_vmalloc(get_uint16(&gen->len) - sizeof(*gen)); | ^~~~~~~~~ ikev1/oakley.c: In function 'oakley_do_decrypt': ikev1/oakley.c:2995:13: warning: taking address of packed member of 'struct isakmp' may result in an unaligned pointer value [-Waddress-of-packed-member] 2995 | put_uint32(&((struct isakmp *)buf->v)->len, buf->l); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev1/oakley.c: In function 'oakley_do_encrypt': ikev1/oakley.c:3113:13: warning: taking address of packed member of 'struct isakmp' may result in an unaligned pointer value [-Waddress-of-packed-member] 3113 | put_uint32(&((struct isakmp *)buf->v)->len, buf->l); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev1/vendorid.c: In function 'check_vendorid': ikev1/vendorid.c:215:22: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 215 | vidlen = get_uint16(&gen->len) - sizeof(*gen); | ^~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/pfkey.o ikev1/pfkey.c In file included from ikev1/pfkey.c:60: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] 21 | #warning "The header is deprecated and will be removed." | ^~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/ikev1_natt.o ikev1/ikev1_natt.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev2.o ikev2.c ikev1/pfkey.c: In function 'pk_sendgetspi': ikev1/pfkey.c:565:19: warning: variable 'maxspi' set but not used [-Wunused-but-set-variable] 565 | uint32_t minspi, maxspi; | ^~~~~~ ikev1/pfkey.c:565:11: warning: variable 'minspi' set but not used [-Wunused-but-set-variable] 565 | uint32_t minspi, maxspi; | ^~~~~~ ikev1/pfkey.c: In function 'pk_sendget': ikev1/pfkey.c:750:22: warning: variable 'wsize' set but not used [-Wunused-but-set-variable] 750 | unsigned int wsize = 4; /* XXX static size of window */ | ^~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev2_auth.o ikev2_auth.c ikev2.c: In function 'ikev2_input': ikev2.c:236:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 236 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev2_child.o ikev2_child.c In file included from ikev2.c:55: ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:282:4: note: in expansion of macro 'get_notify_type' 282 | get_notify_type((struct ikev2payl_notify*)first_payload) == IKEV2_COOKIE); | ^~~~~~~~~~~~~~~ ikev2.c: In function 'ikev2_check_new_request': ikev2.c:972:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 972 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:1015:6: note: in expansion of macro 'get_payload_length' 1015 | get_payload_length(first_payload) > sizeof(struct ikev2payl_notify) && | ^~~~~~~~~~~~~~~~~~ ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:1016:6: note: in expansion of macro 'get_notify_type' 1016 | get_notify_type((struct ikev2payl_notify *)first_payload) == IKEV2_COOKIE) { | ^~~~~~~~~~~~~~~ ikev2.c: In function 'responder_state0_recv': ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:1087:9: note: in expansion of macro 'get_notify_type' 1087 | && get_notify_type((struct ikev2payl_notify *)p) == IKEV2_COOKIE) { | ^~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:1088:3: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 1088 | POINT_NEXT_PAYLOAD(p, type); | ^~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:1090:40: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 1090 | for (; type != IKEV2_NO_NEXT_PAYLOAD; POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ ikev2.c:1158:17: warning: taking address of packed member of 'struct ikev2payl_ke_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 1158 | if (get_uint16(&ke->ke_h.dh_group_id) != negotiated_sa->dhdef->transform_id) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:70: ikev2.c:1164:21: warning: taking address of packed member of 'struct ikev2payl_ke_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 1164 | get_uint16(&ke->ke_h.dh_group_id), | ^~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:1176:10: note: in expansion of macro 'get_payload_length' 1176 | dhlen = get_payload_length(&ke->header) - sizeof(struct ikev2payl_ke); | ^~~~~~~~~~~~~~~~~~ ikev2.c:1210:45: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 1210 | ikev2_update_message_id(ike_sa, get_uint32(&ikehdr->message_id), FALSE); | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.c: In function 'initiator_ike_sa_init_recv': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:1434:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 1434 | POINT_NEXT_PAYLOAD(payload, type)) { | ^~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:1515:6: note: in expansion of macro 'get_payload_length' 1515 | if (get_payload_length(&ke->header) < sizeof(struct ikev2payl_ke) || | ^~~~~~~~~~~~~~~~~~ ikev2.c:1516:17: warning: taking address of packed member of 'struct ikev2payl_ke_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 1516 | get_uint16(&ke->ke_h.dh_group_id) != negotiated_sa->dhdef->transform_id) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:70: ikev2.c:1518:21: warning: taking address of packed member of 'struct ikev2payl_ke_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 1518 | get_uint16(&ke->ke_h.dh_group_id), | ^~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:1523:10: note: in expansion of macro 'get_payload_length' 1523 | dhlen = get_payload_length(&ke->header) - sizeof(struct ikev2payl_ke); | ^~~~~~~~~~~~~~~~~~ ikev2.c:1585:45: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 1585 | ikev2_update_message_id(ike_sa, get_uint32(&ikehdr->message_id), TRUE); | ^~~~~~~~~~~~~~~~~~~ ikev2.c: In function 'responder_ike_sa_auth_recv0': ikev2.c:1992:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 1992 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:1997:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 1997 | POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ In file included from ikev2.c:70: ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ ikev2.c:2045:33: note: in expansion of macro 'get_notify_type' 2045 | ikev2_notify_type_str(get_notify_type((struct ikev2payl_notify *)p)))); | ^~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:123:38: note: in expansion of macro 'get_payload_length' 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) | ^~~~~~~~~~~~~~~~~~ ikev2.c:2101:37: note: in expansion of macro 'get_payload_data_length' 2101 | rc_vnew((uint8_t *)(id_i + 1), get_payload_data_length(id_i)); | ^~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:1949:31: warning: variable 'certreq' set but not used [-Wunused-but-set-variable] 1949 | struct ikev2_payload_header *certreq = 0; | ^~~~~~~ ikev2.c:1948:31: warning: variable 'cert' set but not used [-Wunused-but-set-variable] 1948 | struct ikev2_payload_header *cert = 0; | ^~~~ ikev2.c: In function 'responder_ike_sa_auth_cont': ikev2.c:2217:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2217 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:2235:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 2235 | POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:2301:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 2301 | POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ ikev2.c: In function 'initiator_ike_sa_auth_recv0': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:2656:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 2656 | POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ In file included from ikev2.c:70: ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ ikev2.c:2696:33: note: in expansion of macro 'get_notify_type' 2696 | ikev2_notify_type_str(get_notify_type | ^~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:123:38: note: in expansion of macro 'get_payload_length' 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) | ^~~~~~~~~~~~~~~~~~ ikev2.c:2741:34: note: in expansion of macro 'get_payload_data_length' 2741 | rc_vnew((uint8_t *)(id_r + 1), get_payload_data_length(id_r));; | ^~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:2642:31: warning: variable 'cert' set but not used [-Wunused-but-set-variable] 2642 | struct ikev2_payload_header *cert = 0; | ^~~~ ikev2.c: In function 'initiator_ike_sa_auth_cont': ikev2.c:2827:45: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 2827 | ikev2_update_message_id(ike_sa, get_uint32(&ikehdr->message_id), TRUE); | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:2832:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 2832 | POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ ikev2.c:2794:31: warning: variable 'id_r' set but not used [-Wunused-but-set-variable] 2794 | struct ikev2_payload_header *id_r = 0; | ^~~~ ikev2.c: In function 'ikev2_established_recv': ikev2.c:3012:28: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 3012 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ ikev2.c: In function 'ikev2_createchild_responder_recv': ikev2.c:3296:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 3296 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:3302:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 3302 | POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:123:38: note: in expansion of macro 'get_payload_length' 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) | ^~~~~~~~~~~~~~~~~~ ikev2.c:3368:6: note: in expansion of macro 'get_payload_data_length' 3368 | if (get_payload_data_length(sa) > sizeof(struct ikev2proposal) && | ^~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:3486:18: warning: taking address of packed member of 'struct ikev2payl_ke_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 3486 | if (get_uint16(&ke->ke_h.dh_group_id) != dhdef->transform_id) { | ^~~~~~~~~~~~~~~~~~~~~ ikev2.c:3492:19: warning: taking address of packed member of 'struct ikev2payl_ke_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 3492 | get_uint16(&ke->ke_h.dh_group_id), | ^~~~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:3501:11: note: in expansion of macro 'get_payload_length' 3501 | dhlen = get_payload_length(&ke->header) - | ^~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:3513:11: note: in expansion of macro 'get_payload_length' 3513 | dhlen = get_payload_length(&ke->header) - | ^~~~~~~~~~~~~~~~~~ ikev2.c: In function 'ikev2_createchild_initiator_recv': ikev2.c:3790:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 3790 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:3821:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 3821 | POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ ikev2.c:3908:18: warning: taking address of packed member of 'struct ikev2payl_ke_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 3908 | if (get_uint16(&ke->ke_h.dh_group_id) != dhdef->transform_id) { | ^~~~~~~~~~~~~~~~~~~~~ ikev2.c:3912:19: warning: taking address of packed member of 'struct ikev2payl_ke_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 3912 | get_uint16(&ke->ke_h.dh_group_id), | ^~~~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:3917:11: note: in expansion of macro 'get_payload_length' 3917 | dhlen = get_payload_length(&ke->header) - | ^~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:3929:11: note: in expansion of macro 'get_payload_length' 3929 | dhlen = get_payload_length(&ke->header) - | ^~~~~~~~~~~~~~~~~~ ikev2.c: In function 'informational_responder_recv': gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev2_cookie.o ikev2_cookie.c ikev2.c:4235:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 4235 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:4240:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 4240 | POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ ikev2.c: In function 'informational_initiator_recv': ikev2.c:4339:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 4339 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:55: ikev2.c: In function 'ikev2_info_init_notify_recv': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2.c:4383:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 4383 | POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ ikev2.c: In function 'ikev2_respond_null': ikev2.c:4443:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 4443 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ ikev2.c: In function 'ikev2_respond_error': ikev2.c:4489:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 4489 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ ikev2.c: In function 'ikev2_process_delete': ikev2.c:4549:23: warning: taking address of packed member of 'struct ikev2payl_delete_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 4549 | num_spi = get_uint16(&d->dh.num_spi); | ^~~~~~~~~~~~~~ ikev2.c:4544:21: warning: variable 'policy' set but not used [-Wunused-but-set-variable] 4544 | struct rcf_policy *policy; | ^~~~~~ In file included from ikev2.c:55: ikev2.c: In function 'ikev2_parse_sa': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:4777:3: note: in expansion of macro 'get_payload_length' 4777 | get_payload_length(sa_payload) - | ^~~~~~~~~~~~~~~~~~ ikev2.c: In function 'ikev2_proppair_to_isakmpsa': ikev2.c:4847:25: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 4847 | s->encr = get_uint16(&transf->transform_id); | ^~~~~~~~~~~~~~~~~~~~~ ikev2.c:4850:24: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 4850 | s->prf = get_uint16(&transf->transform_id); | ^~~~~~~~~~~~~~~~~~~~~ ikev2.c:4873:27: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 4873 | s->integr = get_uint16(&transf->transform_id); | ^~~~~~~~~~~~~~~~~~~~~ ikev2.c:4879:29: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 4879 | ikev2_dhinfo(get_uint16(&transf->transform_id)); | ^~~~~~~~~~~~~~~~~~~~~ ikev2.c:4891:15: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 4891 | get_uint16(&transf->transform_length) - | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ikev2.c:54: isakmp.h:190:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) | ^~~~~~~~~~ isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:4898:16: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 4898 | attr_len = ISAKMP_ATTRIBUTE_TOTALLENGTH(attr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.h:193:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) | ^~~~~~~~~~ ikev2.c:4898:16: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 4898 | attr_len = ISAKMP_ATTRIBUTE_TOTALLENGTH(attr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:4899:24: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 4899 | switch (get_uint16(&attr->type)) { | ^~~~~~~~~~~ ikev2.c:4901:26: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 4901 | keylen = get_uint16(&attr->lorv); | ^~~~~~~~~~~ ikev2.c:4908:22: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 4908 | get_uint16(&attr->type)); | ^~~~~~~~~~~ In file included from ikev2.c:54: isakmp.h:190:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) | ^~~~~~~~~~ isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:4911:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' 4911 | attr = ISAKMP_NEXT_ATTRIB(attr); | ^~~~~~~~~~~~~~~~~~ isakmp.h:193:50: warning: taking address of packed member of 'struct isakmp_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) | ^~~~~~~~~~ isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.c:4911:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' 4911 | attr = ISAKMP_NEXT_ATTRIB(attr); | ^~~~~~~~~~~~~~~~~~ ikev2.c: In function 'ikev2_transform_header': ikev2.c:5032:13: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 5032 | put_uint16(&t->transform_length, len); | ^~~~~~~~~~~~~~~~~~~~ ikev2.c:5035:13: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 5035 | put_uint16(&t->transform_id, id); | ^~~~~~~~~~~~~~~~ ikev2.c: In function 'ikev2_ikesa_to_proposal_sub': ikev2.c:5072:16: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 5072 | put_uint16(&attrib->type, | ^~~~~~~~~~~~~ ikev2.c:5074:16: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 5074 | put_uint16(&attrib->l_or_v, sa->encrklen); | ^~~~~~~~~~~~~~~ ikev2.c:5116:14: warning: taking address of packed member of 'struct ikev2proposal' may result in an unaligned pointer value [-Waddress-of-packed-member] 5116 | put_uint16(&prop->proposal_length, p - (uint8_t *)buf->v); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ikev2_auth.c:52: ikev2_auth.c: In function 'ikev2_auth_verify': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_auth.c:428:4: note: in expansion of macro 'get_payload_length' 428 | get_payload_length(auth_payload) - | ^~~~~~~~~~~~~~~~~~ ikev2_child.c: In function 'ikev2_create_child_responder': ikev2_child.c:497:35: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 497 | dhdef = ikev2_dhinfo(get_uint16(&transf->transform_id)); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ikev2_child.c:34: ikev2_child.c: In function 'ikev2_child_getspi_response': ikev2_child.c:1063:22: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1063 | assert(get_uint16(&prop->h.len) == | ^~~~~~~~~~~~ ikev2_child.c:1063:22: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 1063 | assert(get_uint16(&prop->h.len) == | ^~~~~~~~~~~~ ikev2_child.c: In function 'ikev2_update_child': ikev2_child.c:1376:14: warning: variable 'g_ir' set but not used [-Wunused-but-set-variable] 1376 | rc_vchar_t *g_ir; | ^~~~ In file included from ikev2_cookie.c:52: ikev2_cookie.c: In function 'ikev2_retransmit_add_cookie': ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_cookie.c:153:9: note: in expansion of macro 'get_notify_type' 153 | && get_notify_type((struct ikev2payl_notify *)first_payload) == | ^~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_cookie.c:156:33: note: in expansion of macro 'get_payload_length' 156 | size_t first_payload_length = get_payload_length(first_payload); | ^~~~~~~~~~~~~~~~~~ ikev2_cookie.c:160:15: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 160 | get_uint32(&ikehdr->length) - first_payload_length); | ^~~~~~~~~~~~~~~ ikev2_cookie.c:162:18: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 162 | get_uint32(&ikehdr->length) - first_payload_length); | ^~~~~~~~~~~~~~~ ikev2_cookie.c:161:14: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 161 | put_uint32(&ikehdr->length, | ^~~~~~~~~~~~~~~ ikev2_cookie.c:165:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 165 | packet_len = get_uint32(&ikehdr->length); | ^~~~~~~~~~~~~~~ In file included from ikev2_cookie.c:52: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_cookie.c:166:22: note: in expansion of macro 'get_payload_length' 166 | cookie_notify_len = get_payload_length(notify); | ^~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_cookie.c:179:33: note: in expansion of macro 'get_payload_length' 179 | memmove(first_payload, notify, get_payload_length(notify)); | ^~~~~~~~~~~~~~~~~~ ikev2_cookie.c:183:13: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 183 | put_uint32(&ikehdr->length, packet->l); | ^~~~~~~~~~~~~~~ In file included from ikev2_cookie.c:34: ikev2_cookie.c: In function 'ikev2_check_request_cookie': ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_cookie.c:221:9: note: in expansion of macro 'get_notify_type' 221 | assert(get_notify_type(notify) == IKEV2_COOKIE); | ^~~~~~~~~~~~~~~ ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_cookie.c:221:9: note: in expansion of macro 'get_notify_type' 221 | assert(get_notify_type(notify) == IKEV2_COOKIE); | ^~~~~~~~~~~~~~~ In file included from ikev2_cookie.c:52: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_cookie.c:228:6: note: in expansion of macro 'get_payload_length' 228 | if (get_payload_length(¬ify->header) != | ^~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev2_notify.o ikev2_notify.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev2_packet.o ikev2_packet.c ikev2_packet.c: In function 'ikev2_packet_construct': ikev2_packet.c:204:14: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 204 | put_uint16(&p->payload_length, payload_length); | ^~~~~~~~~~~~~~~~~~ ikev2_packet.c:259:14: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 259 | put_uint16(&p->payload_length, payloads->l); | ^~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev2_payload.o ikev2_payload.c In file included from ikev2_notify.c:68: ikev2_notify.c: In function 'resp_state0_recv_notify': ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ ikev2_notify.c:80:31: note: in expansion of macro 'get_notify_type' 80 | ikev2_notify_type_str(get_notify_type(notify)))); | ^~~~~~~~~~~~~~~ In file included from ikev2_notify.c:55: ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:92:10: note: in expansion of macro 'get_notify_type' 92 | switch (get_notify_type(notify)) { | ^~~~~~~~~~~~~~~ ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:105:32: note: in expansion of macro 'get_notify_type' 105 | notify->nh.protocol_id, get_notify_type(notify)); | ^~~~~~~~~~~~~~~ ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:126:29: note: in expansion of macro 'get_notify_type' 126 | ikev2_notify_type_str(get_notify_type(notify))); | ^~~~~~~~~~~~~~~ In file included from ikev2_notify.c:68: ikev2_notify.c: In function 'init_ike_sa_init_recv_notify': ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ ikev2_notify.c:149:31: note: in expansion of macro 'get_notify_type' 149 | ikev2_notify_type_str(get_notify_type(notify)))); | ^~~~~~~~~~~~~~~ In file included from ikev2_notify.c:55: ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:161:10: note: in expansion of macro 'get_notify_type' 161 | switch (get_notify_type(notify)) { | ^~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:169:7: note: in expansion of macro 'get_payload_length' 169 | if (get_payload_length(¬ify->header) < | ^~~~~~~~~~~~~~~~~~ In file included from ikev2_notify.c:68: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ ikev2_notify.c:174:11: note: in expansion of macro 'get_payload_length' 174 | get_payload_length(¬ify->header), | ^~~~~~~~~~~~~~~~~~ In file included from ikev2_notify.c:55: ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:264:8: note: in expansion of macro 'get_notify_type' 264 | (get_notify_type(notify) <= | ^~~~~~~~~~~~~~~ ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:268:29: note: in expansion of macro 'get_notify_type' 268 | ikev2_notify_type_str(get_notify_type(notify))); | ^~~~~~~~~~~~~~~ ikev2_notify.c: In function 'resp_ike_sa_auth_recv_notify': ikev2_notify.c:289:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 289 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2_notify.c:55: ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:292:10: note: in expansion of macro 'get_notify_type' 292 | switch (get_notify_type(notify)) { | ^~~~~~~~~~~~~~~ ikev2_notify.c:286:11: warning: variable 'message_id' set but not used [-Wunused-but-set-variable] 286 | uint32_t message_id; | ^~~~~~~~~~ In file included from ikev2_notify.c:55: ikev2_notify.c: In function 'init_ike_sa_auth_recv_notify': ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:338:10: note: in expansion of macro 'get_notify_type' 338 | switch (get_notify_type(notify)) { | ^~~~~~~~~~~~~~~ ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:363:29: note: in expansion of macro 'get_notify_type' 363 | ikev2_notify_type_str(get_notify_type(notify))); | ^~~~~~~~~~~~~~~ In file included from ikev2_notify.c:68: ikev2_notify.c: In function 'createchild_init_recv_notify': ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ ikev2_notify.c:401:31: note: in expansion of macro 'get_notify_type' 401 | ikev2_notify_type_str(get_notify_type(notify)))); | ^~~~~~~~~~~~~~~ In file included from ikev2_notify.c:55: ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:407:10: note: in expansion of macro 'get_notify_type' 407 | switch (get_notify_type(notify)) { | ^~~~~~~~~~~~~~~ In file included from ikev2_notify.c:68: ikev2_notify.c: In function 'createchild_resp_recv_notify': ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ ikev2_notify.c:469:31: note: in expansion of macro 'get_notify_type' 469 | ikev2_notify_type_str(get_notify_type(notify)))); | ^~~~~~~~~~~~~~~ In file included from ikev2_notify.c:55: ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:471:10: note: in expansion of macro 'get_notify_type' 471 | switch (get_notify_type(notify)) { | ^~~~~~~~~~~~~~~ ikev2_notify.c: In function 'ikev2_process_notify': ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:566:22: note: in expansion of macro 'get_notify_type' 566 | unsigned int type = get_notify_type(n); | ^~~~~~~~~~~~~~~ In file included from ikev2_notify.c:68: ikev2_notify.c: In function 'ikev2_process_child_notify': ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ ikev2_notify.c:654:31: note: in expansion of macro 'get_notify_type' 654 | ikev2_notify_type_str(get_notify_type(n)))); | ^~~~~~~~~~~~~~~ In file included from ikev2_notify.c:55: ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:656:10: note: in expansion of macro 'get_notify_type' 656 | switch (get_notify_type(n)) { | ^~~~~~~~~~~~~~~ ikev2_notify.c: In function 'ikev2_respond_with_notify': ikev2.h:133:16: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 133 | put_uint16(&(p_)->payload_length, (len_)); \ | ^~~~~~~~~~~~~~~~~~~~~ ikev2_notify.c:718:2: note: in expansion of macro 'set_payload_header' 718 | set_payload_header(¬ify->header, IKEV2_NO_NEXT_PAYLOAD, notify_len); | ^~~~~~~~~~~~~~~~~~ ikev2_notify.c:725:13: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 725 | put_uint16(¬ify->nh.notify_message_type, msg_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev2_proposal.o ikev2_proposal.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev2_rekey.o ikev2_rekey.c ikev2_payload.c: In function 'ikev2_check_payloads': ikev2_payload.c:115:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 115 | if (bytes != get_uint32(&hdr->length)) { | ^~~~~~~~~~~~ In file included from ikev2_payload.c:61: ikev2_payload.c:119:28: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 119 | bytes, get_uint32(&hdr->length))); | ^~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ In file included from ikev2_payload.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2_payload.c:127:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 127 | POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_payload.c:134:20: note: in expansion of macro 'get_payload_length' 134 | payload_length = get_payload_length(p); | ^~~~~~~~~~~~~~~~~~ ikev2_payload.c:193:37: warning: taking address of packed member of 'struct ikev2payl_delete_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 193 | d->dh.spi_size * get_uint16(&d->dh.num_spi)) { | ^~~~~~~~~~~~~~ In file included from ikev2_payload.c:61: ikev2_payload.c:198:41: warning: taking address of packed member of 'struct ikev2payl_delete_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 198 | d->dh.spi_size * get_uint16(&d->dh.num_spi))); | ^~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ ikev2_payload.c: In function 'ikev2_print_ts': ikev2_payload.c:282:16: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 282 | get_uint16(&ts->selector_length)); | ^~~~~~~~~~~~~~~~~~~~ ikev2_payload.c:288:43: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 288 | type, ts->protocol_id, get_uint16(&ts->selector_length), | ^~~~~~~~~~~~~~~~~~~~ ikev2_payload.c:289:20: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 289 | get_uint16(&ts->start_port), get_uint16(&ts->end_port)); | ^~~~~~~~~~~~~~~ ikev2_payload.c:289:49: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 289 | get_uint16(&ts->start_port), get_uint16(&ts->end_port)); | ^~~~~~~~~~~~~ ikev2_payload.c:297:15: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 297 | get_uint16(&ts->selector_length)); | ^~~~~~~~~~~~~~~~~~~~ In file included from ikev2_payload.c:61: ikev2_payload.c: In function 'ikev2_check_ts_payload': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ ikev2_payload.c:326:9: note: in expansion of macro 'get_payload_length' 326 | get_payload_length(payload), ts_payload->tsh.num_ts)); | ^~~~~~~~~~~~~~~~~~ In file included from ikev2_payload.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_payload.c:327:6: note: in expansion of macro 'get_payload_length' 327 | if (get_payload_length(ts_payload) < sizeof(struct ikev2payl_traffic_selector)) { | ^~~~~~~~~~~~~~~~~~ In file included from ikev2_payload.c:61: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ ikev2_payload.c:329:10: note: in expansion of macro 'get_payload_length' 329 | get_payload_length(ts_payload), | ^~~~~~~~~~~~~~~~~~ In file included from ikev2_payload.c:55: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_payload.c:334:6: note: in expansion of macro 'get_payload_length' 334 | get_payload_length(ts_payload) - sizeof(struct ikev2payl_traffic_selector); | ^~~~~~~~~~~~~~~~~~ ikev2_payload.c:351:23: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 351 | ts_len = get_uint16(&ts->selector_length); | ^~~~~~~~~~~~~~~~~~~~ ikev2_payload.c: In function 'ikev2_check_config_syntax': ikev2_payload.c:398:18: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 398 | if (get_uint16(&attrib->type) & IKEV2CFG_ATTR_RESERVED) { | ^~~~~~~~~~~~~ In file included from ikev2_payload.c:55: ikev2.h:661:46: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) | ^~~~~~~~~~~~~ ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) | ^~~~~~~~~~~~~~~~~~~~ ikev2_payload.c:402:16: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' 402 | attrib_len = IKEV2CFG_ATTR_TOTALLENGTH(attrib); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_payload.c: In function 'ikev2_check_icv': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2_payload.c:435:3: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 435 | POINT_NEXT_PAYLOAD(p, type); | ^~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:123:38: note: in expansion of macro 'get_payload_length' 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) | ^~~~~~~~~~~~~~~~~~ ikev2_payload.c:441:6: note: in expansion of macro 'get_payload_data_length' 441 | if (get_payload_data_length(p) < icv_len) { | ^~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:123:38: note: in expansion of macro 'get_payload_length' 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) | ^~~~~~~~~~~~~~~~~~ ikev2_payload.c:445:7: note: in expansion of macro 'get_payload_data_length' 445 | get_payload_data_length(p), icv_len); | ^~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_payload.c:449:26: note: in expansion of macro 'get_payload_length' 449 | tail = ((uint8_t *)p) + get_payload_length(p); | ^~~~~~~~~~~~~~~~~~ ikev2_payload.c: In function 'ikev2_decrypt': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2_payload.c:532:3: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 532 | POINT_NEXT_PAYLOAD(p, type); | ^~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:123:38: note: in expansion of macro 'get_payload_length' 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) | ^~~~~~~~~~~~~~~~~~ ikev2_payload.c:539:6: note: in expansion of macro 'get_payload_data_length' 539 | if (get_payload_data_length(p) < iv_len + block_len + icv_len) { | ^~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:123:38: note: in expansion of macro 'get_payload_length' 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) | ^~~~~~~~~~~~~~~~~~ ikev2_payload.c:546:19: note: in expansion of macro 'get_payload_data_length' 546 | ciphertext_len = get_payload_data_length(p) - iv_len - icv_len; | ^~~~~~~~~~~~~~~~~~~~~~~ ikev2_payload.c:569:13: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 569 | put_uint16(&p->payload_length, sizeof(struct ikev2_payload_header)); | ^~~~~~~~~~~~~~~~~~ ikev2_payload.c:577:13: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 577 | put_uint32(&ikehdr->length, msglen); | ^~~~~~~~~~~~~~~ ikev2_payload.c: In function 'ikev2_notify_payload': ikev2_payload.c:727:13: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 727 | put_uint16(&nh->notify_message_type, message_type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ikev2_payload.c: In function 'ikev2_delete_payload': ikev2_payload.c:755:13: warning: taking address of packed member of 'struct ikev2payl_delete_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 755 | put_uint16(&dh->num_spi, num_spi); | ^~~~~~~~~~~~ ikev2_payload.c: In function 'ikev2_construct_ts': ikev2_payload.c:975:15: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 975 | put_uint16(&t->selector_length, | ^~~~~~~~~~~~~~~~~~~ ikev2_payload.c:983:17: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 983 | put_uint16(&t->start_port, addr->port); | ^~~~~~~~~~~~~~ ikev2_payload.c:984:17: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 984 | put_uint16(&t->end_port, addr->port); | ^~~~~~~~~~~~ ikev2_payload.c:986:17: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 986 | put_uint16(&t->start_port, | ^~~~~~~~~~~~~~ ikev2_payload.c:988:17: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 988 | put_uint16(&t->end_port, | ^~~~~~~~~~~~ ikev2_payload.c:995:16: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 995 | put_uint16(&t->start_port, uss); | ^~~~~~~~~~~~~~ ikev2_payload.c:996:16: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 996 | put_uint16(&t->end_port, use); | ^~~~~~~~~~~~ ikev2_payload.c:999:16: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 999 | put_uint16(&t->start_port, IKEV2_TS_PORT_MIN); | ^~~~~~~~~~~~~~ ikev2_payload.c:1000:16: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1000 | put_uint16(&t->end_port, IKEV2_TS_PORT_MAX); | ^~~~~~~~~~~~ ikev2_payload.c: In function 'ikev2_confirm_ts': ikev2_payload.c:1102:22: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1102 | sport = get_uint16(&t->start_port); | ^~~~~~~~~~~~~~ ikev2_payload.c:1103:22: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1103 | eport = get_uint16(&t->end_port); | ^~~~~~~~~~~~ ikev2_payload.c:1217:22: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1217 | sport = get_uint16(&t->start_port); | ^~~~~~~~~~~~~~ ikev2_payload.c:1218:22: warning: taking address of packed member of 'struct ikev2_traffic_selector' may result in an unaligned pointer value [-Waddress-of-packed-member] 1218 | eport = get_uint16(&t->end_port); | ^~~~~~~~~~~~ ikev2_proposal.c: In function 'ikev2_get_transforms': ikev2_proposal.c:179:27: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 179 | transf_len = get_uint16(&transf->transform_length); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_proposal.c: In function 'ikev2_compare_transforms': ikev2_proposal.c:299:23: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 299 | my_id = get_uint16(&((struct ikev2transform *)m->trns)->transform_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_proposal.c:311:26: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 311 | peer_id = get_uint16(&((struct ikev2transform *)pp->trns)->transform_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_proposal.c: In function 'ikev2_compare_attributes': ikev2_proposal.c:357:14: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 357 | get_uint16(&my_transf->h.len) - sizeof(struct isakmp_pl_t); | ^~~~~~~~~~~~~~~~~ ikev2_proposal.c:360:14: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 360 | get_uint16(&peer_transf->h.len) - sizeof(struct isakmp_pl_t); | ^~~~~~~~~~~~~~~~~~~ ikev2_proposal.c:376:17: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 376 | get_uint16(&my_attrib->type) != (IKEV2ATTRIB_KEY_LENGTH | IKEV2ATTRIB_SHORT)) | ^~~~~~~~~~~~~~~~ In file included from ikev2_proposal.c:150: ikev2.h:330:49: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | #define IKEV2ATTRIB_VALUE_SHORT(_a) (get_uint16(&(_a)->l_or_v)) | ^~~~~~~~~~~~~ ikev2_proposal.c:378:14: note: in expansion of macro 'IKEV2ATTRIB_VALUE_SHORT' 378 | my_keylen = IKEV2ATTRIB_VALUE_SHORT(my_attrib); | ^~~~~~~~~~~~~~~~~~~~~~~ ikev2_proposal.c:381:17: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 381 | get_uint16(&peer_attrib->type) != (IKEV2ATTRIB_KEY_LENGTH | IKEV2ATTRIB_SHORT)) | ^~~~~~~~~~~~~~~~~~ In file included from ikev2_proposal.c:150: ikev2.h:330:49: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 330 | #define IKEV2ATTRIB_VALUE_SHORT(_a) (get_uint16(&(_a)->l_or_v)) | ^~~~~~~~~~~~~ ikev2_proposal.c:383:16: note: in expansion of macro 'IKEV2ATTRIB_VALUE_SHORT' 383 | peer_keylen = IKEV2ATTRIB_VALUE_SHORT(peer_attrib); | ^~~~~~~~~~~~~~~~~~~~~~~ ikev2_proposal.c: In function 'ikev2_match_transforms': ikev2_proposal.c:452:23: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 452 | my_id = get_uint16(&((struct ikev2transform *)m->trns)->transform_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_proposal.c:455:20: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] 455 | get_uint16(&((struct ikev2transform *)pp->trns)->transform_id)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_proposal.c: In function 'ikev2_pack_proposal_sub': ikev2_proposal.c:619:28: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 619 | trns_len = get_uint16(&trns->h.len); | ^~~~~~~~~~~~ ikev2_proposal.c:645:16: warning: taking address of packed member of 'struct isakmp_gen' may result in an unaligned pointer value [-Waddress-of-packed-member] 645 | put_uint16(&prophdr->h.len, | ^~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev2_config.o ikev2_config.c ikev2_config.c: In function 'cfg_attrib_set': ikev2_config.c:137:13: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 137 | put_uint16(&a->type, type); | ^~~~~~~~ ikev2_config.c:138:13: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 138 | put_uint16(&a->length, length); | ^~~~~~~~~~ In file included from ikev2_config.c:41: ikev2_config.c: In function 'ikev2_process_cfg_request_attribs': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_config.c:315:15: note: in expansion of macro 'get_payload_length' 315 | for (bytes = get_payload_length(cfg) - sizeof(*cfg), | ^~~~~~~~~~~~~~~~~~ ikev2.h:661:46: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) | ^~~~~~~~~~~~~ ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) | ^~~~~~~~~~~~~~~~~~~~ ikev2_config.c:318:16: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' 318 | bytes -= IKEV2CFG_ATTR_TOTALLENGTH(attr), | ^~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:661:46: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) | ^~~~~~~~~~~~~ ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) | ^~~~~~~~~~~~~~~~~~~~ ikev2.h:664:78: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' 664 | #define IKEV2CFG_ATTR_NEXT(a_) ((struct ikev2cfg_attrib *)((uint8_t *)(a_) + IKEV2CFG_ATTR_TOTALLENGTH(a_))) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_config.c:319:11: note: in expansion of macro 'IKEV2CFG_ATTR_NEXT' 319 | attr = IKEV2CFG_ATTR_NEXT(attr)) { | ^~~~~~~~~~~~~~~~~~ ikev2.h:660:44: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 660 | #define IKEV2CFG_ATTR_TYPE(a_) (get_uint16(&(a_)->type) & IKEV2CFG_ATTR_TYPE_MASK) | ^~~~~~~~~~~ ikev2_config.c:320:15: note: in expansion of macro 'IKEV2CFG_ATTR_TYPE' 320 | attr_type = IKEV2CFG_ATTR_TYPE(attr); | ^~~~~~~~~~~~~~~~~~ ikev2.h:661:46: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) | ^~~~~~~~~~~~~ ikev2_config.c:321:14: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' 321 | attr_len = IKEV2CFG_ATTR_LENGTH(attr); | ^~~~~~~~~~~~~~~~~~~~ ikev2_config.c: In function 'ikev2_process_cfg_reply_attribs': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_config.c:786:15: note: in expansion of macro 'get_payload_length' 786 | for (bytes = get_payload_length(cfg) - sizeof(*cfg), | ^~~~~~~~~~~~~~~~~~ ikev2.h:661:46: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) | ^~~~~~~~~~~~~ ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) | ^~~~~~~~~~~~~~~~~~~~ ikev2_config.c:789:16: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' 789 | bytes -= IKEV2CFG_ATTR_TOTALLENGTH(attr), | ^~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_rekey.c: In function 'ikev2_rekey_ikesa_responder': ikev2_rekey.c:451:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 451 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ ikev2.h:661:46: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) | ^~~~~~~~~~~~~ ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) | ^~~~~~~~~~~~~~~~~~~~ ikev2.h:664:78: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' 664 | #define IKEV2CFG_ATTR_NEXT(a_) ((struct ikev2cfg_attrib *)((uint8_t *)(a_) + IKEV2CFG_ATTR_TOTALLENGTH(a_))) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_config.c:790:11: note: in expansion of macro 'IKEV2CFG_ATTR_NEXT' 790 | attr = IKEV2CFG_ATTR_NEXT(attr)) { | ^~~~~~~~~~~~~~~~~~ ikev2.h:660:44: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 660 | #define IKEV2CFG_ATTR_TYPE(a_) (get_uint16(&(a_)->type) & IKEV2CFG_ATTR_TYPE_MASK) | ^~~~~~~~~~~ ikev2_config.c:793:10: note: in expansion of macro 'IKEV2CFG_ATTR_TYPE' 793 | type = IKEV2CFG_ATTR_TYPE(attr); | ^~~~~~~~~~~~~~~~~~ ikev2.h:661:46: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) | ^~~~~~~~~~~~~ ikev2_config.c:794:9: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' 794 | len = IKEV2CFG_ATTR_LENGTH(attr); | ^~~~~~~~~~~~~~~~~~~~ ikev2_rekey.c:487:17: warning: taking address of packed member of 'struct ikev2payl_ke_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 487 | if (get_uint16(&ke->ke_h.dh_group_id) != dhdef->transform_id) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from ikev2_rekey.c:53: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_rekey.c:499:10: note: in expansion of macro 'get_payload_length' 499 | dhlen = get_payload_length(ke) - sizeof(struct ikev2payl_ke); | ^~~~~~~~~~~~~~~~~~ ikev2_config.c:930:26: warning: taking address of packed member of 'struct ikev2cfg_mip6prefix' may result in an unaligned pointer value [-Waddress-of-packed-member] 930 | get_uint32(&p->prefix_lifetime), | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2_config.c:41: ikev2_config.c: In function 'ikev2_process_config_informational': ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_config.c:966:13: note: in expansion of macro 'get_payload_length' 966 | bytes = get_payload_length(cfg) - sizeof(*cfg); | ^~~~~~~~~~~~~~~~~~ ikev2.h:661:46: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) | ^~~~~~~~~~~~~ ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) | ^~~~~~~~~~~~~~~~~~~~ ikev2.h:664:78: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' 664 | #define IKEV2CFG_ATTR_NEXT(a_) ((struct ikev2cfg_attrib *)((uint8_t *)(a_) + IKEV2CFG_ATTR_TOTALLENGTH(a_))) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_config.c:968:15: note: in expansion of macro 'IKEV2CFG_ATTR_NEXT' 968 | attr = IKEV2CFG_ATTR_NEXT(attr), | ^~~~~~~~~~~~~~~~~~ ikev2.h:661:46: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) | ^~~~~~~~~~~~~ ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) | ^~~~~~~~~~~~~~~~~~~~ ikev2_config.c:969:14: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' 969 | bytes -= IKEV2CFG_ATTR_TOTALLENGTH(attr)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:660:44: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 660 | #define IKEV2CFG_ATTR_TYPE(a_) (get_uint16(&(a_)->type) & IKEV2CFG_ATTR_TYPE_MASK) | ^~~~~~~~~~~ ikev2_config.c:970:16: note: in expansion of macro 'IKEV2CFG_ATTR_TYPE' 970 | attr_type = IKEV2CFG_ATTR_TYPE(attr); | ^~~~~~~~~~~~~~~~~~ ikev2.h:661:46: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) | ^~~~~~~~~~~~~ ikev2_config.c:971:15: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' 971 | attr_len = IKEV2CFG_ATTR_LENGTH(attr); | ^~~~~~~~~~~~~~~~~~~~ ikev2_rekey.c: In function 'ikev2_rekey_ikesa_init_recv': ikev2_rekey.c:711:26: warning: taking address of packed member of 'struct ikev2_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 711 | message_id = get_uint32(&ikehdr->message_id); | ^~~~~~~~~~~~~~~~~~~ In file included from ikev2_rekey.c:53: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2.h:126:64: note: in expansion of macro 'get_payload_length' 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ | ^~~~~~~~~~~~~~~~~~ ikev2_rekey.c:716:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' 716 | POINT_NEXT_PAYLOAD(p, type)) { | ^~~~~~~~~~~~~~~~~~ ikev2.h:660:44: warning: taking address of packed member of 'struct ikev2cfg_attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] 660 | #define IKEV2CFG_ATTR_TYPE(a_) (get_uint16(&(a_)->type) & IKEV2CFG_ATTR_TYPE_MASK) | ^~~~~~~~~~~ ikev2_config.c:976:12: note: in expansion of macro 'IKEV2CFG_ATTR_TYPE' 976 | switch (IKEV2CFG_ATTR_TYPE(attr)) { | ^~~~~~~~~~~~~~~~~~ ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_rekey.c:770:6: note: in expansion of macro 'get_payload_length' 770 | if (get_payload_length(&ke->header) < sizeof(struct ikev2payl_ke) | ^~~~~~~~~~~~~~~~~~ ikev2_rekey.c:771:20: warning: taking address of packed member of 'struct ikev2payl_ke_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 771 | || get_uint16(&ke->ke_h.dh_group_id) != negotiated_sa->dhdef->transform_id) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from ikev2_rekey.c:62: ikev2_rekey.c:773:21: warning: taking address of packed member of 'struct ikev2payl_ke_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 773 | get_uint16(&ke->ke_h.dh_group_id), | ^~~~~~~~~~~~~~~~~~~~~ debug.h:53:58: note: in definition of macro 'TRACE' 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) | ^~~~~ In file included from ikev2_rekey.c:53: ikev2.h:122:44: warning: taking address of packed member of 'struct ikev2_payload_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ikev2_rekey.c:778:10: note: in expansion of macro 'get_payload_length' 778 | dhlen = get_payload_length(&ke->header) - sizeof(struct ikev2payl_ke); | ^~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o nattraversal.o nattraversal.c gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -g -I/usr/include -I. -I./missing -I../lib -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o eaytest.o eaytest.c In file included from nattraversal.c:53: nattraversal.c: In function 'natt_process_natd': ikev2.h:465:41: warning: taking address of packed member of 'struct ikev2payl_notify_h' may result in an unaligned pointer value [-Waddress-of-packed-member] 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nattraversal.c:185:9: note: in expansion of macro 'get_notify_type' 185 | type = get_notify_type(n); | ^~~~~~~~~~~~~~~ gcc -L../lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o iked main.o dh.o ike_sa.o ike_conf.o isakmp.o authenticator.o encryptor.o crypto_openssl.o str2val.o keyed_hash.o sockmisc.o ike_pfkey.o ike_spmif.o schedule.o ratelimit.o script.o ikev1/ikev1.o ikev1/genlist.o ikev1/ipsec_doi.o ikev1/isakmp_ident.o ikev1/isakmp_quick.o ikev1/isakmp_inf.o ikev1/handler.o ikev1/strnames.o ikev1/oakley.o ikev1/vendorid.o ikev1/algorithm.o ikev1/proposal.o ikev1/pfkey.o ikev1/ikev1_natt.o ikev2.o ikev2_auth.o ikev2_child.o ikev2_cookie.o ikev2_notify.o ikev2_packet.o ikev2_payload.o ikev2_proposal.o ikev2_rekey.o ikev2_config.o nattraversal.o -lracoon -lcrypto -ldl gcc -L../lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o eaytest eaytest.o crypto_openssl.o str2val.o -lracoon -lcrypto -ldl if ! ./eaytest ;then \ echo "### WARNING: #################################################"; \ echo "### WARNING: #################################################"; \ echo "### WARNING: "; \ echo "### WARNING: Your OpenSSL library has a BUG of DH calculation."; \ echo "### WARNING: Please read racoon2/BUGS."; \ echo "### WARNING: "; \ echo "### WARNING: #################################################"; \ echo "### WARNING: #################################################"; \ fi Linked with OpenSSL 1.1.1d FIPS 10 Sep 2019 **Test for generate a random number.** e2581a75 0496f6eb 9d5d9553 81376003 1a092726 2cff7f41 23734243 b898ba8a a8391748 eb9e029a 96ba8f02 246cb1d9 7979230b db0b6e0e 68cfb498 26001409 21ce9ffc 528ca121 db4d0c49 03ff2ec9 3930b3ed ea516aa2 c0ee7870 b83984d9 **Test for DH.** **Test for DH modp768.** prime number = ffffffff ffffffff c90fdaa2 2168c234 c4c6628b 80dc1cd1 29024e08 8a67cc74 020bbea6 3b139b22 514a0879 8e3404dd ef9519b3 cd3a431b 302b0a6d f25f1437 4fe1356d 6d51c245 e485b576 625e7ec6 f44c42e9 a63a3620 ffffffff ffffffff private key for user 1 = d6afa8b6 5f1aa61c e9854f1a public key for user 1 = 9562879d 55ddbc66 821eda77 20995ee8 1d8343d0 a9948b1b 95c2a279 2852e0f2 19d89843 7d6061a4 90113bbf 0bd8842d 9a347c6d d35b42bc 60c087fd a30c1048 dfd63007 9e4a1523 8a3cb8fe ca7b0263 03555ef6 217990ed b322879e 080740a8 private key for user 2 = 9d0082dd 23601481 f44dba1f public key for user 2 = be3b1ed1 0f361b69 9a6c5c1e 71e53504 0f846437 02c159f3 8642cecd 77b2b9a3 ae8a1ae8 98070cbc a592112e 0f348794 4c48cbae 1df77769 a371115a 1139df7b e899c80f 1eff4321 1e19a9c0 cca50d35 dff9ba33 1019a474 33691c01 9e7ed0bf sharing gxy1 of user 1 = 70a2f162 1ab5f450 994291ae 18b2593f a9b02307 90e33cb6 a7e9dcdb dc035734 057bb305 b3cda879 8139796c b2ea227f 1106f275 31f8f3a6 05c107d8 a0a565c7 fb06e15c 51eac24a 2522c451 59dc6867 cc6a3c46 3c7865d0 b8f1b1a6 352c6f0b sharing gxy2 of user 2 = 70a2f162 1ab5f450 994291ae 18b2593f a9b02307 90e33cb6 a7e9dcdb dc035734 057bb305 b3cda879 8139796c b2ea227f 1106f275 31f8f3a6 05c107d8 a0a565c7 fb06e15c 51eac24a 2522c451 59dc6867 cc6a3c46 3c7865d0 b8f1b1a6 352c6f0b **Test for DH modp1024.** prime number = ffffffff ffffffff c90fdaa2 2168c234 c4c6628b 80dc1cd1 29024e08 8a67cc74 020bbea6 3b139b22 514a0879 8e3404dd ef9519b3 cd3a431b 302b0a6d f25f1437 4fe1356d 6d51c245 e485b576 625e7ec6 f44c42e9 a637ed6b 0bff5cb6 f406b7ed ee386bfb 5a899fa5 ae9f2411 7c4b1fe6 49286651 ece65381 ffffffff ffffffff private key for user 1 = a03f2b3a b50e9baf 432b003b public key for user 1 = 26822dfd dbbe5c09 866a2271 ac75d121 a4355b06 93e148d8 af8ee917 d3d0925a ba2e3f9b e79752c5 674f7648 5a0c1a2c 8fc26e9d 8ae97736 4f3cb4bb 30701238 2fe5946c b037d08b 0d1e86de 834f48e8 96e4232b 5da043c4 5ef15bc4 2796149d c7878d94 cc68fa18 06deda20 b418e1a5 f8f4980d d77a4949 8c12385a 10741874 private key for user 2 = dc50b2b7 3a527fd8 fff82203 public key for user 2 = 326655e1 2c029dab 3903ebf4 3c3522ca 4c3b5203 1098c8b9 e9116d58 e0013299 e51df9f8 d24cc35c 238b6694 bba977f3 806e19c3 ec57d893 9846ff64 7be8448a cbed0c2e f2aff84d 0aa09ec4 e5c2d12b 253bb84f 8bc66163 f8db0404 b23ba52f 923ebbcd 948870c4 2c219c37 8a9d8555 255cc48f c4c0b2fe 0fdecc0e f4aa6fcc sharing gxy1 of user 1 = bc64df0d a2445ff6 6f6829ec 4cb529f3 8e1777d7 948901a0 e79cd11f 1105036f d7fc0058 165ed3ae 0c87d488 87b10550 190d29bb 584cbd3f ba26ca39 f6dca53d 11f04654 1d83fbb9 50020b10 7de5f37d 58026ac3 c9e10d4f 437b0e6d 554d534c 31b3adc7 58b06532 bce72e11 543a5791 35b68ee8 72c2b194 3a89267e 87cd298f sharing gxy2 of user 2 = bc64df0d a2445ff6 6f6829ec 4cb529f3 8e1777d7 948901a0 e79cd11f 1105036f d7fc0058 165ed3ae 0c87d488 87b10550 190d29bb 584cbd3f ba26ca39 f6dca53d 11f04654 1d83fbb9 50020b10 7de5f37d 58026ac3 c9e10d4f 437b0e6d 554d534c 31b3adc7 58b06532 bce72e11 543a5791 35b68ee8 72c2b194 3a89267e 87cd298f **Test for DH modp1536.** prime number = ffffffff ffffffff c90fdaa2 2168c234 c4c6628b 80dc1cd1 29024e08 8a67cc74 020bbea6 3b139b22 514a0879 8e3404dd ef9519b3 cd3a431b 302b0a6d f25f1437 4fe1356d 6d51c245 e485b576 625e7ec6 f44c42e9 a637ed6b 0bff5cb6 f406b7ed ee386bfb 5a899fa5 ae9f2411 7c4b1fe6 49286651 ece45b3d c2007cb8 a163bf05 98da4836 1c55d39a 69163fa8 fd24cf5f 83655d23 dca3ad96 1c62f356 208552bb 9ed52907 7096966d 670c354e 4abc9804 f1746c08 ca237327 ffffffff ffffffff private key for user 1 = cf4ea671 21a8880a 59659de2 public key for user 1 = 7e2b74c8 130087af a038dae8 fbea8946 f028ddfa a601c932 38759e35 beb1b459 93c187bf 321a7309 7c78ebe5 c94a02af b1bba048 dbc1ede6 cd8b5a31 edd14b02 3e4202fc 83f39ec1 6a4e628f 9adcaddf cb158b7d 25c7474b 50a4232a 59c48189 0f45e5d9 f5a30cfe 29205d07 8fb634ed 6c5ba274 2ac4eb45 e3154a41 6dc30b7a 89ca8085 8997df8d 75c578e1 bb64fbab 4220d43a e572ad12 33e1bb0f 47155ded aeb4abd3 509ccd79 1ea87644 859caa88 6543f1d9 09923a31 a3b9325a cf973fa5 private key for user 2 = f61513b7 39cd046a dca49e64 public key for user 2 = 9f3adb3c 4d096129 e9af744f ca082e57 98a28c7f 36155676 3b6bc27c 50a9f669 c2905882 8ecb06c2 fa21f78c e885ea8d 323d25d0 07f103a7 5f5ec218 72789d42 540249ce 0e179147 a1f30ca8 43ae76fa 6c6c9ca3 ab23bdaa 6557a673 df3e9294 6d0b51ce 881410fa 946d8fd4 bb0ad8c5 b3406f20 ce7821b4 5071542b cb725022 227c64c3 b3a748ad 94546e4c 70f512ae ff48ad8e 15eb0d95 1de7367f eb2c2297 ecd69970 9e1d1cb5 0e60bedc 585a3e22 4cf8fac7 116b9450 d3f818f5 1fca153b sharing gxy1 of user 1 = c2469eea c7232afc 59ec880e a32b77db 779577b6 853ed2b0 df88e190 7a1d1f0f 6474d2bb 789a0f8f a285ab8a 4a62c526 c1e234d4 103f5042 b97c6c38 ef1f1822 1e59e240 6b0ad71a 872740fa 29fc792c 08cd6c12 600c15d3 bc8cde9f 39ab5d1c 05bc79ce 41e49793 16ae205f a6dbdbe1 ad558a21 d8753e76 d2a4b819 335d20cf 605afc08 d5b5f38a c9f22ec6 d0e84366 9cd5c6c0 8b4ebf8c dc4b811b f1e2fcb0 ce8dfecd 2ca57398 9140f19c e4aed9a1 2e603c3d 7046754a bffbac19 e293e13b sharing gxy2 of user 2 = c2469eea c7232afc 59ec880e a32b77db 779577b6 853ed2b0 df88e190 7a1d1f0f 6474d2bb 789a0f8f a285ab8a 4a62c526 c1e234d4 103f5042 b97c6c38 ef1f1822 1e59e240 6b0ad71a 872740fa 29fc792c 08cd6c12 600c15d3 bc8cde9f 39ab5d1c 05bc79ce 41e49793 16ae205f a6dbdbe1 ad558a21 d8753e76 d2a4b819 335d20cf 605afc08 d5b5f38a c9f22ec6 d0e84366 9cd5c6c0 8b4ebf8c dc4b811b f1e2fcb0 ce8dfecd 2ca57398 9140f19c e4aed9a1 2e603c3d 7046754a bffbac19 e293e13b **Test for DH modp2048.** prime number = ffffffff ffffffff c90fdaa2 2168c234 c4c6628b 80dc1cd1 29024e08 8a67cc74 020bbea6 3b139b22 514a0879 8e3404dd ef9519b3 cd3a431b 302b0a6d f25f1437 4fe1356d 6d51c245 e485b576 625e7ec6 f44c42e9 a637ed6b 0bff5cb6 f406b7ed ee386bfb 5a899fa5 ae9f2411 7c4b1fe6 49286651 ece45b3d c2007cb8 a163bf05 98da4836 1c55d39a 69163fa8 fd24cf5f 83655d23 dca3ad96 1c62f356 208552bb 9ed52907 7096966d 670c354e 4abc9804 f1746c08 ca18217c 32905e46 2e36ce3b e39e772c 180e8603 9b2783a2 ec07a28f b5c55df0 6f4c52c9 de2bcbf6 95581718 3995497c ea956ae5 15d22618 98fa0510 15728e5a 8aacaa68 ffffffff ffffffff private key for user 1 = 9a2ef3b0 1f5e7f2b 51168e9e public key for user 1 = f9239650 7ba1af61 2c5ac24c 96eb0022 51ca5e90 7561ed94 3b2dd459 173005c7 6f42854e a1148a04 4fc1de9c c1496337 89ab5ce3 13f7e885 a2661974 bfec32bb 27f25d1a f667836b 61d542c8 4fdab1e3 bce4072f c781e4d2 331babcf d81aacab 4ebc672f 8a91b198 402445f5 5929aaf9 375c8f90 0999f7c1 9ab20eaa 729aae65 b4055205 781d0cb3 15c1c8a0 990f24bd fc6d5168 59eb9e4b 45dee247 1d3a0d60 2fe83d73 e3c1f9b7 9357a4fc 8ee9260c dc1ce61c b848d3f3 ded73421 f5fb3e4e e8088174 df76d2ae 609ae080 8877bde0 052d9f69 e3af3650 3d71a09d f64f282b eef1a5a4 a5afb806 ea9cc370 1068ab13 b06ae380 eda81953 82b0b48b 9fb77201 private key for user 2 = 96c7a1ce b7ef796a 6b46c0c9 public key for user 2 = dfc8ea7b f2e19668 59f831ef 8af26699 1623247e 32eccec9 14503221 202f5d23 b80197e4 7358caf5 ab3d4c9c 10d2c1d2 c61e424b 02c32213 43c72d8f 1e08d7e8 79b6c6cb 556e9679 411fd6ce deb29f6b b677454b 28bb87e6 9bc1c5f6 423ff12e 36a43f10 9d564860 576a7894 52a451c3 b211b44f b6d7c02c f2d46272 bc1e4106 7676652c c476dd66 cd5b5073 dcaa0121 5128929e 259634c0 1d2ff1a4 d9469454 b60caf85 e80364ac e8c077d9 c696284a d6ddd3b8 83dbe65d 93b746b0 e5b62263 bf2ca590 8d9a1612 58ff8150 de8c7879 f36623ef 1e17c7ef d811d61d f8cb4bee 67afb6dc 29d20a28 f51ee0b0 002d6c82 30b15813 c6e7aa4b f2904c40 319a0dfd sharing gxy1 of user 1 = 4d239953 ee475249 976b7a22 7f2b61c5 6c6c488f 237bef65 5181c2df 8614d316 feefedba e55c3adb 9497be5d 24e2c99f f53b75a0 ab25e5e7 0fbb4f2a 7c910346 8af5ee0b bd021582 df77d7f2 3ae43932 1ad3e05b 56881d13 d342d8c2 18320a08 76413735 2ca992c2 100bb321 ea6567d8 c8285040 64f74e7a c508a1a2 070b4160 5636bb3b 60ea8bbe 11e32b89 7b628571 ea8dd63b 60caa8d6 4b34ce85 ea476b99 6fdc0614 32539fb7 203996ce c24becb9 2a58619a 5e3c20c0 77bd6fa2 182db433 a6d6b18c b82a561f 4c10845f 0f84ff78 99ee033d 10f46f77 36bc4b2b a65af2ba d7e9c98d 83f274a8 ce5a3c1f e75dbcd3 2415f934 878f419c 4e278977 1ceeb931 sharing gxy2 of user 2 = 4d239953 ee475249 976b7a22 7f2b61c5 6c6c488f 237bef65 5181c2df 8614d316 feefedba e55c3adb 9497be5d 24e2c99f f53b75a0 ab25e5e7 0fbb4f2a 7c910346 8af5ee0b bd021582 df77d7f2 3ae43932 1ad3e05b 56881d13 d342d8c2 18320a08 76413735 2ca992c2 100bb321 ea6567d8 c8285040 64f74e7a c508a1a2 070b4160 5636bb3b 60ea8bbe 11e32b89 7b628571 ea8dd63b 60caa8d6 4b34ce85 ea476b99 6fdc0614 32539fb7 203996ce c24becb9 2a58619a 5e3c20c0 77bd6fa2 182db433 a6d6b18c b82a561f 4c10845f 0f84ff78 99ee033d 10f46f77 36bc4b2b a65af2ba d7e9c98d 83f274a8 ce5a3c1f e75dbcd3 2415f934 878f419c 4e278977 1ceeb931 **Test for DH modp3072.** prime number = ffffffff ffffffff c90fdaa2 2168c234 c4c6628b 80dc1cd1 29024e08 8a67cc74 020bbea6 3b139b22 514a0879 8e3404dd ef9519b3 cd3a431b 302b0a6d f25f1437 4fe1356d 6d51c245 e485b576 625e7ec6 f44c42e9 a637ed6b 0bff5cb6 f406b7ed ee386bfb 5a899fa5 ae9f2411 7c4b1fe6 49286651 ece45b3d c2007cb8 a163bf05 98da4836 1c55d39a 69163fa8 fd24cf5f 83655d23 dca3ad96 1c62f356 208552bb 9ed52907 7096966d 670c354e 4abc9804 f1746c08 ca18217c 32905e46 2e36ce3b e39e772c 180e8603 9b2783a2 ec07a28f b5c55df0 6f4c52c9 de2bcbf6 95581718 3995497c ea956ae5 15d22618 98fa0510 15728e5a 8aaac42d ad33170d 04507a33 a85521ab df1cba64 ecfb8504 58dbef0a 8aea7157 5d060c7d b3970f85 a6e1e4c7 abf5ae8c db0933d7 1e8c94e0 4a25619d cee3d226 1ad2ee6b f12ffa06 d98a0864 d8760273 3ec86a64 521f2b18 177b200c bbe11757 7a615d6c 770988c0 bad946e2 08e24fa0 74e5ab31 43db5bfc e0fd108e 4b82d120 a93ad2ca ffffffff ffffffff private key for user 1 = cadabfef 9ddadfd5 03b44bce public key for user 1 = 6801ae81 d4a96810 7db23997 bc8e2969 3dccecd6 b9b696a5 8e52dbe9 b8dbf844 4f1f0f61 d20869f8 5eeb922d 32b04298 9a48c5e5 2156174e 77e49ca7 074bd232 97ada92d 9b6b0d30 8b660c02 cfacc95b f0bda9c8 bc26a6fa 4ace1283 22a2f8d5 e35a29fd 480afaaa fa89ea5d 04b58f70 7acb859c 0f9d78ac 8b9cccd7 48a58f4e 9663d68d 5bb16e09 d352a8fb dfaff560 96015022 7e9261de dc9e43c5 ecfd8390 6d86f7c7 bfffa04c 15988752 d30c589d 202ae29a 96c00c3a 7efb3fd2 b55ed5b5 1ffca0b6 ed8a103c dc874c7b b100b2a0 01bdf5d5 f4d9465d 2d88d28e 73406e92 7715772c 255481c6 9d23b608 d92783af 8564da9e 129ca035 ffd17ab2 76745fba 2ad2e93d 0e5a0266 bbc4dc34 b2d2c3c1 a8577a99 970d58cb 5cca58cb 7cd487fd e1377d15 c515d112 b01c5bab a94947ce fac58c52 f19e02af 4e729579 de143999 88d4970b 61b19e25 714faa33 57b233bb 0cd19dab 5f71b9e8 c9cbe5d8 6a71bffd fbb2c369 9119b694 8495bb4f 1541577b da9e1511 14801301 27ec285d 49bc40b9 private key for user 2 = faf0be09 aa859cc1 7a925aac public key for user 2 = f3c16da4 beedc37c 74337d5b e6ddc6e0 6f034c22 0d563f27 1058a9e8 2c93661a 66902524 387cd0d0 3942264f 24986985 4ea47436 0fb1a3eb ce58b5e6 e017a7d9 130b2169 f51f6ac8 370e350b 21f2bb88 4d7ca7f3 4b761c0d 55ef528e 23df05c2 543f7e98 9d815ee2 8e267506 91f43ff1 a05fd018 7cc23f5d b57b0afe 42a95ed6 36c30f12 943f8824 d0a7f393 08ee9c8e 03cc3dcc 43ac5c0c d5675342 41843d8f d291bb9f eea7189b e90f4ddc 9b8aafd6 de0e95fd 7dbd4a9a 9c3ccdc3 54da27d4 f3c285de 7caf7cfa 67eacac6 1f845be7 dbc8083c e835c066 d58af943 fc74029c 8372e2ca 6a5132e2 e096be6c 1680d959 1c1b2b9c 220880fd 27c806c1 1312b917 5abdd4e3 7c791998 df47c104 1129c12d 228de128 7743fbb0 0516ba1d 543d48ad 29f092d7 1690514a df4c9ad4 6ce90a7a f06186cf f0970128 2e4f1ac6 adf58492 2576f7c8 26b4866a c9598cd3 f464f39e 71184dad 9e664b42 f2715d6d 3f3af921 5d4c967d b27931e1 8e00d8d7 969422a5 a73fcba1 084af064 d0efdeb4 46e004ab sharing gxy1 of user 1 = fafd91c5 e516190c a4fd0f1f ad94303a 36cd2738 e68162dd 15381bcd 4edadac7 c7164df9 e77c15de 4a3dcfc8 17ab67f4 2147f3a5 291eea85 d622d895 8b1e83fd 75148cec 7ba46322 c067fc7c cc4b6f4f a95cf96c f2b93876 34a2ea5e e6b92166 d7c8ec2c 1f0b26c2 c4ea96e7 fe745583 cfe48a53 b5cac565 86792c48 4f308fee 947b01fd 6dcc742c 45215df3 8890e8ba d6e61d98 beda61da c4234bda d1dd77c3 a03aab3d 5e0d5a02 5532fdfa b9c45dc2 515da88c 3b49a57d 17559abf 57f82132 1a709f9d 6bbe9624 1825ddbd 8c311316 09f26689 edb3da1b f1d734e6 9b05061b 97f006be d93b00db c093ea5d 726d4e17 12c0b33c dc3f2fcc f246ee97 241eb7f9 f93bfcc1 c2af886e 2fe2f008 9291b33a ebd8e9a6 13788bb9 1adf90ef 9d19cc81 05a0b331 3a481c1c 34f95172 b198f14d e4bbc749 7dffd658 318d603f 57935367 efcc4d2e 837c4c0b b3488ee1 b4031d04 2a08ed71 7847f722 75c9a92f 3f502ab5 da4ac431 0ef982e1 717b621a 7ae5cce2 142fc111 ed59cecf 9084bc83 a3be513f sharing gxy2 of user 2 = fafd91c5 e516190c a4fd0f1f ad94303a 36cd2738 e68162dd 15381bcd 4edadac7 c7164df9 e77c15de 4a3dcfc8 17ab67f4 2147f3a5 291eea85 d622d895 8b1e83fd 75148cec 7ba46322 c067fc7c cc4b6f4f a95cf96c f2b93876 34a2ea5e e6b92166 d7c8ec2c 1f0b26c2 c4ea96e7 fe745583 cfe48a53 b5cac565 86792c48 4f308fee 947b01fd 6dcc742c 45215df3 8890e8ba d6e61d98 beda61da c4234bda d1dd77c3 a03aab3d 5e0d5a02 5532fdfa b9c45dc2 515da88c 3b49a57d 17559abf 57f82132 1a709f9d 6bbe9624 1825ddbd 8c311316 09f26689 edb3da1b f1d734e6 9b05061b 97f006be d93b00db c093ea5d 726d4e17 12c0b33c dc3f2fcc f246ee97 241eb7f9 f93bfcc1 c2af886e 2fe2f008 9291b33a ebd8e9a6 13788bb9 1adf90ef 9d19cc81 05a0b331 3a481c1c 34f95172 b198f14d e4bbc749 7dffd658 318d603f 57935367 efcc4d2e 837c4c0b b3488ee1 b4031d04 2a08ed71 7847f722 75c9a92f 3f502ab5 da4ac431 0ef982e1 717b621a 7ae5cce2 142fc111 ed59cecf 9084bc83 a3be513f **Test for DH modp4096.** prime number = ffffffff ffffffff c90fdaa2 2168c234 c4c6628b 80dc1cd1 29024e08 8a67cc74 020bbea6 3b139b22 514a0879 8e3404dd ef9519b3 cd3a431b 302b0a6d f25f1437 4fe1356d 6d51c245 e485b576 625e7ec6 f44c42e9 a637ed6b 0bff5cb6 f406b7ed ee386bfb 5a899fa5 ae9f2411 7c4b1fe6 49286651 ece45b3d c2007cb8 a163bf05 98da4836 1c55d39a 69163fa8 fd24cf5f 83655d23 dca3ad96 1c62f356 208552bb 9ed52907 7096966d 670c354e 4abc9804 f1746c08 ca18217c 32905e46 2e36ce3b e39e772c 180e8603 9b2783a2 ec07a28f b5c55df0 6f4c52c9 de2bcbf6 95581718 3995497c ea956ae5 15d22618 98fa0510 15728e5a 8aaac42d ad33170d 04507a33 a85521ab df1cba64 ecfb8504 58dbef0a 8aea7157 5d060c7d b3970f85 a6e1e4c7 abf5ae8c db0933d7 1e8c94e0 4a25619d cee3d226 1ad2ee6b f12ffa06 d98a0864 d8760273 3ec86a64 521f2b18 177b200c bbe11757 7a615d6c 770988c0 bad946e2 08e24fa0 74e5ab31 43db5bfc e0fd108e 4b82d120 a9210801 1a723c12 a787e6d7 88719a10 bdba5b26 99c32718 6af4e23c 1a946834 b6150bda 2583e9ca 2ad44ce8 dbbbc2db 04de8ef9 2e8efc14 1fbecaa6 287c5947 4e6bc05d 99b2964f a090c3a2 233ba186 515be7ed 1f612970 cee2d7af b81bdd76 2170481c d0069127 d5b05aa9 93b4ea98 8d8fddc1 86ffb7dc 90a6c08f 4df435c9 34063199 ffffffff ffffffff private key for user 1 = 8e38672e 68bd8c86 65627b2e public key for user 1 = 9cfe21dd f2f3ac32 55f81acc f3176967 22176917 725cacbe d5114a6b d16edf88 39cc6c6f 421f7250 295cb0d9 4d6b43b3 cdc632f5 e1befd12 6c930a9d d900426e 6cc4b756 d04688c8 7905ee8b c57d4e6a d25c67c4 735d54a7 b569ef8c a4296f4d b1be597f 6a7f9ffa 60132ba5 b1583931 66e1c06e 83660a3f cc52277a 75e6ad25 c286121c 4a279296 f4c230bd e5db8a37 029c5202 e4846478 f8577f37 1a4b68b3 ea194f46 b9ba9be6 c875e145 4d66008d d070ac48 55ae352e 8eb4bedb 31358a83 e7a10958 e4bdf489 9d17080b 367e53b2 febf0810 5fe6fea8 9f321c48 c49d1ecf 601512f8 a8343103 8bd622f6 fa47de77 550f5ee8 e42e511c ed36261b f08c90e7 d0cab595 535ec40d e472308e 67344516 9746cb24 b5a44657 1eb34a1f 2dd662de 97b4c3e8 74ba5b8c ca381d09 4ab12da8 331813c9 a4deb9b4 c4e955e5 21dd0c13 9b2ffe5a 1686a8fa f01be187 50955213 fc941051 6fa1f708 d9d206da d523c79e a0e40d7e cf1f1a7e 0ca05e6a c5517fb4 d0c30383 62426988 7387ac06 8c248c58 8162806b 52eae699 80ff999d 5637241e 8e26a9bb 9b3f123a 53057b4b 01986ef4 383e0e3c ee6c8489 f305d878 2a86085c 87a24367 636bd19c ec450ec6 0461cd93 70cca036 d2903ade db8cc883 edcf26bf cf90cc7e 49680503 bff2fcc1 19f172cc d6264359 292f0869 a43dd1f9 841995ad e2ded18b 173dbeea c4f8f7de f438bb6b private key for user 2 = b1810a14 dc21074c 91d81d75 public key for user 2 = ad9f1c8f 95268cac 5a89dba2 ddf24086 47d958bc 628b6098 f3dfb5b5 9cfbca0e 2a543567 5e4014bd e0d93d5c 588491ca 4b06ca05 425251e7 1ab46e6e 4dcd5604 1cbbe231 17056f3e b8f9cd0e a92d00b1 e6c83d43 a9d0c184 609ca42e f4ccbfa0 8ec5c5a8 5b56427f 56a4a8bb e8b7a2a9 bf47789d e588b166 62cc531c 6eafd5ac 87dbdcbe 6e7c28f0 3deb632c 13731cff 1a1d663a d7dd9423 3666fcc8 87ba8332 eb2118b5 dd51a3b3 1246f050 8b5179ac ad87a316 e25ed60d 223e5d07 d985775d 9024b2f1 4cf83490 b6896f15 e11ebae5 b95cf33d e4205d4f 092a2db0 5b693af4 fad61772 e0192252 12256ed3 b29ceb57 9b338a46 452da94e 8af28530 f1cbcdea 42d497ec 22ec96f8 7821ade9 319aeb52 406b733f df4887ef 5830805a 3b34ae04 f784189c 6d12d067 246363b0 f023ec49 97acb2e0 692a5b4f 97c43e3c 4b90ec22 a17e134e 38324f14 539e0996 39c61b5c 33be5c2e f8c3e5b8 bd163538 4ab9a4ad 2db6e411 77fc4255 09a62acd fda549c9 aa9ce589 6de20c2f deb68a54 18ca202f addd1269 bec06f19 589c99cf d6785c9c 2ac68c0b e772b954 aebda2b1 aff8c970 d6646455 5eafc860 dd74832e 5d684bad dcfef5a5 623db2b0 a8ee0c8d 98ef4521 f154948e 0a17088e cbb1fa9a d2fe5836 53164082 b9c0fbb9 42a45ee1 7fd3dcac 1e6cb75f dcf881a2 6e4799d1 950b96f8 b2c132a0 d2b20adf f1e75861 1c741b75 sharing gxy1 of user 1 = 944410c3 c1e3e708 25ff0132 ac6b86e5 73051831 0f9ba6ee b3f82ac9 f3a8b031 aca8ea43 780c9358 853fd160 6f45fd57 6f49deb8 d0f40599 7f4219a4 dcdf7975 45c12fdc 64939a53 f9900bf3 3894b89c f1ba52eb 8b803c22 5620297a 5b2b5c91 89e2ed1a 7a6b9b90 c1b721cc be939a7f 64715377 8eba901d ee4543e3 e0735f65 09518d8b fab617ac 32f66804 14f417e2 02f76ca3 39b4874f b9679721 d73b6f8c f86d9005 cb80ac4d 8cb3935f 0dc8edbf 3f546172 14b79d34 b2bcd455 df9f5507 466519cb e6a164b0 f3d4ad53 a15ac2ff 1761292e f938f0c3 710082a3 405e5646 870c1a86 be80fac3 336db048 0102013d f7ab90b0 4f508708 be874f62 d3d2a266 fb3a7688 16efcae8 c13bc936 5d1dbd5b 7b19a541 3d95ac45 b4b90071 865faff4 56b7881e dd955b6a be07edec d3c54ff7 1d34dfbd 93b46137 78b7cd77 497b41b2 e3d834a1 e1f3f304 12174b41 7c787542 b0edbf23 a88c91b0 d34be30d 836c47f5 2ffebc27 96843893 9ac07c5f 5085aee7 fa55e82c b4c62f9b 4ec0fdf7 4f64341a 4fe4d788 480515f8 09e43873 5058c4af 89b116dd 245030a8 fc1d41f2 2a2f7c5b 36554af2 e772e662 b10e6617 c256204a 91bc9bdc 7d3a5e25 80c20208 32190b7d c93869ff ffdd3b48 ca627809 016a9fd4 edc09000 3aa0589b 2781240e 5174d55d d71a1c97 37e03186 185e9ba2 d9c0d552 4bea7918 e54d7f66 83304ff7 165a0823 sharing gxy2 of user 2 = 944410c3 c1e3e708 25ff0132 ac6b86e5 73051831 0f9ba6ee b3f82ac9 f3a8b031 aca8ea43 780c9358 853fd160 6f45fd57 6f49deb8 d0f40599 7f4219a4 dcdf7975 45c12fdc 64939a53 f9900bf3 3894b89c f1ba52eb 8b803c22 5620297a 5b2b5c91 89e2ed1a 7a6b9b90 c1b721cc be939a7f 64715377 8eba901d ee4543e3 e0735f65 09518d8b fab617ac 32f66804 14f417e2 02f76ca3 39b4874f b9679721 d73b6f8c f86d9005 cb80ac4d 8cb3935f 0dc8edbf 3f546172 14b79d34 b2bcd455 df9f5507 466519cb e6a164b0 f3d4ad53 a15ac2ff 1761292e f938f0c3 710082a3 405e5646 870c1a86 be80fac3 336db048 0102013d f7ab90b0 4f508708 be874f62 d3d2a266 fb3a7688 16efcae8 c13bc936 5d1dbd5b 7b19a541 3d95ac45 b4b90071 865faff4 56b7881e dd955b6a be07edec d3c54ff7 1d34dfbd 93b46137 78b7cd77 497b41b2 e3d834a1 e1f3f304 12174b41 7c787542 b0edbf23 a88c91b0 d34be30d 836c47f5 2ffebc27 96843893 9ac07c5f 5085aee7 fa55e82c b4c62f9b 4ec0fdf7 4f64341a 4fe4d788 480515f8 09e43873 5058c4af 89b116dd 245030a8 fc1d41f2 2a2f7c5b 36554af2 e772e662 b10e6617 c256204a 91bc9bdc 7d3a5e25 80c20208 32190b7d c93869ff ffdd3b48 ca627809 016a9fd4 edc09000 3aa0589b 2781240e 5174d55d d71a1c97 37e03186 185e9ba2 d9c0d552 4bea7918 e54d7f66 83304ff7 165a0823 **Test for DH modp6144.** prime number = ffffffff ffffffff c90fdaa2 2168c234 c4c6628b 80dc1cd1 29024e08 8a67cc74 020bbea6 3b139b22 514a0879 8e3404dd ef9519b3 cd3a431b 302b0a6d f25f1437 4fe1356d 6d51c245 e485b576 625e7ec6 f44c42e9 a637ed6b 0bff5cb6 f406b7ed ee386bfb 5a899fa5 ae9f2411 7c4b1fe6 49286651 ece45b3d c2007cb8 a163bf05 98da4836 1c55d39a 69163fa8 fd24cf5f 83655d23 dca3ad96 1c62f356 208552bb 9ed52907 7096966d 670c354e 4abc9804 f1746c08 ca18217c 32905e46 2e36ce3b e39e772c 180e8603 9b2783a2 ec07a28f b5c55df0 6f4c52c9 de2bcbf6 95581718 3995497c ea956ae5 15d22618 98fa0510 15728e5a 8aaac42d ad33170d 04507a33 a85521ab df1cba64 ecfb8504 58dbef0a 8aea7157 5d060c7d b3970f85 a6e1e4c7 abf5ae8c db0933d7 1e8c94e0 4a25619d cee3d226 1ad2ee6b f12ffa06 d98a0864 d8760273 3ec86a64 521f2b18 177b200c bbe11757 7a615d6c 770988c0 bad946e2 08e24fa0 74e5ab31 43db5bfc e0fd108e 4b82d120 a9210801 1a723c12 a787e6d7 88719a10 bdba5b26 99c32718 6af4e23c 1a946834 b6150bda 2583e9ca 2ad44ce8 dbbbc2db 04de8ef9 2e8efc14 1fbecaa6 287c5947 4e6bc05d 99b2964f a090c3a2 233ba186 515be7ed 1f612970 cee2d7af b81bdd76 2170481c d0069127 d5b05aa9 93b4ea98 8d8fddc1 86ffb7dc 90a6c08f 4df435c9 34028492 36c3fab4 d27c7026 c1d4dcb2 602646de c9751e76 3dba37bd f8ff9406 ad9e530e e5db382f 413001ae b06a53ed 9027d831 179727b0 865a8918 da3edbeb cf9b14ed 44ce6cba ced4bb1b db7f1447 e6cc254b 33205151 2bd7af42 6fb8f401 378cd2bf 5983ca01 c64b92ec f032ea15 d1721d03 f482d7ce 6e74fef6 d55e702f 46980c82 b5a84031 900b1c9e 59e7c97f bec7e8f3 23a97a7e 36cc88be 0f1d45b7 ff585ac5 4bd407b2 2b4154aa cc8f6d7e bf48e1d8 14cc5ed2 0f8037e0 a79715ee f29be328 06a1d58b b7c5da76 f550aa3d 8a1fbff0 eb19ccb1 a313d55c da56c9ec 2ef29632 387fe8d7 6e3c0468 043e8f66 3f4860ee 12bf2d5b 0b7474d6 e694f91e 6dcc4024 ffffffff ffffffff private key for user 1 = ae9fef42 0368116a 215922d0 public key for user 1 = c4bb871f 907e1757 f2b57f19 377552a3 5aaa26ea 2ae60af1 320416f3 6178c46e b6d9bfce 1b4ed889 32865770 34fd3748 d3a05e8e f843989e 5b7f2f98 75827ce5 d15cca9e ae3f0df7 f4b1824f 722ca4d8 ad026234 0fb31b23 b9c2fb2e 5c62509c 8d0e2e82 f8ce65c7 b69e355e 493f6640 12e8241e f0ba2c35 d2b441cc 3fd32cf2 4a83b444 0925dc0d b33a1c0b 22f784a5 273c772d 508d357d 50df2496 13cab47f 2a97d3f7 3ad9da92 52ebf536 a906d980 166783da e7859ef8 5466afc0 9595ddeb 8178a911 f8d8d656 409df4c7 d0e5e973 c68569d6 d827c029 363796e6 9bc28bb7 b3ff8b28 38aa17e2 3e765683 bb3e38b3 60157429 4b07d264 4f585e05 964a1627 1ff43e7e c6e44a23 bb46064b 096a2822 885f0a4f b5a38bcb e1608f15 9702721f 979a9463 f9372dba bc090693 c9138d1a 9fca16ea af25bbe2 15a45be7 7a71b682 0c5ebf01 bba1df7b 58839dfe a05b71b8 ac60cb7a ebd944f7 41a86b18 d32f4256 1c81742f b6323547 717e111b b61a53ec f03954a7 abaeefbd b54b50bb 0df3e687 0e5ba483 caa443f6 46ca2fc2 6cef6ea7 bdffca69 29d225de be1c3166 3742cf20 338c9b63 8ada8743 41a3dbc9 eb854e45 18141b2e b27b32fe fd3610ae ca3f6ea8 d5287dc8 98b6c7f6 4bad5754 0d93256d ad55d746 b8b5a366 6a9f017a faadd916 acc5a71b 011b0731 3a70f06d b27ea001 753b25b6 1818dd2d 53c4d1ac 3c86726e c1578fb3 95fdce93 bdf0f7c8 03fe0e05 868966db c74db05d 10feb817 8ba1a536 39d0aa88 6e804950 12e0c54a 53b74f68 93503663 58327dc1 3ff4168a 34500d95 66deb41a e8bd0f09 61471ec4 e18ff87a 2d6e1ce7 3c5d2ef9 4ed60c31 50bd5db1 dff717e1 9af913e3 5f7e2d88 41762a64 65ee3268 ed1c0741 bdccb3a8 139eb83e 2e560073 b593537b d7ab3c0a a616b86c 7d59ae8a 52f3273a ced8f0f4 e252eab2 9f377a1b 8726a436 c347b5c8 c7f50a8a d591f122 d8fcff24 88ca0d5a f6e17cfe 34f414ac ff6cca67 fdd9ab11 bf5b524d f83faa22 cdd2cb2e 57d8469e ef58cf36 0d392685 8380968a cc602e32 d08faa7d c939b9e7 9dd952fe d616247d 2a45239b private key for user 2 = d0c81f82 f59e2ffb 9b86704f public key for user 2 = cfd1b335 c4a48165 ae63ae0e c793606f 40f1c967 e5559440 a70efffb 60ce4311 a55a534b 9dc2f2b9 c283b4b4 cb87f47d b170bb38 e9b1fa4a 3ee0ad79 7196fffa b913db97 07b9c70f 3e6ae018 72717080 771b0b5c 6d4ef4fe e06656b2 5771cecb 7a058138 72d2e495 1fbc3369 a28ea5bf 09fe804e 2de3a5cb 68210b7b 775098fe b024997c 87c68b15 969612f5 3d2797d1 d43d4557 082a88f9 8b114f38 ec31e2fd 886919dd 5a3e4565 9a39a3d4 d5489a41 cca1239d 3e26d238 38aae4f2 b53c99fe d2405aff 60b849f9 a5f99212 12ac0129 b757ed7f 53f565f0 71f1069f d54c517b 7e22b118 7d7c7562 312bfcf0 399808e2 6991c5cf 3bf6a26a 26d8bedb caf4c879 255156e5 987f6c8a c63feaf3 abfa3d6b f861de44 ba3f48db 2be64930 462c56d4 8c16f93d 23db741c 9d16b0f9 85bc30ab 700f6f42 ac086707 9e33d50c c8ca2416 d76558b2 6c2b9ebf dd8e4d9b de0b0497 ec3ba697 123e5a69 c6a0ea03 c8af3953 bb3b3c82 0bbcc39b b905ba39 fa0de3eb 160308f3 949e9bcd f88baf5a e7c51d3c d6ade006 cafed867 a83662db 91014201 22bd56d1 540ea915 c2dcff77 3e860083 99da4ae8 d28d31b5 68592724 dc842864 e5eee70a 4c125eb3 72e5a636 97ee8e0f 021665a0 1e6f269d abd91929 bb5fdb61 de647e0b 47a6346b 1e151fd0 73a0c61e ce8313f9 646428da 177170f3 9a454a47 3fe34dac f954870b 2bd8f7c8 c0780c2a d692f1ed 4bb49bc3 3dd1cb0d ae7bd3f9 4d08be5f 8297b6b7 906545a9 1556418b 6838a62f 226ac2e4 abff2549 2ac0c8bf 0974575a 078cfbef e9d2e8a6 87662775 f21d4648 da59b7d7 9e1ada20 f17d31e5 fbb93e50 02896b5f 1fbe50ae c05a22fc 7765c3a6 16a15e1d ec60ed79 93ab6cbe 7bff427b e16c60d3 4409bd0e fd2c5c14 513aa171 2e74dbd4 36b8b457 38504a0d 08095455 38b70574 46f95609 a7de8ac9 fd40bf1a 5fd3e739 5a28c52a f50d105b 42f4e783 70a59ebc 7ad50ed4 8f68ecc0 ee9136fc 5ac33856 efad43c9 ec8b9e2b fa2d6405 3942e813 c8348b93 1c000285 d142b135 055d7f95 97c21bfb 1bdb52a3 7eb329f8 02d9db3a 9a15652e 29a18c05 sharing gxy1 of user 1 = 0502c6fa 1665ae0c 8317b401 0a5671cb ef3aca02 9c2ff312 5e38de7a d5f7b097 48449176 81dc6588 ab0ff52f f1eb3703 0ed0bd0b ec62f718 a883856a b1a7f0e5 7ebfb4a8 222c79c1 4e61b9d5 7084a803 cf64826d ac692194 d71766a3 5db6d661 9c10268f 3db77762 8fabcf17 c0036060 41f0cf3d 43e97d90 9d0ba600 26f802c7 3b255c50 65c425f3 6a939a4e e4d8c02e 6c1b9076 0878f015 183d877a 631f6912 d4556892 84c1f811 8fa7dec1 787cee67 b5eae188 e3f13392 b0fea746 e28e233c 656b9c3f 8821f43c a5619bc1 73130856 6e31dbc4 f9419d3a 14c4b844 9cd245df 6eb07420 2e1ec327 beda6572 e0a8fe48 ffa13dc0 ffc75a03 f6ed7f67 4bb817d7 5ab98329 7a7976d5 b4329d7e 628b57be ca2a18e7 e4021c1a b09fe718 fa7e4fc8 3f789afa 9d394a82 4eea766e 85bdc83f 0a0a0802 f66c4e33 1f0e8fdc 5f0d3673 a8f2c7ed ef9f350a fa213cef 963c9094 7b7be169 2c0131f5 5a30821a b520db5a 985a239d c55e0994 43b8dea4 58502ad5 ef9c1276 42798bea 37a5e353 d1368167 6db7e98f 3541dc12 47fdd390 dbb9dac8 1acdaa51 22fd4017 b3e83f10 e83fae3c cb571cec cc74ab4b 93a70cab 998ce2c0 71dd9a7c 85763714 9ceeabfc 0d55db74 12a07c0a 7df4290b 071e0f1f 66dd9c3e 8f39764e 96a8593a 0553304d 022a5287 c0cd3e04 81b3dd45 97e92d72 8ae0ba70 d8e1ac08 23431b38 f074ae71 3429486a 5b394844 0ba494f3 88706995 c0aadb8a a8b42b79 d7ab9cc0 f8810d33 87f45b5a 7892c129 154646e7 54e0f28f 32a6aa5b 2a2604e3 d3ccb1dc ff70d667 5858cb38 61cb2dc3 55834136 be2b2121 a1cadfb6 f3c47c45 558e9d17 85e94c40 652e58c0 5e67562b 5ca193a5 d95c4441 4d49ecf2 62bd8376 e155d406 9f377870 30bd8ba5 7cd63991 9465d186 d787d085 0d98dc01 19f1b702 9da19cd3 f6c3d7eb 3f9a9fc3 7431d36f fc6ba93a 39beb481 c9b78903 1b3c8ca8 ec875f70 54b1e7b7 25efb45f 6aa20d55 25e0c93a 6817202e a18b52e6 64ff22a6 e1dd65c9 f9cb5ddc 7c975588 f64b1ef1 3a7d70de 299ebd7e ba9c9ad8 2cb43ffa 22325318 4323a5ff 66f4ff08 sharing gxy2 of user 2 = 0502c6fa 1665ae0c 8317b401 0a5671cb ef3aca02 9c2ff312 5e38de7a d5f7b097 48449176 81dc6588 ab0ff52f f1eb3703 0ed0bd0b ec62f718 a883856a b1a7f0e5 7ebfb4a8 222c79c1 4e61b9d5 7084a803 cf64826d ac692194 d71766a3 5db6d661 9c10268f 3db77762 8fabcf17 c0036060 41f0cf3d 43e97d90 9d0ba600 26f802c7 3b255c50 65c425f3 6a939a4e e4d8c02e 6c1b9076 0878f015 183d877a 631f6912 d4556892 84c1f811 8fa7dec1 787cee67 b5eae188 e3f13392 b0fea746 e28e233c 656b9c3f 8821f43c a5619bc1 73130856 6e31dbc4 f9419d3a 14c4b844 9cd245df 6eb07420 2e1ec327 beda6572 e0a8fe48 ffa13dc0 ffc75a03 f6ed7f67 4bb817d7 5ab98329 7a7976d5 b4329d7e 628b57be ca2a18e7 e4021c1a b09fe718 fa7e4fc8 3f789afa 9d394a82 4eea766e 85bdc83f 0a0a0802 f66c4e33 1f0e8fdc 5f0d3673 a8f2c7ed ef9f350a fa213cef 963c9094 7b7be169 2c0131f5 5a30821a b520db5a 985a239d c55e0994 43b8dea4 58502ad5 ef9c1276 42798bea 37a5e353 d1368167 6db7e98f 3541dc12 47fdd390 dbb9dac8 1acdaa51 22fd4017 b3e83f10 e83fae3c cb571cec cc74ab4b 93a70cab 998ce2c0 71dd9a7c 85763714 9ceeabfc 0d55db74 12a07c0a 7df4290b 071e0f1f 66dd9c3e 8f39764e 96a8593a 0553304d 022a5287 c0cd3e04 81b3dd45 97e92d72 8ae0ba70 d8e1ac08 23431b38 f074ae71 3429486a 5b394844 0ba494f3 88706995 c0aadb8a a8b42b79 d7ab9cc0 f8810d33 87f45b5a 7892c129 154646e7 54e0f28f 32a6aa5b 2a2604e3 d3ccb1dc ff70d667 5858cb38 61cb2dc3 55834136 be2b2121 a1cadfb6 f3c47c45 558e9d17 85e94c40 652e58c0 5e67562b 5ca193a5 d95c4441 4d49ecf2 62bd8376 e155d406 9f377870 30bd8ba5 7cd63991 9465d186 d787d085 0d98dc01 19f1b702 9da19cd3 f6c3d7eb 3f9a9fc3 7431d36f fc6ba93a 39beb481 c9b78903 1b3c8ca8 ec875f70 54b1e7b7 25efb45f 6aa20d55 25e0c93a 6817202e a18b52e6 64ff22a6 e1dd65c9 f9cb5ddc 7c975588 f64b1ef1 3a7d70de 299ebd7e ba9c9ad8 2cb43ffa 22325318 4323a5ff 66f4ff08 **Test for DH modp8192.** prime number = ffffffff ffffffff c90fdaa2 2168c234 c4c6628b 80dc1cd1 29024e08 8a67cc74 020bbea6 3b139b22 514a0879 8e3404dd ef9519b3 cd3a431b 302b0a6d f25f1437 4fe1356d 6d51c245 e485b576 625e7ec6 f44c42e9 a637ed6b 0bff5cb6 f406b7ed ee386bfb 5a899fa5 ae9f2411 7c4b1fe6 49286651 ece45b3d c2007cb8 a163bf05 98da4836 1c55d39a 69163fa8 fd24cf5f 83655d23 dca3ad96 1c62f356 208552bb 9ed52907 7096966d 670c354e 4abc9804 f1746c08 ca18217c 32905e46 2e36ce3b e39e772c 180e8603 9b2783a2 ec07a28f b5c55df0 6f4c52c9 de2bcbf6 95581718 3995497c ea956ae5 15d22618 98fa0510 15728e5a 8aaac42d ad33170d 04507a33 a85521ab df1cba64 ecfb8504 58dbef0a 8aea7157 5d060c7d b3970f85 a6e1e4c7 abf5ae8c db0933d7 1e8c94e0 4a25619d cee3d226 1ad2ee6b f12ffa06 d98a0864 d8760273 3ec86a64 521f2b18 177b200c bbe11757 7a615d6c 770988c0 bad946e2 08e24fa0 74e5ab31 43db5bfc e0fd108e 4b82d120 a9210801 1a723c12 a787e6d7 88719a10 bdba5b26 99c32718 6af4e23c 1a946834 b6150bda 2583e9ca 2ad44ce8 dbbbc2db 04de8ef9 2e8efc14 1fbecaa6 287c5947 4e6bc05d 99b2964f a090c3a2 233ba186 515be7ed 1f612970 cee2d7af b81bdd76 2170481c d0069127 d5b05aa9 93b4ea98 8d8fddc1 86ffb7dc 90a6c08f 4df435c9 34028492 36c3fab4 d27c7026 c1d4dcb2 602646de c9751e76 3dba37bd f8ff9406 ad9e530e e5db382f 413001ae b06a53ed 9027d831 179727b0 865a8918 da3edbeb cf9b14ed 44ce6cba ced4bb1b db7f1447 e6cc254b 33205151 2bd7af42 6fb8f401 378cd2bf 5983ca01 c64b92ec f032ea15 d1721d03 f482d7ce 6e74fef6 d55e702f 46980c82 b5a84031 900b1c9e 59e7c97f bec7e8f3 23a97a7e 36cc88be 0f1d45b7 ff585ac5 4bd407b2 2b4154aa cc8f6d7e bf48e1d8 14cc5ed2 0f8037e0 a79715ee f29be328 06a1d58b b7c5da76 f550aa3d 8a1fbff0 eb19ccb1 a313d55c da56c9ec 2ef29632 387fe8d7 6e3c0468 043e8f66 3f4860ee 12bf2d5b 0b7474d6 e694f91e 6dbe1159 74a3926f 12fee5e4 38777cb6 a932df8c d8bec4d0 73b931ba 3bc832b6 8d9dd300 741fa7bf 8afc47ed 2576f693 6ba42466 3aab639c 5ae4f568 3423b474 2bf1c978 238f16cb e39d652d e3fdb8be fc848ad9 22222e04 a4037c07 13eb57a8 1a23f0c7 3473fc64 6cea306b 4bcbc886 2f8385dd fa9d4b7f a2c087e8 79683303 ed5bdd3a 062b3cf5 b3a278a6 6d2a13f8 3f44f82d df310ee0 74ab6a36 4597e899 a0255dc1 64f31cc5 0846851d f9ab4819 5ded7ea1 b1d510bd 7ee74d73 faf36bc3 1ecfa268 359046f4 eb879f92 4009438b 481c6cd7 889a002e d5ee382b c9190da6 fc026e47 9558e447 5677e9aa 9e3050e2 765694df c81f56e8 80b96e71 60c980dd 98edd3df ffffffff ffffffff private key for user 1 = f1f60bfa c3456128 10a2972d public key for user 1 = 9fa787d3 9c665a41 cdec8820 b28bb872 213a1af3 caab739a b7212a7f fc9cc73a c9af9683 2dfc5005 9dffbebf 1b0c0c45 7925f5f4 b8f88c0f 6ca163d6 c905882c 74632c88 a0442fda 4d24cb51 7967b9a9 3309ebd4 a4053231 a395cccb 8a4003c7 2d24cd48 627ac216 c2d8a307 7b93199a 4e5a68db 2dd4ee5e a6920cbb 88ccd5e0 a3f49c9c 30db5f44 4307dbff 0c1a69f5 367f8d16 2c90ae96 914006b5 5535f855 c223ae2b 97ab5200 7962b45a 18fc65dc 478c7223 1c1e6c6a c18a15e9 f26b4e29 993588d2 26c8a668 66eb37e0 6205dd1d dca78ef0 5fd4ca26 2f4a9b92 df99b6f8 dacaa71c bf76ec12 8f5b85a9 228470dc 329d8e8f 45a5a923 915679f5 d76031e5 b32c6e60 78965451 4cb6947c 42d990fb 88ff8b2c 04c02294 aa5a3f14 473d9705 2537f54d c5099c98 7861b97d 5611fd4b b03fb68c 59e2de8c 2a07eeb9 e7670452 a2c260b5 7a7303c2 317ceafa 0f37ef47 e85c972e 71c85351 9410e71d a86b9a97 2223899e 641ace11 3aa9c091 f663e39c 637374d7 a7f915ab 2904e209 f82228c6 a653d962 719e6e31 67b09930 19260a96 cce58f6a ef25fc31 43b63a12 7808da8e 237fa3ee 99e1d05f b6f4df4f 3d4162d4 9b187804 ddeebb10 ec3c580e 343a4f13 746b16a1 04092725 a5b0a873 8036d6ec 0c728c1e 102a7cb7 f7e11aea b32a4018 ec0983ba 978b7b3c 66296de4 8eac5142 15dfec6e fa556d8f ee5c4f87 61a28a9a 3733c352 293e33e5 d32306ed 47b66310 cae95066 a3152bda 0028e44b 18b0987f 16bea390 b112ab19 966e8eef 0bf65000 83181d4c 8379b212 e05206e3 cb339586 efcc5759 2d81b1c0 ec076a77 1008fed1 8c4339d5 c2e7ae76 a86a4fdd 89e7a6fb 2725b033 aa69b0f6 1e7139e7 5dbcc063 20e63964 a91f32f0 44f9525d 4a5404c1 f343d595 12cebec7 249b3402 a8fbc652 5c6d2cef 57a93e33 e154b350 efc22d3a 6a293d96 82dae291 9e1b7792 2671b24e 11232fc0 30c556d4 fb5dc3e9 b5b3b021 b36d8f45 841bf693 168895df 5dcdd5b4 c08a481b ec00455b 9ddee511 e2a0b8dd 1b7e274d d4c01b6d bfb46a3b 274d0bc7 db12050d 983fe896 79cc4ad8 48aa8e82 3699e0c7 2d1f0927 3187465b de5d7cc6 c34f28dd 5514f1a7 03ae8835 f1053ce4 ee1f4b1e 0d7ad1d5 e2315af4 859c28d9 4d42461d 0909abe9 561d25f5 f5fcf342 db51b419 cc47f9b9 60929642 0435c345 492172bf 3d64aaac f99963ef 40090965 137678d9 c1d033f2 1bff7a6c 20dd4f3a 12905035 671112bd 5a1ea2b7 48975a66 5de45baf 0ac0ef71 a7116643 f8286eba ee407ff6 c8cea146 0c9443b2 ed4be5f1 d523020c 4fe7f574 9d8af2f5 7eecf26c e2f4ea97 dbeba6e6 d2b8d68d 21bcf15c 4cde823a 2f3cd0c5 efc5cc83 a06bb3bd 64c3108f 72c6b10e c9c6eae5 65393cf0 fff46c07 daa1d5b7 a5cd70a5 b6597dc0 3107c46e bd207f4f d2277014 8073725f private key for user 2 = 92e3c182 f2c3c021 c50ea2ea public key for user 2 = 83c66aac 8e789aca 61485d40 972299d5 fabd5d77 2f4ca3b4 0558c7ec baced6ef 4b597080 b448860d e32efff7 9d9e24af 87d1b767 3be8ca9a 9b86e193 26957be6 0740527f 435ca327 148b5e43 f7890595 a4839116 77ba788d bdfcdfc6 fb43900b de784a3b 4480f9ee f666a6e7 27ebff70 808f4afb cbd66944 593a06a4 807fd9f3 e9c39587 afb47492 154a42c8 fcf30ba7 091f78ed d7c100fd 588171ab c0e0577c 0bc5d349 374cbd76 de29775d a1cf5b12 2c864604 3afe408b 6a293845 79daae72 35a00734 5cbfa640 08864e71 1befa0ba 74c9e7bb 51bc89c0 84e0564a bf8d284f d2251656 4a10dec6 469e7567 879c3f73 9815b723 52fa10a9 972b3393 1d74f55b d23d692d ecd48d25 a5d83731 b5c2426c fd0a198b 17ddee4b 04fc04b1 e84c3831 dd4c9ade d94dcdea 42f5a610 b46350f2 1b546435 66068389 dd2794b5 a3e0f31e 3ae09a93 f57496b3 96341044 bf64b387 f4520d39 a106b3fa eb250111 49b79c2e 5f32c12e 3351d7f1 0ff8dab7 71ea10a6 716da3f7 1e0e5124 8c29fe3f d9e10e56 8c90c78e 6c791b5b 55181cac b01a2187 761603aa 3ff38621 1454420d 814e6917 4abda528 2e107b34 a5368a6c ad4bdfaf 4565e49c e62fcbf5 b6018254 2d30a5af 0f56d70a 927010f5 35263a8a 0c37ab86 3cb7d3c5 9ccc6134 b7ee9a55 550a4df3 3d286f90 c4a4a5f1 02330643 ba19258d a6695195 b24a9308 5cd5e5cc 45970ae4 89283578 60361788 d5671625 2d49829a 089857a9 f030c496 cf2a918e a3a17c9a 458b679d dddd4bf9 6359f59e 9f5aef85 1f45db7b d3b9e8f1 9e8e2268 39ff7cf6 42c95c0f 3f127ea1 e9da6db0 ff6ff641 e60d8819 9d745567 02f8fd3a fea1abf3 44c63328 b90dc309 3c500902 36ef6bee a421bf00 21c0305e 8b0598d1 b6ce71b3 88e3cafa 57bab7e0 47128423 c966e972 00498a76 d82cc34d e9c407fc 7c07e0d9 aa61df2a 76e3b66e fca50be4 62fcc582 6d07d230 b6ee577a bb5b3745 facdb0a1 fc9577c8 6b203f82 2e946cce e0d76f54 7a158f68 7770b3d0 9b9d0869 6aae3772 e0065669 96225f63 0597ec5a a6a632ad 01309a53 25bb344e d48e5100 768081bf c7a1f37d d95df7bc e5ab5740 bd904b18 036c80f8 e2ceb899 27165d9f f1aacf34 1603e243 49c90b51 bd7cd5e1 dac1dc1d 6b27ed67 2329e848 1a22dd6a d8833973 63600c0c 7854196d a54c3a89 c2e515c0 86a8c58e 1e432866 61dce39c 873ee1ff ab262fe9 1bf684d7 cdae4e95 1a1a4373 c1ed1d72 53ee4eb1 b76e6967 175acf4e e2ed8117 561b579c c188c4b9 ed509cab 21943124 4e8b6cde c9066bc2 a3432d24 613ce1b5 3d8eb1db afe6e656 2b04af6b c663b594 ebfa343f 5f1b2985 0d17d38a fc917542 64bff959 14bad136 2f2372ab 8a3f3ef6 2eb44a33 0db7150a 8ca5149a 14058e32 44f6b746 134c1f64 726054d3 53ba2b2c 30b49d8e 984c16f3 66d91c49 sharing gxy1 of user 1 = 523f65e8 0532595f 0befd436 1d8ea347 98a96c1d bc95f995 6390070b 99887b7f d7b4c372 bf8a037a 739b98b4 56d19512 54f9156b c66decbd 798ab881 d48bfca9 419054e3 adb1bfe0 1f221239 7ec7af93 9d6766d7 c45c2bb3 e599c86c 6b83868c b0066513 23bc9fdb e096e043 ee3fb7d0 e1664777 dee52bb0 e2d11563 34048ba8 fcf07656 b8a187af 0fb17f31 6864ff9d 7206b430 f6c230ed 7eec1819 9d329a72 3886b01c d9747bdb e4af5cae af0b172f 3b77ef7f 48d39e56 bde6dfc7 bbae5114 4ca666ca ec06be22 6a2953d9 fafd45a9 1c33a218 e8b3651f 81f8f8a8 ad1a14fc ea38261a 9e0219f2 e499593f 40a70cf0 eb8ea488 1f039d4b 1da91a86 1712b997 3d90bde2 05c6f45e eafda2aa 2824023b 5f7f769c 359dc685 e0e70293 23ae4f99 0277ab3f 3cd7c737 bfed5024 1087ada8 60c1f75a 4c32d69e 5d3660fa af58d861 ac7821b2 025c1d66 f9389ab0 ad8c1979 ea958fd7 be1dc377 ac0c0a12 c4fc471a 739d37c6 a31c9482 8190123a 0f4f6c89 5979be29 2a3e5d43 80154e54 201389e5 3fc6448c 90d99393 8e27048e dcbfe82c 9deafba3 e25a5ad9 f70ac225 ead25b5a 63a2c88b 96ca5f7d df78231d f5a51c18 9b0a7c15 c033f2d6 2adb56a6 95aad298 90e4bab0 7371d5ce 17f41f03 427f53bd 2973f323 9a9d2308 aad8a7f6 4c9a743f 4754f915 bae06b65 6ca4a0a9 10992af7 a6703eb2 e9ff3652 4b6b9acc f6f664d5 632f528b 8af922ad 044a8302 c0047060 d358d015 d3f00d55 d9b382ca c4bc1f8c 332b7b30 6e1ee449 bb0a3082 f9495a52 f9945121 73a7dfc8 399d8c57 c5408e87 3ea14bcf ecfaaf2c d42f068e 05baa1bb 2f6fbeb4 3d914ee7 fc26b131 d69d09c4 babd43f7 daf69188 f893c20e 65f36f1e 55496e08 7be686ad 094cdb9d 2b495c6d f8506fb8 e502d5f7 4c72ccab 593ef3fa 859846c6 a3a33a15 ca210d25 3cc41922 c6033a8a 9e28adaf e1555cc3 4e8175d0 322bc0f1 57638675 42da9b2d 5b13d694 fc543ea7 57b07886 953ebe44 93e5cba4 abad5681 94182dfb 25189833 c6bf2e40 89e8d10e 65a23672 6eb74318 625e854f 5c588dbb 041ec1c8 7b98f022 7835b115 87671ab7 a12d8bd5 5442a932 eb4666d5 cbf0a837 9fef00ed 009d6f26 90b57127 62c34f3b 2fd12432 426e524e 98008a11 23542994 750df3fb da0b65d7 f1a12e94 811b9dc0 1dbdf46e 6bce65f0 3481b486 33f03037 62fae6cf 56528c9e 1239ae9f ed4f38a1 5f6a1f45 b5e913e7 19af24ed 8ae1e97c 21370a82 52a83e49 03ece3a6 94cf7739 c7553c56 6610e79f 04fd9c74 36dd2b7f 94565395 7fd5f34d 6b239d8a bb8b99a9 c8bfd667 6c011e40 874452ef d225c65d 7527c958 87cb565a 428b1b85 c3ea031e c04880db 0b39b939 3bfda851 efda3fec 01f3e042 2082348b ce1c902b e66ccef4 08b43a58 4f0e4cf9 8db7d12f 1b06d0c9 2c54a884 f948a7fb a63623ca sharing gxy2 of user 2 = 523f65e8 0532595f 0befd436 1d8ea347 98a96c1d bc95f995 6390070b 99887b7f d7b4c372 bf8a037a 739b98b4 56d19512 54f9156b c66decbd 798ab881 d48bfca9 419054e3 adb1bfe0 1f221239 7ec7af93 9d6766d7 c45c2bb3 e599c86c 6b83868c b0066513 23bc9fdb e096e043 ee3fb7d0 e1664777 dee52bb0 e2d11563 34048ba8 fcf07656 b8a187af 0fb17f31 6864ff9d 7206b430 f6c230ed 7eec1819 9d329a72 3886b01c d9747bdb e4af5cae af0b172f 3b77ef7f 48d39e56 bde6dfc7 bbae5114 4ca666ca ec06be22 6a2953d9 fafd45a9 1c33a218 e8b3651f 81f8f8a8 ad1a14fc ea38261a 9e0219f2 e499593f 40a70cf0 eb8ea488 1f039d4b 1da91a86 1712b997 3d90bde2 05c6f45e eafda2aa 2824023b 5f7f769c 359dc685 e0e70293 23ae4f99 0277ab3f 3cd7c737 bfed5024 1087ada8 60c1f75a 4c32d69e 5d3660fa af58d861 ac7821b2 025c1d66 f9389ab0 ad8c1979 ea958fd7 be1dc377 ac0c0a12 c4fc471a 739d37c6 a31c9482 8190123a 0f4f6c89 5979be29 2a3e5d43 80154e54 201389e5 3fc6448c 90d99393 8e27048e dcbfe82c 9deafba3 e25a5ad9 f70ac225 ead25b5a 63a2c88b 96ca5f7d df78231d f5a51c18 9b0a7c15 c033f2d6 2adb56a6 95aad298 90e4bab0 7371d5ce 17f41f03 427f53bd 2973f323 9a9d2308 aad8a7f6 4c9a743f 4754f915 bae06b65 6ca4a0a9 10992af7 a6703eb2 e9ff3652 4b6b9acc f6f664d5 632f528b 8af922ad 044a8302 c0047060 d358d015 d3f00d55 d9b382ca c4bc1f8c 332b7b30 6e1ee449 bb0a3082 f9495a52 f9945121 73a7dfc8 399d8c57 c5408e87 3ea14bcf ecfaaf2c d42f068e 05baa1bb 2f6fbeb4 3d914ee7 fc26b131 d69d09c4 babd43f7 daf69188 f893c20e 65f36f1e 55496e08 7be686ad 094cdb9d 2b495c6d f8506fb8 e502d5f7 4c72ccab 593ef3fa 859846c6 a3a33a15 ca210d25 3cc41922 c6033a8a 9e28adaf e1555cc3 4e8175d0 322bc0f1 57638675 42da9b2d 5b13d694 fc543ea7 57b07886 953ebe44 93e5cba4 abad5681 94182dfb 25189833 c6bf2e40 89e8d10e 65a23672 6eb74318 625e854f 5c588dbb 041ec1c8 7b98f022 7835b115 87671ab7 a12d8bd5 5442a932 eb4666d5 cbf0a837 9fef00ed 009d6f26 90b57127 62c34f3b 2fd12432 426e524e 98008a11 23542994 750df3fb da0b65d7 f1a12e94 811b9dc0 1dbdf46e 6bce65f0 3481b486 33f03037 62fae6cf 56528c9e 1239ae9f ed4f38a1 5f6a1f45 b5e913e7 19af24ed 8ae1e97c 21370a82 52a83e49 03ece3a6 94cf7739 c7553c56 6610e79f 04fd9c74 36dd2b7f 94565395 7fd5f34d 6b239d8a bb8b99a9 c8bfd667 6c011e40 874452ef d225c65d 7527c958 87cb565a 428b1b85 c3ea031e c04880db 0b39b939 3bfda851 efda3fec 01f3e042 2082348b ce1c902b e66ccef4 08b43a58 4f0e4cf9 8db7d12f 1b06d0c9 2c54a884 f948a7fb a63623ca **Test for MD5.** fd85e62d 9beb4542 8771ec68 8418b271 fd85e62d 9beb4542 8771ec68 8418b271 fd85e62d 9beb4542 8771ec68 8418b271 **Test for SHA1.** 7e0a1242 bd8ef904 4f27dca4 5f5f72ad 5a1125bf 7e0a1242 bd8ef904 4f27dca4 5f5f72ad 5a1125bf 7e0a1242 bd8ef904 4f27dca4 5f5f72ad 5a1125bf **Test for HMAC MD5, SHA1, and SHA256.** HMAC MD5 by eay_hmacmd5_one() 5702d7d1 fd1bfc7e 210fc9fa cda7d02c HMAC MD5 by eay_hmacmd5_xxx() 5702d7d1 fd1bfc7e 210fc9fa cda7d02c HMAC SHA1 by eay_hmacsha1_one() 309999aa 9779a43e ebdea839 1b4e7ee1 d8646874 HMAC SHA1 by eay_hmacsha1_xxx() 309999aa 9779a43e ebdea839 1b4e7ee1 d8646874 HMAC SHA2 by eay_hmacsha2_256_one() d47262d8 a5b6f39d d8686939 411b3e79 ed2e27f9 2c4ea89f dd0a06ae 0c0aa396 **Testing CIPHERS** Test for cipher DES data: 06000017 03000000 73616b61 6e65406b 616d652e 6e657409 0002c104 308202b8 04f05a90 encrypted: 27d5e3f2 c48653b4 67126124 0398cd06 6a89f046 68d8ab58 75acc2ac 1a9ebcf8 51e1c4f5 e50e5b31 decrypted: 06000017 03000000 73616b61 6e65406b 616d652e 6e657409 0002c104 308202b8 04f05a90 00000000 DES cipher verified. Test for cipher 3DES data: 06000017 03000000 73616b61 6e65406b 616d652e 6e657409 0002c104 308202b8 04f05a90 encrypted: f7f4faf8 f6e0de3f 6af5363d 40353c55 311420ee 27cee6cf 0dc57589 3ffa6d58 4eb0f254 baf200a8 decrypted: 06000017 03000000 73616b61 6e65406b 616d652e 6e657409 0002c104 308202b8 04f05a90 00000000 3DES cipher verified. Test for cipher AES data: 06000017 03000000 73616b61 6e65406b 616d652e 6e657409 0002c104 308202b8 04f05a90 encrypted: fb6602cc 24dcbaf4 635c77f3 d704f285 3e97f784 52489b52 cf9633ed ee17f7b5 a20dbb65 cd9bc681 f6606a05 70cdc7ac decrypted: 06000017 03000000 73616b61 6e65406b 616d652e 6e657409 0002c104 308202b8 04f05a90 00000000 00000000 00000000 AES cipher verified. Test for cipher BLOWFISH data: 06000017 03000000 73616b61 6e65406b 616d652e 6e657409 0002c104 308202b8 04f05a90 encrypted: 6c580768 36c7bcf1 455063de bbbbc84a f6726202 256f540a 3d7b295c cf7e4a6a b147eadc a5378f96 decrypted: 06000017 03000000 73616b61 6e65406b 616d652e 6e657409 0002c104 308202b8 04f05a90 00000000 BLOWFISH cipher verified. Test for cipher CAST data: 06000017 03000000 73616b61 6e65406b 616d652e 6e657409 0002c104 308202b8 04f05a90 encrypted: 770a5895 5177da3a 73fb5faa 4a7edbfd 46659805 e6b1499a 4b0bc938 c27e2fb3 b211bac2 5cc6f12a decrypted: 06000017 03000000 73616b61 6e65406b 616d652e 6e657409 0002c104 308202b8 04f05a90 00000000 CAST cipher verified. ===== All tests passed ===== make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/iked' ===> Change directory to pskgen make[1]: Entering directory '/builddir/build/BUILD/racoon2-20100526a/pskgen' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/pskgen' ===> Change directory to samples make[1]: Entering directory '/builddir/build/BUILD/racoon2-20100526a/samples' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/samples' + sed -i 's/\t/ /' samples/default.conf samples/local-test.conf samples/racoon2.conf samples/transport_ike.conf samples/transport_kink.conf samples/tunnel_ike.conf samples/tunnel_ike_natt.conf samples/tunnel_kink.conf samples/vals.conf + echo '#!/bin/sh' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EZk6MR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64 + cd racoon2-20100526a + rm -rf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64 for d in lib spmd iked pskgen samples ; do \ if test -d $d ; then \ echo "===> Change directory to $d" ; \ (cd $d && make install) || exit 1 ; \ fi ; done ===> Change directory to lib make[1]: Entering directory '/builddir/build/BUILD/racoon2-20100526a/lib' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/lib' ===> Change directory to spmd make[1]: Entering directory '/builddir/build/BUILD/racoon2-20100526a/spmd' /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin /usr/bin/install -c spmd /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin /usr/bin/install -c spmdctl /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8 /usr/bin/install -c -m 644 spmd.8 spmdctl.8 /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8 make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/spmd' ===> Change directory to iked make[1]: Entering directory '/builddir/build/BUILD/racoon2-20100526a/iked' /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin /usr/bin/install -c iked /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin /usr/bin/install -c -m 644 iked.8 /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8 /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8 sysconfdir="$(echo '/etc' | sed 's/%/\\\%/g')"; \ for f in iked.8; do \ sed -e s%\@sysconfdir\@%"$sysconfdir"%g < $f > ${f}.tmp; \ /usr/bin/install -c -m 644 ${f}.tmp /usr/share/man/man${f##*.}/$f; \ rm ${f}.tmp; \ done /usr/bin/install: cannot create regular file '/usr/share/man/man8/iked.8': Permission denied make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/iked' ===> Change directory to pskgen make[1]: Entering directory '/builddir/build/BUILD/racoon2-20100526a/pskgen' /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin /usr/bin/install -c pskgen /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin /usr/bin/install -c -m 644 pskgen.8 /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8 /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2 sh ./autogen.spmd.pwd make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/pskgen' ===> Change directory to samples make[1]: Entering directory '/builddir/build/BUILD/racoon2-20100526a/samples' /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/rc.d/init.d /usr/bin/install -c init.d-iked /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/rc.d/init.d/racoon2-iked /usr/bin/install -c init.d-kinkd /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/rc.d/init.d/racoon2-kinkd /usr/bin/install -c init.d-spmd /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/rc.d/init.d/racoon2-spmd /usr/bin/install -c -d -m 700 /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2 /usr/bin/install -c -m 644 racoon2.conf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/racoon2.conf /usr/bin/install -c -m 644 vals.conf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/vals.conf /usr/bin/install -c -m 644 default.conf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/default.conf /usr/bin/install -c -m 644 transport_ike.conf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/transport_ike.conf /usr/bin/install -c -m 644 tunnel_ike.conf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/tunnel_ike.conf /usr/bin/install -c -m 644 tunnel_ike_natt.conf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/tunnel_ike_natt.conf /usr/bin/install -c -m 644 transport_kink.conf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/transport_kink.conf /usr/bin/install -c -m 644 tunnel_kink.conf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/tunnel_kink.conf /usr/bin/install -c -m 644 local-test.conf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/local-test.conf /usr/bin/install -c -d -m 700 /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/psk /usr/bin/install -c -d -m 700 /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/cert /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook /usr/bin/install -c -m 644 functions /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook/ikesa-up.d /usr/bin/install -c ikesa-up /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook/ikesa-down.d /usr/bin/install -c ikesa-down /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook/ikesa-rekey.d /usr/bin/install -c ikesa-rekey /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook/child-up.d /usr/bin/install -c child-up /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook/child-down.d /usr/bin/install -c child-down /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook/child-rekey.d /usr/bin/install -c child-rekey /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook/migration.d /usr/bin/install -c migration /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook /usr/bin/install -c 00ikesaup_sample /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook/ikesa-up.d /usr/bin/install -c 00childup_sample /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook/child-up.d /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook/ph1-up.d /usr/bin/install -c ph1-up /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook/ph1-down.d /usr/bin/install -c ph1-down /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/racoon2/hook /usr/bin/install -c -d -m 700 /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/var/run/racoon2 make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/samples' + for name in spmd spmdctl iked pskgen + mv /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/spmd /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/racoon2-spmd + mv /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8/spmd.8 /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8/racoon2-spmd.8 + for name in spmd spmdctl iked pskgen + mv /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/spmdctl /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/racoon2-spmdctl + mv /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8/spmdctl.8 /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8/racoon2-spmdctl.8 + for name in spmd spmdctl iked pskgen + mv /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/iked /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/racoon2-iked + mv /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8/iked.8 /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8/racoon2-iked.8 + for name in spmd spmdctl iked pskgen + mv /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/pskgen /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/racoon2-pskgen + mv /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8/pskgen.8 /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/share/man/man8/racoon2-pskgen.8 + rm /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/rc.d/init.d/racoon2-iked /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/rc.d/init.d/racoon2-kinkd /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/etc/rc.d/init.d/racoon2-spmd + install -m 755 -t /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin racoon2 + install -d /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/lib/systemd/system + install -m 644 -t /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/lib/systemd/system racoon2.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 20100526a-41.fc33 --unique-debug-suffix -20100526a-41.fc33.riscv64 --unique-debug-src-base racoon2-20100526a-41.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/racoon2-20100526a explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/racoon2-spmd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/racoon2-iked explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/racoon2-spmdctl extracting debug info from /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/racoon2-spmd extracting debug info from /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/racoon2-iked extracting debug info from /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64/usr/sbin/racoon2-spmdctl original debug info size: 4416kB, size after compression: 3976kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. cpio: lib/y.tab.c: Cannot stat: No such file or directory 4335 blocks + /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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/racoon2 from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/racoon2/hook/ph1-up from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/racoon2/hook/migration from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/racoon2/hook/child-up.d/00childup_sample from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/racoon2/hook/child-down from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/racoon2/hook/ph1-down from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/racoon2/hook/ikesa-up.d/00ikesaup_sample from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/racoon2/hook/ikesa-rekey from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/racoon2/hook/child-rekey from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/racoon2/hook/ikesa-down from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/racoon2/hook/ikesa-up from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/racoon2/hook/child-up from /bin/sh to #!/usr/bin/sh Processing files: racoon2-20100526a-41.fc33.riscv64 Provides: config(racoon2) = 20100526a-41.fc33 racoon2 = 20100526a-41.fc33 racoon2(riscv-64) = 20100526a-41.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh pwgen systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /usr/bin/perl /usr/bin/sh 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) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) perl(Getopt::Std) rtld(GNU_HASH) Processing files: racoon2-debugsource-20100526a-41.fc33.riscv64 Provides: racoon2-debugsource = 20100526a-41.fc33 racoon2-debugsource(riscv-64) = 20100526a-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: racoon2-debuginfo-20100526a-41.fc33.riscv64 Provides: debuginfo(build-id) = 0f44b1adfb7f7a75ad3dd62abf4846b43a75ae9d debuginfo(build-id) = 4a8bb71d3858bf9d65bfd7ea09d2826f4fba6291 debuginfo(build-id) = cba763919a51f0ec122975f4bbc3f9c217e8b277 racoon2-debuginfo = 20100526a-41.fc33 racoon2-debuginfo(riscv-64) = 20100526a-41.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: racoon2-debugsource(riscv-64) = 20100526a-41.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64 Wrote: /builddir/build/RPMS/racoon2-20100526a-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/racoon2-debugsource-20100526a-41.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/racoon2-debuginfo-20100526a-41.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eYtZGR + umask 022 + cd /builddir/build/BUILD + cd racoon2-20100526a + /usr/bin/rm -rf /builddir/build/BUILDROOT/racoon2-20100526a-41.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0