Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/racoon2.spec'], chrootPath='/var/lib/mock/f31-build-65001-29607/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=345600uid=986gid=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=1564099200 Wrote: /builddir/build/SRPMS/racoon2-20100526a-40.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/racoon2.spec'], chrootPath='/var/lib/mock/f31-build-65001-29607/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=345600uid=986gid=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=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ePl78R + 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (racoon2-init.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (racoon2-functions-shebang.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (racoon2-configfiles.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #4 (racoon2-getopt.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #5 (racoon2-20100526a-Make-unmodified-argument-const.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #6 (racoon2-20100526a-Adjust-for-openssl-1.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #7 (racoon2-20100526a-Adjust-for-OpenSSL-v1.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #8 (racoon2-20100526a-Fix-for-OpenSSL-1.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + sed -i /yyget_leng/d lib/cftoken.l + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (racoon2-autotools.patch): 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): patching file racoon2 patching file racoon2.service patching file racoon2.sysvinit Patch #2 (racoon2-functions-shebang.patch): patching file samples/functions Patch #3 (racoon2-configfiles.patch): 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): patching file pskgen/pskgen.in Patch #5 (racoon2-20100526a-Make-unmodified-argument-const.patch): patching file iked/crypto_impl.h Patch #6 (racoon2-20100526a-Adjust-for-openssl-1.1.patch): patching file iked/crypto_openssl.c Patch #7 (racoon2-20100526a-Adjust-for-OpenSSL-v1.1.patch): patching file lib/if_spmd.c Patch #8 (racoon2-20100526a-Fix-for-OpenSSL-1.1.patch): patching file spmd/shell.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0jCA0R + 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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./lib/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./lib/config.guess BUILDSTDERR: ++ basename ./lib/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./lib/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./lib/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./lib/config.sub BUILDSTDERR: ++ basename ./lib/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./lib/config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./iked/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./iked/config.guess BUILDSTDERR: ++ basename ./iked/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./iked/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./iked/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./iked/config.sub BUILDSTDERR: ++ basename ./iked/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./iked/config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./spmd/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./spmd/config.guess BUILDSTDERR: ++ basename ./spmd/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./spmd/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./spmd/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./spmd/config.sub BUILDSTDERR: ++ basename ./spmd/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./spmd/config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./kinkd/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./kinkd/config.guess BUILDSTDERR: ++ basename ./kinkd/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./kinkd/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./kinkd/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./kinkd/config.sub BUILDSTDERR: ++ basename ./kinkd/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./kinkd/config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 '/usr/lib/rpm/redhat/config.guess' -> './lib/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './lib/config.sub' '/usr/lib/rpm/redhat/config.guess' -> './iked/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './iked/config.sub' '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.guess' -> './spmd/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './spmd/config.sub' '/usr/lib/rpm/redhat/config.guess' -> './kinkd/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './kinkd/config.sub' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' creating cache ./config.cache checking host system type... riscv64-koji-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-koji-linux-gnu --host=riscv64-koji-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-koji-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-koji-linux-gnu --host=riscv64-koji-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-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking build system type... riscv64-koji-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... yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for uname... yes checking for getopt_long... yes 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-koji-linux-gnu --host=riscv64-koji-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-koji-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 BUILDSTDERR: checking for working const... (cached) + 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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 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) yes 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 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' creating cache ./config.cache checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking build system type... riscv64-koji-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 BUILDSTDERR: checking for archite+ make -j4 BUILDSTDERR: rc_net.c: In function 'getifaddrlist': BUILDSTDERR: rc_net.c:383:23: warning: variable 'sin6' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 383 | struct sockaddr_in6 *sin6; BUILDSTDERR: | ^~~~ cture... 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 config.h is unchanged 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 BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,if_pfkeyv2.c: In function 'rcpfk_set_sadbkey': BUILDSTDERR: if_pfkeyv2.c:1142:6: warning: variable 'keytype' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1142 | int keytype; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: if_pfkeyv2.c: In function 'rcpfk_recv_migrate': BUILDSTDERR: if_pfkeyv2.c:2614:28: warning: variable 'sp_dst' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2614 | struct sockaddr *sp_src, *sp_dst; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: cfsetup.c: In function 'rcf_fix_addrlist': BUILDSTDERR: cfsetup.c:3029:13: warning: variable 'va' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3029 | rc_vchar_t va; BUILDSTDERR: | ^~ -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 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 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 BUILDSTDERR: 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 -specsdns.c: In function 'dump_dns_data': BUILDSTDERR: dns.c:632:48: warning: 'Not Implemented <' directive output truncated writing 17 bytes into a region of size 16 [-Wformat-truncation=] BUILDSTDERR: 632 | snprintf(msg, sizeof(msg), "Not Implemented <%#hhx>", rcode); BUILDSTDERR: | ~~~~~~~~~~~~~~~~^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from spmd_includes.h:36, BUILDSTDERR: from dns.c:31: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 22 bytes into a destination of size 16 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:629:48: warning: '%#hhx' directive output truncated writing 3 bytes into a region of size 0 [-Wformat-truncation=] BUILDSTDERR: 629 | snprintf(msg, sizeof(msg), "Server Failure <%#hhx>", rcode); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from spmd_includes.h:36, BUILDSTDERR: from dns.c:31: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 21 bytes into a destination of size 16 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:626:46: warning: '%#hhx' directive output truncated writing 3 bytes into a region of size 2 [-Wformat-truncation=] BUILDSTDERR: 626 | snprintf(msg, sizeof(msg), "Format Error <%#hhx>", rcode); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from spmd_includes.h:36, BUILDSTDERR: from dns.c:31: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 19 bytes into a destination of size 16 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: shell.c:55:12: warning: 'shell_sock_open_sa' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 55 | static int shell_sock_open_sa(const struct sockaddr *sa); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: shell.c: In function 'shell_accept': BUILDSTDERR: shell.c:473:6: warning: 'challenge' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 473 | if (shell_banner(cli_sock, cid->challenge)<0) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: shell.c:732:2: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 732 | EVP_MD_CTX_free(ctx); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: shell.c:658:14: note: 'ctx' was declared here BUILDSTDERR: 658 | EVP_MD_CTX *ctx; BUILDSTDERR: | ^~~ BUILDSTDERR: spmd_pfkey.c: In function 'spmd_nonfqdn_sp_add': BUILDSTDERR: spmd_pfkey.c:329:20: warning: variable 'ips' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 329 | struct rcf_ipsec *ips = NULL; BUILDSTDERR: | ^~~ BUILDSTDERR: At top level: BUILDSTDERR: spmd_pfkey.c:2124:1: warning: 'spid_data_dump' defined but not used [-Wunused-function] BUILDSTDERR: 2124 | spid_data_dump(void) BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: fqdn_query.c: In function 'fqdn_query_response': BUILDSTDERR: fqdn_query.c:166:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 166 | int ret; BUILDSTDERR: | ^~~ BUILDSTDERR: fqdn_query.c: In function 'fqdn_query_send': BUILDSTDERR: fqdn_query.c:181:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 181 | int ret=0; BUILDSTDERR: | ^~~ BUILDSTDERR: shell.c: In function 'shell_login_handler': BUILDSTDERR: shell.c:789:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 789 | size_t ret; BUILDSTDERR: | ^~~ BUILDSTDERR: spmdctl.c: In function 'sc_parse_alloc_sp_entry': BUILDSTDERR: spmdctl.c:250:21: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 250 | size_t slid_len=0, len=0; BUILDSTDERR: | ^~~ BUILDSTDERR: spmdctl.c: In function 'sc_setup_pfkey': BUILDSTDERR: 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] BUILDSTDERR: 578 | memset(rc, 0, sizeof(rc)); BUILDSTDERR: | ^ BUILDSTDERR: spmdctl.c: In function 'sc_policy': BUILDSTDERR: spmdctl.c:662:6: warning: variable 'w' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 662 | int w; BUILDSTDERR: | ^ BUILDSTDERR: spmdctl.c: In function 'sc_migrate': BUILDSTDERR: spmdctl.c:757:6: warning: variable 'w' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 757 | int w; BUILDSTDERR: | ^ BUILDSTDERR: spmdctl.c: In function 'sc_status': BUILDSTDERR: spmdctl.c:780:6: warning: variable 'w' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 780 | int w; BUILDSTDERR: | ^ BUILDSTDERR: spmdctl.c: In function 'sc_ns': BUILDSTDERR: spmdctl.c:798:6: warning: variable 'w' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 798 | int w; BUILDSTDERR: | ^ BUILDSTDERR: spmdctl.c: In function 'sc_login': BUILDSTDERR: spmdctl.c:980:8: warning: variable 'w' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 980 | int r,w; BUILDSTDERR: | ^ BUILDSTDERR: spmdctl.c: In function 'sc_quit': BUILDSTDERR: spmdctl.c:1137:8: warning: variable 'w' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1137 | int r,w; BUILDSTDERR: | ^ =/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 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 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 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 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 BUILDSTDERR: 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/spmdctl.c: In function 'main': BUILDSTDERR: spmdctl.c:848:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 502 [-Wformat-truncation=] BUILDSTDERR: 848 | snprintf(wbuf, sizeof(wbuf), "NS DELETE %s\r\n", naddr); BUILDSTDERR: | ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from spmdctl.c:31: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 1037 bytes into a destination of size 512 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: spmdctl.c:829:41: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 505 [-Wformat-truncation=] BUILDSTDERR: 829 | snprintf(wbuf, sizeof(wbuf), "NS ADD %s\r\n", naddr); BUILDSTDERR: | ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from spmdctl.c:31: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 1034 bytes into a destination of size 512 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: spmdctl.c:826:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 502 [-Wformat-truncation=] BUILDSTDERR: 826 | snprintf(wbuf, sizeof(wbuf), "NS CHANGE %s\r\n", naddr); BUILDSTDERR: | ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from spmdctl.c:31: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 1037 bytes into a destination of size 512 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from isakmp_impl.h:63, BUILDSTDERR: from ike_conf.c:50: BUILDSTDERR: ike_conf.c: In function 'ikev2_id2rct_id': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c:1259:11: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 1259 | id_len = get_payload_length(id) - sizeof(struct ikev2payl_ident); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c: In function 'ikev2_id_dump': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:123:38: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c:1373:31: note: in expansion of macro 'get_payload_data_length' BUILDSTDERR: 1373 | (uint8_t *)(id_p + 1), get_payload_data_length(id_p)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c: In function 'ts_is_specific': BUILDSTDERR: 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] BUILDSTDERR: 1670 | sport = get_uint16(&ts->start_port); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1671 | eport = get_uint16(&ts->end_port); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c: In function 'ts_within': BUILDSTDERR: 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] BUILDSTDERR: 1733 | sport0 = get_uint16(&ts0->start_port); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1734 | eport0 = get_uint16(&ts0->end_port); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1735 | sport1 = get_uint16(&ts1->start_port); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1736 | eport1 = get_uint16(&ts1->end_port); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c: In function 'ts_is_within_addr': BUILDSTDERR: 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] BUILDSTDERR: 1811 | sport = get_uint16(&ts->start_port); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1812 | eport = get_uint16(&ts->end_port); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c: In function 'ts_contains_addr': BUILDSTDERR: 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] BUILDSTDERR: 1887 | sport = get_uint16(&ts->start_port); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1888 | eport = get_uint16(&ts->end_port); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c: In function 'ts_is_matching': BUILDSTDERR: 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] BUILDSTDERR: 1923 | get_uint16(&ts->selector_length))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c: In function 'ts_match': BUILDSTDERR: 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] BUILDSTDERR: 2010 | put_uint16(&r_ts->selector_length, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2013 | put_uint16(&r_ts->start_port, 0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2014 | put_uint16(&r_ts->end_port, 65535); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2016 | put_uint16(&r_ts->start_port, port); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2017 | put_uint16(&r_ts->end_port, port); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c: In function 'ikev2_dump_traffic_selectors': BUILDSTDERR: 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] BUILDSTDERR: 2085 | get_uint16(&ts->selector_length))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c: In function 'transform_new': BUILDSTDERR: 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] BUILDSTDERR: 2866 | put_uint16(&trns->transform_length, trns_len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2869 | put_uint16(&trns->transform_id, id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2873 | put_uint16(&attr->type, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2875 | put_uint16(&attr->l_or_v, keylen); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c: In function 'ikev2_proposal_to_ipsec': BUILDSTDERR: 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] BUILDSTDERR: 3359 | for (attr_bytes = get_uint16(&trns->transform_length) - BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3364 | switch (get_uint16(&attr->type)) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3366 | keylen = get_uint16(&attr->lorv); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3373 | get_uint16(&attr->type)); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from isakmp_impl.h:60, BUILDSTDERR: from ike_conf.c:50: BUILDSTDERR: 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] BUILDSTDERR: 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' BUILDSTDERR: 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c:3376:12: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 3376 | alen = ISAKMP_ATTRIBUTE_TOTALLENGTH(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ike_conf.c:3376:12: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 3376 | alen = ISAKMP_ATTRIBUTE_TOTALLENGTH(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' BUILDSTDERR: 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c:3377:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' BUILDSTDERR: 3377 | attr = ISAKMP_NEXT_ATTRIB(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c:3377:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' BUILDSTDERR: 3377 | attr = ISAKMP_NEXT_ATTRIB(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3383 | alg = ikeconf_find_alg(get_uint16(&trns->transform_id), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3419 | (&trns->transform_id), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3440 | if (get_uint16(&trns->transform_id) != IKEV2TRANSF_ESN_NO) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ike_conf.c: In function 'ike_conf_check_sa': BUILDSTDERR: ike_conf.c:4028:3: warning: case value '0' not in enumerated type 'rc_type' {aka 'enum '} [-Wswitch] BUILDSTDERR: 4028 | case 0: BUILDSTDERR: | ^~~~ BUILDSTDERR: ike_conf.c: In function 'ike_conf_check_consistency': BUILDSTDERR: ike_conf.c:4229:3: warning: case value '0' not in enumerated type 'rc_type' {aka 'enum '} [-Wswitch] BUILDSTDERR: 4229 | case 0: BUILDSTDERR: | ^~~~ 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 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 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 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 BUILDSTDERR: 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 encrisakmp.c: In function 'isakmp_check_proposal_syntax': BUILDSTDERR: 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] BUILDSTDERR: 1099 | proposal_len = get_uint16(&proposal->h.len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1168 | transform_len = get_uint16(&transform->h.len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from isakmp.c:78: BUILDSTDERR: isakmp.c: In function 'isakmp_check_attrib_syntax': BUILDSTDERR: 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] BUILDSTDERR: 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' BUILDSTDERR: 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: isakmp.c:1229:16: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 1229 | attrib_len = ISAKMP_ATTRIBUTE_TOTALLENGTH(attrib); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: isakmp.c:1229:16: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 1229 | attrib_len = ISAKMP_ATTRIBUTE_TOTALLENGTH(attrib); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' BUILDSTDERR: 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: isakmp.c:1233:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' BUILDSTDERR: 1233 | attrib = ISAKMP_NEXT_ATTRIB(attrib); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: isakmp.c:1233:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' BUILDSTDERR: 1233 | attrib = ISAKMP_NEXT_ATTRIB(attrib); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from isakmp.c:79: BUILDSTDERR: isakmp.c: In function 'isakmp_parse_proposal': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: isakmp.c:1264:13: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 1264 | proplen = get_payload_length(p); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: isakmp.c: In function 'proppair_dup': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: isakmp.c:1332:14: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 1332 | trns_len = get_payload_length(p->trns); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: isakmp.c: In function 'isakmp_p2v': BUILDSTDERR: 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] BUILDSTDERR: 1601 | buf = rc_vnew(gen + 1, get_uint16(&gen->len) - sizeof(struct isakmp_gen)); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ike_pfkey.c: In function 'sadb_x_migrate_callback': BUILDSTDERR: ike_pfkey.c:884:2: warning: implicit declaration of function 'ikev2_migrate_script_hook'; did you mean 'ikev1_migrate_script_hook'? [-Wimplicit-function-declaration] BUILDSTDERR: 884 | ikev2_migrate_script_hook(ike_sa, param->sa_src, param->sa_dst, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | ikev1_migrate_script_hook yptor.o encryptor.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 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 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 BUILDSTDERR: 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=\"/etikev1/ikev1.c: In function 'ikev1_post_acquire': BUILDSTDERR: ikev1/ikev1.c:1460:17: warning: variable 'sc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1460 | struct sched *sc; BUILDSTDERR: | ^~ BUILDSTDERR: ikev1/ikev1.c: In function 'isakmp_set_attr_v': BUILDSTDERR: 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] BUILDSTDERR: 1572 | put_uint16(&data->type, type | ISAKMP_GEN_TLV); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1573 | put_uint16(&data->lorv, len); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ikev1/ikev1.c: In function 'isakmp_set_attr_l': BUILDSTDERR: 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] BUILDSTDERR: 1586 | put_uint16(&data->type, type | ISAKMP_GEN_TV); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1587 | put_uint16(&data->lorv, val); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ikev1/ikev1.c: In function 'isakmp_add_attr_v': BUILDSTDERR: 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] BUILDSTDERR: 1615 | put_uint16(&data->type, type | ISAKMP_GEN_TLV); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1616 | put_uint16(&data->lorv, len); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ikev1/ikev1.c: In function 'isakmp_add_attr_l': BUILDSTDERR: 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] BUILDSTDERR: 1645 | put_uint16(&data->type, type | ISAKMP_GEN_TV); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1646 | put_uint16(&data->lorv, val); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ikev1/ikev1.c: In function 'set_isakmp_header': BUILDSTDERR: 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] BUILDSTDERR: 1672 | put_uint32(&isakmp->len, vbuf->l); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev1/ikev1.c: In function 'set_isakmp_payload_c': BUILDSTDERR: 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] BUILDSTDERR: 1772 | put_uint16(&gen->len, sizeof(*gen) + src->l); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ikev1/ikev1.c: In function 'set_isakmp_payload': BUILDSTDERR: 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] BUILDSTDERR: 1797 | put_uint16(&gen->len, sizeof(*gen) + src->l); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ikev1/ikev1.c: In function 'isakmp_p2ph': BUILDSTDERR: 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] BUILDSTDERR: 2046 | *buf = rc_vmalloc(get_uint16(&gen->len) - sizeof(*gen)); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ikev1/ikev1.c: In function 'isakmp_parsewoh': BUILDSTDERR: 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] BUILDSTDERR: 2139 | p->len = get_uint16(&gen->len); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2166 | plen = get_uint16(&gen->len); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'get_ph1approval': BUILDSTDERR: ikev1/ipsec_doi.c:223:6: warning: variable 'prophlen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 223 | int prophlen; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 't2isakmpsa': BUILDSTDERR: 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] BUILDSTDERR: 572 | tlen = get_uint16(&trns->h.len) - sizeof(*trns); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 586 | type = get_uint16(&d->type) & ~ISAKMP_GEN_MASK; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 587 | flag = get_uint16(&d->type) & ISAKMP_GEN_MASK; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 592 | s_oakley_attr_v(type, get_uint16(&d->lorv))); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 607 | len = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 622 | sa->enctype = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 626 | sa->hashtype = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 630 | sa->authmethod = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 634 | sa->dh_group = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 639 | int type = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 653 | sa->dhgrp->gen1 = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 655 | int len = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 667 | sa->dhgrp->gen2 = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 669 | int len = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 688 | int type = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 702 | || (get_uint16(&prev->type) & ~ISAKMP_GEN_MASK) != BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 738 | int len = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 780 | tlen -= (sizeof(*d) + get_uint16(&d->lorv)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 781 | d = (struct isakmp_data *)((char *)d + sizeof(*d) + get_uint16(&d->lorv)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'cmp_aproppair_i': BUILDSTDERR: 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] BUILDSTDERR: 1017 | len = get_uint16(&r->trns->h.len) - sizeof(*p->trns); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'get_proppair': BUILDSTDERR: 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] BUILDSTDERR: 1241 | memset(pair, 0, sizeof(pair)); BUILDSTDERR: | ^ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'get_transform': BUILDSTDERR: 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] BUILDSTDERR: 1392 | tlen = get_uint16(&prop->h.len) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'get_sabyproppair': BUILDSTDERR: 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] BUILDSTDERR: 1499 | + get_uint16(&p->trns->h.len)); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1509 | put_uint16(&((struct isakmp_gen *)bp)->len, newtlen); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1520 | trnslen = get_uint16(&p->trns->h.len); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1529 | put_uint16(&((struct isakmp_pl_p *)bp)->h.len, prophlen + trnslen); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1538 | put_uint16(&((struct isakmp_pl_t *)bp)->h.len, trnslen); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'get_sabysaprop': BUILDSTDERR: 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] BUILDSTDERR: 1647 | newtlen += get_uint16(&p->trns->h.len); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1660 | put_uint16(&((struct isakmp_gen *)bp)->len, newtlen); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1678 | trnslen = get_uint16(&p->trns->h.len); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1687 | put_uint16(&((struct isakmp_pl_p *)bp)->h.len, prophlen + trnslen); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1695 | put_uint16(&((struct isakmp_pl_t *)bp)->h.len, trnslen); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'check_attr_isakmp': BUILDSTDERR: 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] BUILDSTDERR: 1982 | tlen = get_uint16(&trns->h.len) - sizeof(struct isakmp_pl_t); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1986 | type = get_uint16(&d->type) & ~ISAKMP_GEN_MASK; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1987 | flag = get_uint16(&d->type) & ISAKMP_GEN_MASK; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1988 | lorv = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'check_attr_ipsec': BUILDSTDERR: 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] BUILDSTDERR: 2178 | tlen = get_uint16(&trns->h.len) - sizeof(struct isakmp_pl_t); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2183 | type = get_uint16(&d->type) & ~ISAKMP_GEN_MASK; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2184 | flag = get_uint16(&d->type) & ISAKMP_GEN_MASK; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2185 | lorv = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'check_attr_ipcomp': BUILDSTDERR: 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] BUILDSTDERR: 2389 | tlen = get_uint16(&trns->h.len) - sizeof(struct isakmp_pl_t); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2394 | type = get_uint16(&d->type) & ~ISAKMP_GEN_MASK; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2395 | flag = get_uint16(&d->type) & ISAKMP_GEN_MASK; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2396 | lorv = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'setph1prop': BUILDSTDERR: 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] BUILDSTDERR: 2602 | put_uint16(&prop->h.len, proplen); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'setph1trns': BUILDSTDERR: 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] BUILDSTDERR: 2634 | put_uint16(&trns->h.len, trnslen); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'setph2proposal0': BUILDSTDERR: 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] BUILDSTDERR: 2930 | put_uint16(&trns->h.len, sizeof(*trns) + attrlen); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2945 | put_uint16(&prop->h.len, p->l); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev1/ipsec_doi.c: In function 'ipsecdoi_t2satrns': BUILDSTDERR: 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] BUILDSTDERR: 3705 | tlen = get_uint16(&t->h.len) - sizeof(*t); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3717 | type = get_uint16(&d->type) & ~ISAKMP_GEN_MASK; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3718 | flag = get_uint16(&d->type) & ISAKMP_GEN_MASK; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3723 | s_ipsecdoi_attr_v(type, get_uint16(&d->lorv))); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3728 | int type = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3745 | || (get_uint16(&prev->type) & ~ISAKMP_GEN_MASK) != BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3766 | int len = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3834 | pp->pfs_group = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3835 | else if (pp->pfs_group != get_uint16(&d->lorv)) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3845 | pr->encmode != get_uint16(&d->lorv)) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3851 | pr->encmode = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3861 | tr->authtype = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3870 | tr->encklen = get_uint16(&d->lorv); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3885 | tlen -= (sizeof(*d) + get_uint16(&d->lorv)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3886 | d = (struct isakmp_data *)((caddr_t)d + sizeof(*d) + get_uint16(&d->lorv)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ikev1/isakmp_quick.c: In function 'quick_i2recv': BUILDSTDERR: 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] BUILDSTDERR: 428 | + get_uint32(&isakmp->len) - sizeof(*isakmp); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 548 | plogdump(PLOG_DEBUG, PLOGLOC, 0, r_hash, get_uint16(&hash->h.len) - sizeof(*hash)); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev1/isakmp_quick.c: In function 'quick_i3recv': BUILDSTDERR: 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] BUILDSTDERR: 824 | plogdump(PLOG_DEBUG, PLOGLOC, 0, r_hash, get_uint16(&hash->h.len) - sizeof(*hash)); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev1/isakmp_quick.c: In function 'quick_r1recv': BUILDSTDERR: 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] BUILDSTDERR: 961 | tlen = get_uint32(&isakmp->len) - sizeof(*isakmp); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1104 | plogdump(PLOG_DEBUG, PLOGLOC, 0, r_hash, get_uint16(&hash->h.len) - sizeof(*hash)); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev1/isakmp_quick.c: In function 'quick_r3recv': BUILDSTDERR: 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] BUILDSTDERR: 1509 | plogdump(PLOG_DEBUG, PLOGLOC, 0, r_hash, get_uint16(&hash->h.len) - sizeof(*hash)); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev1/isakmp_quick.c: In function 'quick_r3send': BUILDSTDERR: 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] BUILDSTDERR: 1590 | put_uint16(&n->h.len, tlen); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1591 | put_uint32(&n->doi, IPSEC_DOI); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1594 | put_uint16(&n->type, ISAKMP_NTYPE_CONNECTED); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_recv': BUILDSTDERR: 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] BUILDSTDERR: 197 | if (msg->l < sizeof(*isakmp) + get_uint16(&gen->len) + sizeof(*nd)) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 205 | nd = (struct isakmp_gen *) ((caddr_t) gen + get_uint16(&gen->len)); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 208 | if (get_uint16(&nd->len) > msg->l - (sizeof(struct isakmp) + BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 209 | get_uint16(&gen->len))) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 215 | if (get_uint16(&nd->len) < sizeof(*nd)) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 221 | payload = rc_vmalloc(get_uint16(&nd->len)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 228 | memcpy(payload->v, (caddr_t) nd, get_uint16(&nd->len)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 240 | if (get_uint16(&gen->len) - sizeof(struct isakmp_gen) != hash->l) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_send_d1': BUILDSTDERR: 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] BUILDSTDERR: 345 | put_uint16(&d->h.len, tlen); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 346 | put_uint32(&d->doi, IPSEC_DOI); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 349 | put_uint16(&d->num_spi, 1); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_send_d2': BUILDSTDERR: 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] BUILDSTDERR: 405 | put_uint16(&d->h.len, tlen); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 406 | put_uint32(&d->doi, IPSEC_DOI); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 409 | put_uint16(&d->num_spi, 1); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_send_nx': BUILDSTDERR: 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] BUILDSTDERR: 494 | put_uint16(&n->h.len, tlen); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 495 | put_uint32(&n->doi, IPSEC_DOI); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 498 | put_uint16(&n->type, type); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_send_n1': BUILDSTDERR: 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] BUILDSTDERR: 553 | put_uint16(&n->h.len, tlen); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 554 | put_uint32(&n->doi, ikev1_doitype(iph1->rmconf)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 557 | put_uint16(&n->type, type); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_send_n2': BUILDSTDERR: 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] BUILDSTDERR: 600 | put_uint16(&n->h.len, tlen); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 601 | put_uint32(&n->doi, IPSEC_DOI); /* IPSEC DOI (1) */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 604 | put_uint16(&n->type, type); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_send_common': BUILDSTDERR: 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] BUILDSTDERR: 705 | put_uint32(&isakmp->len, tlen); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 712 | put_uint16(&gen->len, sizeof(*gen) + hash->l); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_add_pl_n': BUILDSTDERR: 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] BUILDSTDERR: 804 | put_uint16(&n->h.len, tlen); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 805 | put_uint32(&n->doi, IPSEC_DOI); /* IPSEC DOI (1) */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 808 | put_uint16(&n->type, type); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_recv_n': BUILDSTDERR: 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] BUILDSTDERR: 854 | type = get_uint16(&n->type); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 903 | if (get_uint16(&n->h.len) < sizeof(*n) + n->spi_size) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 914 | get_uint32(&n->doi), n->proto_id, spi, n->spi_size); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_recv_d': BUILDSTDERR: 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] BUILDSTDERR: 1093 | if (get_uint32(&d->doi) != IPSEC_DOI) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1096 | get_uint32(&d->doi)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1110 | num_spi = get_uint16(&d->num_spi); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1111 | tlen = get_uint16(&d->h.len) - sizeof(struct isakmp_pl_d); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_check_notify': BUILDSTDERR: 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] BUILDSTDERR: 1195 | switch (get_uint16(¬ify->type)) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1205 | s_isakmp_notify_msg(get_uint16(¬ify->type))); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1216 | s_isakmp_notify_msg(get_uint16(¬ify->type))); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_recv_r_u': BUILDSTDERR: 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] BUILDSTDERR: 1246 | put_uint16(&ru_ack->h.len, tlen); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1247 | put_uint32(&ru_ack->doi, IPSEC_DOI); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1248 | put_uint16(&ru_ack->type, ISAKMP_NTYPE_R_U_THERE_ACK); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_recv_r_u_ack': BUILDSTDERR: 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] BUILDSTDERR: 1277 | if (get_uint32(&ru->data) != iph1->dpd_seq-1) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1280 | get_uint32(&ru->data), iph1->dpd_seq-1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ikev1/isakmp_inf.c: In function 'isakmp_info_send_r_u': BUILDSTDERR: 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] BUILDSTDERR: 1377 | put_uint16(&ru->h.len, tlen); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1378 | put_uint32(&ru->doi, IPSEC_DOI); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1379 | put_uint16(&ru->type, ISAKMP_NTYPE_R_U_THERE); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1391 | put_uint32(&ru->data, iph1->dpd_seq); BUILDSTDERR: | ^~~~~~~~~ c/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 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 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 BUILDSTDERR: 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-annoikev1/oakley.c: In function 'oakley_compute_hash3': BUILDSTDERR: ikev1/oakley.c:588:6: warning: variable 'error' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 588 | int error = -1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev1/oakley.c: In function 'oakley_compute_hash1': BUILDSTDERR: ikev1/oakley.c:640:6: warning: variable 'error' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 640 | int error = -1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev1/oakley.c: In function 'oakley_ph1hash_common': BUILDSTDERR: ikev1/oakley.c:690:6: warning: variable 'error' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 690 | int error = -1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev1/oakley.c: In function 'oakley_ph1hash_base_i': BUILDSTDERR: ikev1/oakley.c:814:6: warning: variable 'error' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 814 | int error = -1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev1/oakley.c: In function 'oakley_ph1hash_base_r': BUILDSTDERR: ikev1/oakley.c:953:6: warning: variable 'error' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 953 | int error = -1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev1/oakley.c: In function 'oakley_validate_auth': BUILDSTDERR: 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] BUILDSTDERR: 1119 | get_uint16(&iph1->pl_hash->h.len) - sizeof(*iph1->pl_hash)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev1/oakley.c: In function 'oakley_savecert': BUILDSTDERR: 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] BUILDSTDERR: 1953 | get_uint16(&gen->len) - sizeof(*gen) - 1); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ikev1/oakley.c: In function 'save_certbuf': BUILDSTDERR: 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] BUILDSTDERR: 2136 | if(get_uint16(&gen->len) <= sizeof(*gen)){ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 2149 | new->pl = rc_vmalloc(get_uint16(&gen->len) - sizeof(*gen)); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ikev1/oakley.c: In function 'oakley_do_decrypt': BUILDSTDERR: 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] BUILDSTDERR: 2995 | put_uint32(&((struct isakmp *)buf->v)->len, buf->l); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev1/oakley.c: In function 'oakley_do_encrypt': BUILDSTDERR: 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] BUILDSTDERR: 3113 | put_uint32(&((struct isakmp *)buf->v)->len, buf->l); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev1/vendorid.c: In function 'check_vendorid': BUILDSTDERR: 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] BUILDSTDERR: 215 | vidlen = get_uint16(&gen->len) - sizeof(*gen); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from ikev1/pfkey.c:60: BUILDSTDERR: /usr/include/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] BUILDSTDERR: 21 | #warning "The header is deprecated and will be removed." BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ikev1/pfkey.c: In function 'pk_sendgetspi': BUILDSTDERR: ikev1/pfkey.c:565:19: warning: variable 'maxspi' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 565 | uint32_t minspi, maxspi; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ikev1/pfkey.c:565:11: warning: variable 'minspi' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 565 | uint32_t minspi, maxspi; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ikev1/pfkey.c: In function 'pk_sendget': BUILDSTDERR: ikev1/pfkey.c:750:22: warning: variable 'wsize' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 750 | unsigned int wsize = 4; /* XXX static size of window */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2.c: In function 'ikev2_input': BUILDSTDERR: 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] BUILDSTDERR: 236 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:282:4: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 282 | get_notify_type((struct ikev2payl_notify*)first_payload) == IKEV2_COOKIE); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'ikev2_check_new_request': BUILDSTDERR: 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] BUILDSTDERR: 972 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:1015:6: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 1015 | get_payload_length(first_payload) > sizeof(struct ikev2payl_notify) && BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:1016:6: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 1016 | get_notify_type((struct ikev2payl_notify *)first_payload) == IKEV2_COOKIE) { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'responder_state0_recv': BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:1087:9: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 1087 | && get_notify_type((struct ikev2payl_notify *)p) == IKEV2_COOKIE) { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:1088:3: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 1088 | POINT_NEXT_PAYLOAD(p, type); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:1090:40: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 1090 | for (; type != IKEV2_NO_NEXT_PAYLOAD; POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1158 | if (get_uint16(&ke->ke_h.dh_group_id) != negotiated_sa->dhdef->transform_id) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:70: BUILDSTDERR: 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] BUILDSTDERR: 1164 | get_uint16(&ke->ke_h.dh_group_id), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:1176:10: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 1176 | dhlen = get_payload_length(&ke->header) - sizeof(struct ikev2payl_ke); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1210 | ikev2_update_message_id(ike_sa, get_uint32(&ikehdr->message_id), FALSE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: ikev2.c: In function 'initiator_ike_sa_init_recv': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:1434:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 1434 | POINT_NEXT_PAYLOAD(payload, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:1515:6: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 1515 | if (get_payload_length(&ke->header) < sizeof(struct ikev2payl_ke) || BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1516 | get_uint16(&ke->ke_h.dh_group_id) != negotiated_sa->dhdef->transform_id) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:70: BUILDSTDERR: 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] BUILDSTDERR: 1518 | get_uint16(&ke->ke_h.dh_group_id), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:1523:10: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 1523 | dhlen = get_payload_length(&ke->header) - sizeof(struct ikev2payl_ke); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1585 | ikev2_update_message_id(ike_sa, get_uint32(&ikehdr->message_id), TRUE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'responder_ike_sa_auth_recv0': BUILDSTDERR: 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] BUILDSTDERR: 1992 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:1997:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 1997 | POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:70: BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2.c:2045:33: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 2045 | ikev2_notify_type_str(get_notify_type((struct ikev2payl_notify *)p)))); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:123:38: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:2101:37: note: in expansion of macro 'get_payload_data_length' BUILDSTDERR: 2101 | rc_vnew((uint8_t *)(id_i + 1), get_payload_data_length(id_i)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:1949:31: warning: variable 'certreq' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1949 | struct ikev2_payload_header *certreq = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ikev2.c:1948:31: warning: variable 'cert' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1948 | struct ikev2_payload_header *cert = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: ikev2.c: In function 'responder_ike_sa_auth_cont': BUILDSTDERR: 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] BUILDSTDERR: 2217 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:2235:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 2235 | POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:2301:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 2301 | POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'initiator_ike_sa_auth_recv0': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:2656:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 2656 | POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:70: BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2.c:2696:33: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 2696 | ikev2_notify_type_str(get_notify_type BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:123:38: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:2741:34: note: in expansion of macro 'get_payload_data_length' BUILDSTDERR: 2741 | rc_vnew((uint8_t *)(id_r + 1), get_payload_data_length(id_r));; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:2642:31: warning: variable 'cert' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2642 | struct ikev2_payload_header *cert = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: ikev2.c: In function 'initiator_ike_sa_auth_cont': BUILDSTDERR: 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] BUILDSTDERR: 2827 | ikev2_update_message_id(ike_sa, get_uint32(&ikehdr->message_id), TRUE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:2832:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 2832 | POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:2794:31: warning: variable 'id_r' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2794 | struct ikev2_payload_header *id_r = 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: ikev2.c: In function 'ikev2_established_recv': BUILDSTDERR: 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] BUILDSTDERR: 3012 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'ikev2_createchild_responder_recv': BUILDSTDERR: 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] BUILDSTDERR: 3296 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:3302:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 3302 | POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:123:38: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:3368:6: note: in expansion of macro 'get_payload_data_length' BUILDSTDERR: 3368 | if (get_payload_data_length(sa) > sizeof(struct ikev2proposal) && BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3486 | if (get_uint16(&ke->ke_h.dh_group_id) != dhdef->transform_id) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3492 | get_uint16(&ke->ke_h.dh_group_id), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:3501:11: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 3501 | dhlen = get_payload_length(&ke->header) - BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:3513:11: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 3513 | dhlen = get_payload_length(&ke->header) - BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'ikev2_createchild_initiator_recv': BUILDSTDERR: 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] BUILDSTDERR: 3790 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:3821:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 3821 | POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3908 | if (get_uint16(&ke->ke_h.dh_group_id) != dhdef->transform_id) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 3912 | get_uint16(&ke->ke_h.dh_group_id), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:3917:11: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 3917 | dhlen = get_payload_length(&ke->header) - BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:3929:11: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 3929 | dhlen = get_payload_length(&ke->header) - BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'informational_responder_recv': BUILDSTDERR: 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] BUILDSTDERR: 4235 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:4240:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 4240 | POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'informational_initiator_recv': BUILDSTDERR: 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] BUILDSTDERR: 4339 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: ikev2.c: In function 'ikev2_info_init_notify_recv': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:4383:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 4383 | POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'ikev2_respond_null': BUILDSTDERR: 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] BUILDSTDERR: 4443 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'ikev2_respond_error': BUILDSTDERR: 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] BUILDSTDERR: 4489 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'ikev2_process_delete': BUILDSTDERR: 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] BUILDSTDERR: 4549 | num_spi = get_uint16(&d->dh.num_spi); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:4544:21: warning: variable 'policy' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4544 | struct rcf_policy *policy; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from ikev2.c:55: BUILDSTDERR: ikev2.c: In function 'ikev2_parse_sa': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:4777:3: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 4777 | get_payload_length(sa_payload) - BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'ikev2_proppair_to_isakmpsa': BUILDSTDERR: ikev2.c:4847:25: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 4847 | s->encr = get_uint16(&transf->transform_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:4850:24: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 4850 | s->prf = get_uint16(&transf->transform_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:4873:27: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 4873 | s->integr = get_uint16(&transf->transform_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:4879:29: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 4879 | ikev2_dhinfo(get_uint16(&transf->transform_id)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:4891:15: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 4891 | get_uint16(&transf->transform_length) - BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:54: BUILDSTDERR: 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] BUILDSTDERR: 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' BUILDSTDERR: 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:4898:16: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 4898 | attr_len = ISAKMP_ATTRIBUTE_TOTALLENGTH(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ikev2.c:4898:16: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 4898 | attr_len = ISAKMP_ATTRIBUTE_TOTALLENGTH(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 4899 | switch (get_uint16(&attr->type)) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 4901 | keylen = get_uint16(&attr->lorv); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 4908 | get_uint16(&attr->type)); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from ikev2.c:54: BUILDSTDERR: 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] BUILDSTDERR: 190 | #define ISAKMP_ATTRIBUTE_IS_SHORT(a) (get_uint16(&(a)->type) & ISAKMP_GEN_TV) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: isakmp.h:191:42: note: in expansion of macro 'ISAKMP_ATTRIBUTE_IS_SHORT' BUILDSTDERR: 191 | #define ISAKMP_ATTRIBUTE_TOTALLENGTH(a) (ISAKMP_ATTRIBUTE_IS_SHORT(a) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:4911:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' BUILDSTDERR: 4911 | attr = ISAKMP_NEXT_ATTRIB(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 193 | : (sizeof(struct isakmp_data) + get_uint16(&(a)->lorv))) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: isakmp.h:195:30: note: in expansion of macro 'ISAKMP_ATTRIBUTE_TOTALLENGTH' BUILDSTDERR: 195 | ((uint8_t *)(a) + ISAKMP_ATTRIBUTE_TOTALLENGTH(a))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:4911:12: note: in expansion of macro 'ISAKMP_NEXT_ATTRIB' BUILDSTDERR: 4911 | attr = ISAKMP_NEXT_ATTRIB(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'ikev2_transform_header': BUILDSTDERR: ikev2.c:5032:13: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 5032 | put_uint16(&t->transform_length, len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:5035:13: warning: taking address of packed member of 'struct ikev2transform' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 5035 | put_uint16(&t->transform_id, id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c: In function 'ikev2_ikesa_to_proposal_sub': BUILDSTDERR: ikev2.c:5072:16: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 5072 | put_uint16(&attrib->type, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:5074:16: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 5074 | put_uint16(&attrib->l_or_v, sa->encrklen); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.c:5116:14: warning: taking address of packed member of 'struct ikev2proposal' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 5116 | put_uint16(&prop->proposal_length, p - (uint8_t *)buf->v); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ bin-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 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 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 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 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 BUILDSTDERR: gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong In file included from ikev2_auth.c:52: BUILDSTDERR: ikev2_auth.c: In function 'ikev2_auth_verify': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_auth.c:428:4: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 428 | get_payload_length(auth_payload) - BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_child.c: In function 'ikev2_create_child_responder': BUILDSTDERR: 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] BUILDSTDERR: 497 | dhdef = ikev2_dhinfo(get_uint16(&transf->transform_id)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_child.c:34: BUILDSTDERR: ikev2_child.c: In function 'ikev2_child_getspi_response': BUILDSTDERR: 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] BUILDSTDERR: 1063 | assert(get_uint16(&prop->h.len) == BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1063 | assert(get_uint16(&prop->h.len) == BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev2_child.c: In function 'ikev2_update_child': BUILDSTDERR: ikev2_child.c:1376:14: warning: variable 'g_ir' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1376 | rc_vchar_t *g_ir; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from ikev2_cookie.c:52: BUILDSTDERR: ikev2_cookie.c: In function 'ikev2_retransmit_add_cookie': BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_cookie.c:153:9: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 153 | && get_notify_type((struct ikev2payl_notify *)first_payload) == BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_cookie.c:156:33: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 156 | size_t first_payload_length = get_payload_length(first_payload); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 160 | get_uint32(&ikehdr->length) - first_payload_length); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 162 | get_uint32(&ikehdr->length) - first_payload_length); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 161 | put_uint32(&ikehdr->length, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 165 | packet_len = get_uint32(&ikehdr->length); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_cookie.c:52: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_cookie.c:166:22: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 166 | cookie_notify_len = get_payload_length(notify); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_cookie.c:179:33: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 179 | memmove(first_payload, notify, get_payload_length(notify)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 183 | put_uint32(&ikehdr->length, packet->l); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_cookie.c:34: BUILDSTDERR: ikev2_cookie.c: In function 'ikev2_check_request_cookie': BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_cookie.c:221:9: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 221 | assert(get_notify_type(notify) == IKEV2_COOKIE); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_cookie.c:221:9: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 221 | assert(get_notify_type(notify) == IKEV2_COOKIE); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_cookie.c:52: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_cookie.c:228:6: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 228 | if (get_payload_length(¬ify->header) != BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_packet.c: In function 'ikev2_packet_construct': BUILDSTDERR: 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] BUILDSTDERR: 204 | put_uint16(&p->payload_length, payload_length); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 259 | put_uint16(&p->payload_length, payloads->l); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:68: BUILDSTDERR: ikev2_notify.c: In function 'resp_state0_recv_notify': BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2_notify.c:80:31: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 80 | ikev2_notify_type_str(get_notify_type(notify)))); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:55: BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:92:10: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 92 | switch (get_notify_type(notify)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:105:32: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 105 | notify->nh.protocol_id, get_notify_type(notify)); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:126:29: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 126 | ikev2_notify_type_str(get_notify_type(notify))); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:68: BUILDSTDERR: ikev2_notify.c: In function 'init_ike_sa_init_recv_notify': BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2_notify.c:149:31: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 149 | ikev2_notify_type_str(get_notify_type(notify)))); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:55: BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:161:10: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 161 | switch (get_notify_type(notify)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:169:7: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 169 | if (get_payload_length(¬ify->header) < BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:68: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2_notify.c:174:11: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 174 | get_payload_length(¬ify->header), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:55: BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:264:8: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 264 | (get_notify_type(notify) <= BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:268:29: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 268 | ikev2_notify_type_str(get_notify_type(notify))); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c: In function 'resp_ike_sa_auth_recv_notify': BUILDSTDERR: 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] BUILDSTDERR: 289 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:55: BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:292:10: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 292 | switch (get_notify_type(notify)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:286:11: warning: variable 'message_id' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 286 | uint32_t message_id; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:55: BUILDSTDERR: ikev2_notify.c: In function 'init_ike_sa_auth_recv_notify': BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:338:10: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 338 | switch (get_notify_type(notify)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:363:29: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 363 | ikev2_notify_type_str(get_notify_type(notify))); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:68: BUILDSTDERR: ikev2_notify.c: In function 'createchild_init_recv_notify': BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2_notify.c:401:31: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 401 | ikev2_notify_type_str(get_notify_type(notify)))); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:55: BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:407:10: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 407 | switch (get_notify_type(notify)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:68: BUILDSTDERR: ikev2_notify.c: In function 'createchild_resp_recv_notify': BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2_notify.c:469:31: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 469 | ikev2_notify_type_str(get_notify_type(notify)))); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:55: BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:471:10: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 471 | switch (get_notify_type(notify)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c: In function 'ikev2_process_notify': BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:566:22: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 566 | unsigned int type = get_notify_type(n); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:68: BUILDSTDERR: ikev2_notify.c: In function 'ikev2_process_child_notify': BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2_notify.c:654:31: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 654 | ikev2_notify_type_str(get_notify_type(n)))); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_notify.c:55: BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:656:10: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 656 | switch (get_notify_type(n)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c: In function 'ikev2_respond_with_notify': BUILDSTDERR: 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] BUILDSTDERR: 133 | put_uint16(&(p_)->payload_length, (len_)); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_notify.c:718:2: note: in expansion of macro 'set_payload_header' BUILDSTDERR: 718 | set_payload_header(¬ify->header, IKEV2_NO_NEXT_PAYLOAD, notify_len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 725 | put_uint16(¬ify->nh.notify_message_type, msg_type); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c: In function 'ikev2_check_payloads': BUILDSTDERR: 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] BUILDSTDERR: 115 | if (bytes != get_uint32(&hdr->length)) { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_payload.c:61: BUILDSTDERR: 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] BUILDSTDERR: 119 | bytes, get_uint32(&hdr->length))); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from ikev2_payload.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:127:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 127 | POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:134:20: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 134 | payload_length = get_payload_length(p); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 193 | d->dh.spi_size * get_uint16(&d->dh.num_spi)) { BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_payload.c:61: BUILDSTDERR: 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] BUILDSTDERR: 198 | d->dh.spi_size * get_uint16(&d->dh.num_spi))); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2_payload.c: In function 'ikev2_print_ts': BUILDSTDERR: 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] BUILDSTDERR: 282 | get_uint16(&ts->selector_length)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 288 | type, ts->protocol_id, get_uint16(&ts->selector_length), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 289 | get_uint16(&ts->start_port), get_uint16(&ts->end_port)); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 289 | get_uint16(&ts->start_port), get_uint16(&ts->end_port)); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 297 | get_uint16(&ts->selector_length)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_payload.c:61: BUILDSTDERR: ikev2_payload.c: In function 'ikev2_check_ts_payload': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2_payload.c:326:9: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 326 | get_payload_length(payload), ts_payload->tsh.num_ts)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_payload.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:327:6: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 327 | if (get_payload_length(ts_payload) < sizeof(struct ikev2payl_traffic_selector)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_payload.c:61: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ikev2_payload.c:329:10: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 329 | get_payload_length(ts_payload), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_payload.c:55: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:334:6: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 334 | get_payload_length(ts_payload) - sizeof(struct ikev2payl_traffic_selector); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 351 | ts_len = get_uint16(&ts->selector_length); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c: In function 'ikev2_check_config_syntax': BUILDSTDERR: 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] BUILDSTDERR: 398 | if (get_uint16(&attrib->type) & IKEV2CFG_ATTR_RESERVED) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_payload.c:55: BUILDSTDERR: 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] BUILDSTDERR: 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' BUILDSTDERR: 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:402:16: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' BUILDSTDERR: 402 | attrib_len = IKEV2CFG_ATTR_TOTALLENGTH(attrib); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c: In function 'ikev2_check_icv': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:435:3: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 435 | POINT_NEXT_PAYLOAD(p, type); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:123:38: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:441:6: note: in expansion of macro 'get_payload_data_length' BUILDSTDERR: 441 | if (get_payload_data_length(p) < icv_len) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:123:38: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:445:7: note: in expansion of macro 'get_payload_data_length' BUILDSTDERR: 445 | get_payload_data_length(p), icv_len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:449:26: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 449 | tail = ((uint8_t *)p) + get_payload_length(p); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c: In function 'ikev2_decrypt': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:532:3: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 532 | POINT_NEXT_PAYLOAD(p, type); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:123:38: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:539:6: note: in expansion of macro 'get_payload_data_length' BUILDSTDERR: 539 | if (get_payload_data_length(p) < iv_len + block_len + icv_len) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:123:38: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 123 | #define get_payload_data_length(p_) (get_payload_length(p_) - sizeof(struct ikev2_payload_header)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c:546:19: note: in expansion of macro 'get_payload_data_length' BUILDSTDERR: 546 | ciphertext_len = get_payload_data_length(p) - iv_len - icv_len; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 569 | put_uint16(&p->payload_length, sizeof(struct ikev2_payload_header)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 577 | put_uint32(&ikehdr->length, msglen); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c: In function 'ikev2_notify_payload': BUILDSTDERR: 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] BUILDSTDERR: 727 | put_uint16(&nh->notify_message_type, message_type); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c: In function 'ikev2_delete_payload': BUILDSTDERR: 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] BUILDSTDERR: 755 | put_uint16(&dh->num_spi, num_spi); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c: In function 'ikev2_construct_ts': BUILDSTDERR: 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] BUILDSTDERR: 975 | put_uint16(&t->selector_length, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 983 | put_uint16(&t->start_port, addr->port); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 984 | put_uint16(&t->end_port, addr->port); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 986 | put_uint16(&t->start_port, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 988 | put_uint16(&t->end_port, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 995 | put_uint16(&t->start_port, uss); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 996 | put_uint16(&t->end_port, use); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 999 | put_uint16(&t->start_port, IKEV2_TS_PORT_MIN); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1000 | put_uint16(&t->end_port, IKEV2_TS_PORT_MAX); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev2_payload.c: In function 'ikev2_confirm_ts': BUILDSTDERR: 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] BUILDSTDERR: 1102 | sport = get_uint16(&t->start_port); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1103 | eport = get_uint16(&t->end_port); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1217 | sport = get_uint16(&t->start_port); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 1218 | eport = get_uint16(&t->end_port); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ikev2_proposal.c: In function 'ikev2_get_transforms': BUILDSTDERR: 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] BUILDSTDERR: 179 | transf_len = get_uint16(&transf->transform_length); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_proposal.c: In function 'ikev2_compare_transforms': BUILDSTDERR: 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] BUILDSTDERR: 299 | my_id = get_uint16(&((struct ikev2transform *)m->trns)->transform_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 311 | peer_id = get_uint16(&((struct ikev2transform *)pp->trns)->transform_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_proposal.c: In function 'ikev2_compare_attributes': BUILDSTDERR: 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] BUILDSTDERR: 357 | get_uint16(&my_transf->h.len) - sizeof(struct isakmp_pl_t); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 360 | get_uint16(&peer_transf->h.len) - sizeof(struct isakmp_pl_t); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 376 | get_uint16(&my_attrib->type) != (IKEV2ATTRIB_KEY_LENGTH | IKEV2ATTRIB_SHORT)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_proposal.c:150: BUILDSTDERR: ikev2.h:330:49: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 330 | #define IKEV2ATTRIB_VALUE_SHORT(_a) (get_uint16(&(_a)->l_or_v)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2_proposal.c:378:14: note: in expansion of macro 'IKEV2ATTRIB_VALUE_SHORT' BUILDSTDERR: 378 | my_keylen = IKEV2ATTRIB_VALUE_SHORT(my_attrib); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 381 | get_uint16(&peer_attrib->type) != (IKEV2ATTRIB_KEY_LENGTH | IKEV2ATTRIB_SHORT)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_proposal.c:150: BUILDSTDERR: ikev2.h:330:49: warning: taking address of packed member of 'struct ikev2attrib' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 330 | #define IKEV2ATTRIB_VALUE_SHORT(_a) (get_uint16(&(_a)->l_or_v)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2_proposal.c:383:16: note: in expansion of macro 'IKEV2ATTRIB_VALUE_SHORT' BUILDSTDERR: 383 | peer_keylen = IKEV2ATTRIB_VALUE_SHORT(peer_attrib); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_proposal.c: In function 'ikev2_match_transforms': BUILDSTDERR: 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] BUILDSTDERR: 452 | my_id = get_uint16(&((struct ikev2transform *)m->trns)->transform_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 455 | get_uint16(&((struct ikev2transform *)pp->trns)->transform_id)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_proposal.c: In function 'ikev2_pack_proposal_sub': BUILDSTDERR: 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] BUILDSTDERR: 619 | trns_len = get_uint16(&trns->h.len); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 645 | put_uint16(&prophdr->h.len, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_rekey.c: In function 'ikev2_rekey_ikesa_responder': BUILDSTDERR: 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] BUILDSTDERR: 451 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 487 | if (get_uint16(&ke->ke_h.dh_group_id) != dhdef->transform_id) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_rekey.c:53: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_rekey.c:499:10: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 499 | dhlen = get_payload_length(ke) - sizeof(struct ikev2payl_ke); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_rekey.c: In function 'ikev2_rekey_ikesa_init_recv': BUILDSTDERR: 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] BUILDSTDERR: 711 | message_id = get_uint32(&ikehdr->message_id); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_rekey.c:53: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:126:64: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 126 | (p_) = (struct ikev2_payload_header *)(((uint8_t *)(p_)) + get_payload_length((p_))) \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_rekey.c:716:7: note: in expansion of macro 'POINT_NEXT_PAYLOAD' BUILDSTDERR: 716 | POINT_NEXT_PAYLOAD(p, type)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_rekey.c:770:6: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 770 | if (get_payload_length(&ke->header) < sizeof(struct ikev2payl_ke) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 771 | || get_uint16(&ke->ke_h.dh_group_id) != negotiated_sa->dhdef->transform_id) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_rekey.c:62: BUILDSTDERR: 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] BUILDSTDERR: 773 | get_uint16(&ke->ke_h.dh_group_id), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.h:53:58: note: in definition of macro 'TRACE' BUILDSTDERR: 53 | #define TRACE(msgs_) do { if (debug_trace) { trace_debug msgs_; } } while (0) BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from ikev2_rekey.c:53: BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_rekey.c:778:10: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 778 | dhlen = get_payload_length(&ke->header) - sizeof(struct ikev2payl_ke); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c: In function 'cfg_attrib_set': BUILDSTDERR: 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] BUILDSTDERR: 137 | put_uint16(&a->type, type); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 138 | put_uint16(&a->length, length); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from ikev2_config.c:41: BUILDSTDERR: ikev2_config.c: In function 'ikev2_process_cfg_request_attribs': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:315:15: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 315 | for (bytes = get_payload_length(cfg) - sizeof(*cfg), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' BUILDSTDERR: 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:318:16: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' BUILDSTDERR: 318 | bytes -= IKEV2CFG_ATTR_TOTALLENGTH(attr), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' BUILDSTDERR: 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:664:78: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' BUILDSTDERR: 664 | #define IKEV2CFG_ATTR_NEXT(a_) ((struct ikev2cfg_attrib *)((uint8_t *)(a_) + IKEV2CFG_ATTR_TOTALLENGTH(a_))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:319:11: note: in expansion of macro 'IKEV2CFG_ATTR_NEXT' BUILDSTDERR: 319 | attr = IKEV2CFG_ATTR_NEXT(attr)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 660 | #define IKEV2CFG_ATTR_TYPE(a_) (get_uint16(&(a_)->type) & IKEV2CFG_ATTR_TYPE_MASK) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:320:15: note: in expansion of macro 'IKEV2CFG_ATTR_TYPE' BUILDSTDERR: 320 | attr_type = IKEV2CFG_ATTR_TYPE(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:321:14: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' BUILDSTDERR: 321 | attr_len = IKEV2CFG_ATTR_LENGTH(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c: In function 'ikev2_process_cfg_reply_attribs': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:786:15: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 786 | for (bytes = get_payload_length(cfg) - sizeof(*cfg), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' BUILDSTDERR: 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:789:16: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' BUILDSTDERR: 789 | bytes -= IKEV2CFG_ATTR_TOTALLENGTH(attr), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' BUILDSTDERR: 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:664:78: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' BUILDSTDERR: 664 | #define IKEV2CFG_ATTR_NEXT(a_) ((struct ikev2cfg_attrib *)((uint8_t *)(a_) + IKEV2CFG_ATTR_TOTALLENGTH(a_))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:790:11: note: in expansion of macro 'IKEV2CFG_ATTR_NEXT' BUILDSTDERR: 790 | attr = IKEV2CFG_ATTR_NEXT(attr)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 660 | #define IKEV2CFG_ATTR_TYPE(a_) (get_uint16(&(a_)->type) & IKEV2CFG_ATTR_TYPE_MASK) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:793:10: note: in expansion of macro 'IKEV2CFG_ATTR_TYPE' BUILDSTDERR: 793 | type = IKEV2CFG_ATTR_TYPE(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:794:9: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' BUILDSTDERR: 794 | len = IKEV2CFG_ATTR_LENGTH(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 930 | get_uint32(&p->prefix_lifetime), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ikev2_config.c:41: BUILDSTDERR: ikev2_config.c: In function 'ikev2_process_config_informational': BUILDSTDERR: 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] BUILDSTDERR: 122 | #define get_payload_length(p_) (get_uint16(&((struct ikev2_payload_header *)(p_))->payload_length)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:966:13: note: in expansion of macro 'get_payload_length' BUILDSTDERR: 966 | bytes = get_payload_length(cfg) - sizeof(*cfg); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' BUILDSTDERR: 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:664:78: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' BUILDSTDERR: 664 | #define IKEV2CFG_ATTR_NEXT(a_) ((struct ikev2cfg_attrib *)((uint8_t *)(a_) + IKEV2CFG_ATTR_TOTALLENGTH(a_))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:968:15: note: in expansion of macro 'IKEV2CFG_ATTR_NEXT' BUILDSTDERR: 968 | attr = IKEV2CFG_ATTR_NEXT(attr), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2.h:662:73: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' BUILDSTDERR: 662 | #define IKEV2CFG_ATTR_TOTALLENGTH(a_) (sizeof(struct ikev2cfg_attrib) + IKEV2CFG_ATTR_LENGTH(a_)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:969:14: note: in expansion of macro 'IKEV2CFG_ATTR_TOTALLENGTH' BUILDSTDERR: 969 | bytes -= IKEV2CFG_ATTR_TOTALLENGTH(attr)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 660 | #define IKEV2CFG_ATTR_TYPE(a_) (get_uint16(&(a_)->type) & IKEV2CFG_ATTR_TYPE_MASK) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:970:16: note: in expansion of macro 'IKEV2CFG_ATTR_TYPE' BUILDSTDERR: 970 | attr_type = IKEV2CFG_ATTR_TYPE(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 661 | #define IKEV2CFG_ATTR_LENGTH(a_) (get_uint16(&(a_)->length)) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:971:15: note: in expansion of macro 'IKEV2CFG_ATTR_LENGTH' BUILDSTDERR: 971 | attr_len = IKEV2CFG_ATTR_LENGTH(attr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: 660 | #define IKEV2CFG_ATTR_TYPE(a_) (get_uint16(&(a_)->type) & IKEV2CFG_ATTR_TYPE_MASK) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ikev2_config.c:976:12: note: in expansion of macro 'IKEV2CFG_ATTR_TYPE' BUILDSTDERR: 976 | switch (IKEV2CFG_ATTR_TYPE(attr)) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from nattraversal.c:53: BUILDSTDERR: nattraversal.c: In function 'natt_process_natd': BUILDSTDERR: 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] BUILDSTDERR: 465 | #define get_notify_type(n_) (get_uint16(&(n_)->nh.notify_message_type)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nattraversal.c:185:9: note: in expansion of macro 'get_notify_type' BUILDSTDERR: 185 | type = get_notify_type(n); BUILDSTDERR: | ^~~~~~~~~~~~~~~ -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 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 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 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 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 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 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.1a FIPS 20 Nov 2018 **Test for generate a random number.** d45d3eae 45804e9d 3d04e81b 7764bf59 2dc2387a f33df17e 60d13e9f 860f93c7 c0164487 4284b2d7 bf1ef149 bfa7f7c7 92acb02f bb881950 955c2da9 0e397c96 9b65f25b 618503de 61f29e99 cc555bb3 f495ad28 3321def4 1387d052 d97ae9db **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 = b9a014aa b77947dd 121c5be7 public key for user 1 = 8b88bc54 d505a3a3 540e0b05 c197db8e 9e78af0d f05b588c 3f81101a ccd2a71a 1094c6d3 cfaa42c9 115b128a 16078c2d 149f1ba8 684ae2ed 4682b2e8 3efe1076 8fe93ef6 d786be86 85e8e44a 30247ee4 5dfb3919 3bb61b6f bd5b7377 103eabf9 private key for user 2 = b0642b6b 7d5448a8 58caec96 public key for user 2 = 6e38ff76 e6440249 bb3c81be 0ad695a5 0a750f5c 3e9f83ea 49e144cc bcbd454e 8a967d58 0eaab0de db027b3f 8ba33cd2 03ce40c5 a738c8e8 dac710d5 7eac94ca b336c2a9 ce98db9c 33bcf865 f1532fb8 8c262fed 0c8f0e80 be713618 ee8701fb sharing gxy1 of user 1 = dc6a320c c625c907 e41183e5 fda3d973 44b86fff 14d1d400 23aaac58 8e06453f d2111688 1132e13f 3bb22b59 6eb42ac9 eea7c863 27018f07 ee63b478 5f0f45c9 1c16c1a1 ea1cd42a e6b3ee0e 9802779b 5406be6b de6a2c2f c273c59d 76e7edf7 sharing gxy2 of user 2 = dc6a320c c625c907 e41183e5 fda3d973 44b86fff 14d1d400 23aaac58 8e06453f d2111688 1132e13f 3bb22b59 6eb42ac9 eea7c863 27018f07 ee63b478 5f0f45c9 1c16c1a1 ea1cd42a e6b3ee0e 9802779b 5406be6b de6a2c2f c273c59d 76e7edf7 **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 = 84d4244a c44a6550 e490cf08 public key for user 1 = ec367d35 73c2e142 06f47d02 27120d47 ba0bda5b cd0612c7 ca4a2d94 736bc420 e995a3b6 18095887 c1933977 f2f13243 d1ae69d1 59895125 623505fe f10da647 92405232 7db1a4df dd015873 e6b30eb8 63e49cf3 748d4c78 a16627fa 03f12bd7 0640cb84 a6ba5852 eb390996 6b1f9d57 200aed7a 0da721cf be09eb7f 100e80cb private key for user 2 = 98c87ac0 3c27f70f 367cfffa public key for user 2 = c82c6948 bd93b720 e8e74b52 e58df2b5 7bab07e4 10367eed 53503193 8ddcca72 a04c1828 f1286f87 0f72c568 baa35aff c53e8099 7bafa975 dcadbc88 60c6c595 a565af6b 1a63cc3d ef1af10d b808f018 7d2ba8af 34ebb564 10c31089 3e7ac63f a60d913c 057b7a52 23c4ad7a 83a1810c 3d6c708a bcc3dbf3 d2486d4b b0d5f517 sharing gxy1 of user 1 = 4c467986 478f489f 6e3efc52 3339cd90 75e98595 630e0c9c 3f0ba878 027ca6ae 3cddb8a4 c27eecc2 5348b39f 99c0bc23 afdd3cea 20d76a9a d559b928 432870b9 70f760ac d0f9da8c 57e0eb42 ad2eb33f 028521fc a7eb145b 85cf4f27 b82c5891 0263bcf1 263a9d16 0dddd6fd 4ac6e34c 0c4eae38 a50f1894 f036a297 93d05993 sharing gxy2 of user 2 = 4c467986 478f489f 6e3efc52 3339cd90 75e98595 630e0c9c 3f0ba878 027ca6ae 3cddb8a4 c27eecc2 5348b39f 99c0bc23 afdd3cea 20d76a9a d559b928 432870b9 70f760ac d0f9da8c 57e0eb42 ad2eb33f 028521fc a7eb145b 85cf4f27 b82c5891 0263bcf1 263a9d16 0dddd6fd 4ac6e34c 0c4eae38 a50f1894 f036a297 93d05993 **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 = df49f5e4 ee10cc4c 96c1b08d public key for user 1 = f4c75c55 c6ac1528 7a42020c 438a66dd ed43db20 23e2adb2 44818f2e edbacb56 08f3e3ea 496123db 25229842 660fdaed 082c6580 03664f17 17fc9457 4aa5079a 6d10f467 ea82ca10 ea35b7cc c79b7d20 23f45c1b a624242a 1220feb7 1c7b84cd 436a696a 34f5aac8 a6e92677 8a7da752 dc417af6 7f71a5b3 fbdd42dd 3a427361 7347ed53 919b98ee 67e48a61 599e1b94 088e7863 6765a3f8 b7b65b27 858e446d 045006cf bdf4d1d9 c9b867d8 4ecd079c 4bad5df3 daa3d0a2 5b122872 7b54d56b private key for user 2 = dc8d0629 2a984465 78d98b06 public key for user 2 = dfd66d5f 0a302848 eb04ad9b b1a747fc 90040335 c2d35a49 21a6abda f9867bc4 20ebf96d 089a2c55 56c0609b 9019b84c cb9fe091 eedd45d6 4aa41084 84ed1c66 37d72186 f9fb17a7 04247599 a0e0bf83 8c0f8465 f40b6d2f 28b3de73 92d03fdc 0ffb4634 00208c0c aa3d9def 57d95d13 4f924eb4 28c2a6b6 0c17fc8e 76d2a3ca f77b7521 5de08cbc 8f61a4a4 e5773ce7 f934c7c2 288a5b9e 7b1450d9 5273478d ab432563 cf1fd208 3bce63ec 760c02b8 d1ab64f6 553a03f2 357e029d 82db114d sharing gxy1 of user 1 = d1fd6766 721fa370 95d573f1 94b4af6d 11b7d27d a8926713 9a39baaf e84187b3 6035a5c5 db6d5bc4 b347ae6f 1a5b220e 8e6c046c e006dd4d 1de37aff a59db50c c9291784 23b66ee9 ba950117 15d8be5d f49c0b69 ce7b1f2f 0f54aa69 85741f2d 534769a8 e983c9bd 36d59818 51db541e 89609ce6 3ecd8957 00407eec cfec8b17 2616a557 3354f342 13d2e686 59fe4090 d7525c9d 3675e3b9 7b2ea216 74f6607f 7a308c50 2aa9a7e1 99da6ad4 56e64660 80421ffb b09466e6 6125c718 cafb3050 sharing gxy2 of user 2 = d1fd6766 721fa370 95d573f1 94b4af6d 11b7d27d a8926713 9a39baaf e84187b3 6035a5c5 db6d5bc4 b347ae6f 1a5b220e 8e6c046c e006dd4d 1de37aff a59db50c c9291784 23b66ee9 ba950117 15d8be5d f49c0b69 ce7b1f2f 0f54aa69 85741f2d 534769a8 e983c9bd 36d59818 51db541e 89609ce6 3ecd8957 00407eec cfec8b17 2616a557 3354f342 13d2e686 59fe4090 d7525c9d 3675e3b9 7b2ea216 74f6607f 7a308c50 2aa9a7e1 99da6ad4 56e64660 80421ffb b09466e6 6125c718 cafb3050 **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 = 940d3f8e b46c5bd4 02c60721 public key for user 1 = 73d28750 6fe3dc5b 636c2cd0 75bbeb69 1c43fe50 7326ab5f 56162f75 9bf338b1 1f826230 6ecbfd4e a42b1331 3c95d5be 951cd19b 7a9769ce b3bf9597 0bd91739 b645b27a 76e33d4f a49ece65 b6a52d8c 9c7e5675 eaae6f60 203271d6 10116a56 88533c01 586da63b 9e25e818 60418847 3249a416 28c74625 fdf25dc9 c33a6298 e70a1163 eb8a2389 b3ad42da 42f34652 d72aefad 4eca3758 243328bb 52bab792 c876ff85 d8e2972a cb8b8292 aefd2e9b f7d62235 c2a3127b beecea21 e90c7b19 cb420d97 9b866acf 9e05a35d 0cc9a04b 7f2f119c 8533fcd9 204c9231 353b8225 5b5b7181 504bcf07 78addf55 0f409edc 437785b0 2e3592f6 5a21fc8f 039487be private key for user 2 = f2eb12de 471d4f03 b912e8bf public key for user 2 = 0ece6f25 f3382bbf 2595e9d8 6eb8204b 11a66a44 2685b145 d2294766 9cd9c6be b32f2fc8 e4e439ca fb6aefc0 8c62f9b4 318e2682 5ba22c89 653eb71a f6b8cda0 f64e262c 3f4b5caa 7499926a c018eb48 7624ce28 19ce7ee5 a8cc1957 d72a518e 004569ab 533e1c78 6085e43b bfbf2d3d a04336a1 cab4441d d4c63137 233adcdd c4e0012e 5bc9d023 32516a3c 6da8cc88 19c9903f bb2ee55f 852455fb 8c759abf d3a5b819 7641ccae b69e5158 eaeed3ca 922ad4bc 1f8df664 ae770620 6da8de0b 9ee935ab 5e5e155b f10c0171 996fb6a3 a7975cc8 c9b18616 efb9e888 203000dc f8cebd19 c6ffb686 59b629d9 8536171f a7a27b17 4f5cc83c 58be618e ae3ce666 sharing gxy1 of user 1 = 48c0b2d8 1856a804 66d7cd5b 45d15d4e 8bf09d2d 8f089816 8cdd1db8 42d6ea1e 07654190 34bf41d1 8bee6db4 3aa21f79 3b8aeaf5 85378803 da773681 678ceb9e 0227607b 9db0b3c6 0a2a2704 7012947a 99c1240f b6a231e0 2b4c64f9 a3dee5c1 1045b6c1 f7729e24 73bac5a3 59b5be3e 97ae8df7 40fb289e 5c1115f4 a3df321a c6fd9e93 33e6c9c2 88ecba02 7981c829 592adf7b 1a449bd9 56b68b5a 719a1f9b d2937b59 6e356070 599541cf 0a9ddbc7 2fffa9f8 83bd1a83 a3fd1034 4e0e99f5 2b4784c4 7738c66d abe5b0d3 43a9f127 87b1a6dc cfc6917b 7b699936 701367c8 9064221c 027eadff 513b0c52 b40a384c 1c5f0a1d 3a46af43 92b02b4e 5003a42a sharing gxy2 of user 2 = 48c0b2d8 1856a804 66d7cd5b 45d15d4e 8bf09d2d 8f089816 8cdd1db8 42d6ea1e 07654190 34bf41d1 8bee6db4 3aa21f79 3b8aeaf5 85378803 da773681 678ceb9e 0227607b 9db0b3c6 0a2a2704 7012947a 99c1240f b6a231e0 2b4c64f9 a3dee5c1 1045b6c1 f7729e24 73bac5a3 59b5be3e 97ae8df7 40fb289e 5c1115f4 a3df321a c6fd9e93 33e6c9c2 88ecba02 7981c829 592adf7b 1a449bd9 56b68b5a 719a1f9b d2937b59 6e356070 599541cf 0a9ddbc7 2fffa9f8 83bd1a83 a3fd1034 4e0e99f5 2b4784c4 7738c66d abe5b0d3 43a9f127 87b1a6dc cfc6917b 7b699936 701367c8 9064221c 027eadff 513b0c52 b40a384c 1c5f0a1d 3a46af43 92b02b4e 5003a42a **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 = e38e5b7d 392d0a3e 786696d7 public key for user 1 = 2f5d3e14 3d0c07aa b94a6865 0aa5a612 e4c3d9b6 b11346d3 5b9aa923 41c9582b 0ea12945 35e82d5c 9c368bc2 2dacbea6 6c6fd6ee c02a469f 181d6c78 7b8ded13 2c0ff271 86f516db c6515aab 50118ced 0d1a02df 2aac2470 85aeb53b 94f9b2f6 71369de1 36431334 317798f2 f0b50e46 155d451e 1d253237 6e1066e3 5b6757a1 6a2d31dd ca58e378 c8918ab3 fe8dd48e 25477bf3 5cb9985d 4798b098 e45289a0 074cb136 f5b91aba 643d4a01 12c4dea8 a717070c 50c6e2b5 29b48105 76cb0ff4 666e4193 c8731549 38960258 4675cb77 03e6ff8b 08847f4e 85cf243c 656d2e06 764d2108 bf38cc24 dc4a9cab 4abb6730 01651f4c e7a23624 f201b0b1 2b4b02d2 714019db ed5f90ce 00abe78f 40eca41c 9996add3 50f98b16 80df5482 a5b92abc dfdfe71b ed6b97fa 679290c2 7641d670 88ec023c c65ad1ac 57551042 76bfd26f c16c152e 789c95f1 cb7dfa12 07b975ef 14b5df3d b5a98c62 6e608181 effc5726 560e9c03 83d87fd9 6e28b277 9e9873af 1441064e c35f3eaf 1e6c619b d2582bca private key for user 2 = c481bfe9 43204bd7 3366a3fd public key for user 2 = c8404fe3 1ad5f896 2d7e0f5f 266210d2 2ab9c661 1b4d2692 81d8b94d 0880228e d91eec46 84da1888 42d4dfa9 1a707dc2 5be89b87 2dcfc980 b2cbbf48 eb6d0919 3769428f e70abd68 8c43b3c1 4bd04d86 aa69ee4e 9eb8112f e7c24cc6 0815093d 09efb35c 63220ccb 243d5203 f9c5d12f 1ad0451c 14ae5d89 8e8893bc e534f879 c6662ba5 2afe9722 7667cbb6 f1435301 669031d6 b2a7665e 2694d1f6 04a6f8b4 33304d03 33f7f50f 5324e94f ff38159d 302813f9 bf31cf7a 2d7ef764 1c0f787f 660bff1f b2967098 a06f9667 b5e36ed9 ea9adbe8 f9251317 a05079af 60f58b03 2393c88b fac61b7f 14112a1c 5d92548f 64bb1493 f37d346f 901005fb 26122880 0873bbff df374696 a0a25e78 f4fa8920 53106a62 bd97bc93 7ecda76c c9e0bc27 969ca87d 48fc99de 593ccfb1 121f88a5 77b8ea49 78deae3e db510012 64ea30b0 1c004e87 a9213a12 8c560010 8deaef1f 8db911a9 6b14e8b4 ed6a1ece 4c783dfc 40f69597 c9f08ef1 0bdfb8e9 c980887d 95a621d1 98f667b3 69c8de73 cef55113 sharing gxy1 of user 1 = 5e1630a7 e6178a78 091b10e8 9e276612 c0934d59 33d935a8 14292ac0 9c630334 e77c5bc4 e967bcea 3b8a0dd1 0ff87b38 5dbcb5ba 0b630a95 5ab141ae edab0f98 b1cbaea6 8c2756ee 6e87293e 62c0008e 5b48b7f7 d3eb7a52 0ada748e 9d853f43 503f894b 8ae43b7d 964c25e1 03a8289a cd835af4 04ba42d9 b2b26de6 e0109908 a3fd32d5 cec6f656 12c68ac5 a558f303 d6a9e972 59128d49 94f23300 66441c1a 0680806f d8602192 f85e9de2 c3b19270 f2d742e5 2547e925 23d8afb9 dfbeb8a3 ade6b19b 70219e40 779319b2 f7b47aef 3280c4ca f7d29854 a757b05f 442f489f 1b137f13 46eb81f4 e2b6d07d de8f23cb 1f540185 77aa102e 0069cf4d 83bf86f4 9108b55d 5238c280 d953a88d f2a98100 dad21d30 49b49434 b22e1abf df7dd004 d8e4e98e 4d5da96b 75261d99 1d563a2c 5db5f54f 6d918b2e 37dd50ac 4543fb49 a845ab13 890ef98b 8ff07fe7 94accaf4 1a417fc6 1cb80e05 33d5b091 41d946ff 57672f16 6bda2f15 5e9d618b 07e4e697 acdb33b5 759088c2 2fef9f1a 82c69bb8 sharing gxy2 of user 2 = 5e1630a7 e6178a78 091b10e8 9e276612 c0934d59 33d935a8 14292ac0 9c630334 e77c5bc4 e967bcea 3b8a0dd1 0ff87b38 5dbcb5ba 0b630a95 5ab141ae edab0f98 b1cbaea6 8c2756ee 6e87293e 62c0008e 5b48b7f7 d3eb7a52 0ada748e 9d853f43 503f894b 8ae43b7d 964c25e1 03a8289a cd835af4 04ba42d9 b2b26de6 e0109908 a3fd32d5 cec6f656 12c68ac5 a558f303 d6a9e972 59128d49 94f23300 66441c1a 0680806f d8602192 f85e9de2 c3b19270 f2d742e5 2547e925 23d8afb9 dfbeb8a3 ade6b19b 70219e40 779319b2 f7b47aef 3280c4ca f7d29854 a757b05f 442f489f 1b137f13 46eb81f4 e2b6d07d de8f23cb 1f540185 77aa102e 0069cf4d 83bf86f4 9108b55d 5238c280 d953a88d f2a98100 dad21d30 49b49434 b22e1abf df7dd004 d8e4e98e 4d5da96b 75261d99 1d563a2c 5db5f54f 6d918b2e 37dd50ac 4543fb49 a845ab13 890ef98b 8ff07fe7 94accaf4 1a417fc6 1cb80e05 33d5b091 41d946ff 57672f16 6bda2f15 5e9d618b 07e4e697 acdb33b5 759088c2 2fef9f1a 82c69bb8 **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 = 9219abd3 0cdf0535 d1e343f8 public key for user 1 = 31d12984 e29d33a1 bd414af2 1da183a5 a0ee86ce 6f17966e 9e24082c 65878ee3 0bfebd83 afc12b5a fddff932 de70d730 fc13fbaf 66fe27e5 a70565f7 6e30ebbf 7a6ea566 09e7e8af 0a69f51c 11a2a780 b5df883c 0ed40886 79d7681d 44d5f748 362d072d 27d4c7f4 2feaef2d 4697529e f61a10ca 030f3a97 e2fd1c66 654810c1 8cb73706 4d1490ca 49a797bb 246b2c10 101bdab1 d782332c 82823d69 79ad924a 7fbc48f2 dd50d58b 9a41d189 58b6c1da a77f15a1 43e6d67a 519562fc 552a2892 4d4ba7f3 b2d411fd 4f9256e7 6fafed90 a68122f1 84c1820d f1c282a0 ba22e2ef a8ec31f0 7142a61b ce628075 6a582407 bab19338 d0664384 676868de 79dee8e5 30b64a4c b60a9b2a 711301d8 3e602f1c 136f67c7 f9968244 ce310508 bf2793f4 cf643b8c 2e79ca28 5ec49441 ddc3fe34 b67c4f4e c50305e0 daa6c29d 82f84cc0 6e2fa1f3 a4afe27b 84288244 0bf55429 b00f8bb8 5cea20e8 07aa7d80 47116c55 886ccfdd 3ad8da36 c5c7c2ba 652e6e6a b8f49a11 56800de9 3bd83163 7e207090 1c045392 a120ab0b 20cb2cdd c1551174 ce02bd92 92cb5376 8910623b 16a65b49 b008bf18 f13d1efd 7c5a8bfc f1bb5812 658ba8e6 1b27b836 464746d9 b9bee7f9 6fe3a429 06e13f72 47c3211f b7bd1823 52a8e49c e490020c b7af6764 8fb52a73 c6543596 5d287447 e9340087 71bba25b 30ecf4c3 7d2040d9 6bacc938 bf248f04 private key for user 2 = bf8686b0 e8d74680 a6e284a1 public key for user 2 = 30f0dc34 8746e000 12f3025e bf91e6a4 175a3e1e 3f4fb3e8 8de7f970 97cba210 d99a9e96 a750d140 c61c20d1 0da28b54 29e39ba6 979cb76e 72e1c4ab b0a9328c 68d0209a a05fb9b4 dfd0e1df 5ccac74e 6b30624f f04cf313 b44e66e5 e44529a7 679e676b 2341bb8c d03bfabe 43fe64a9 8864d926 600ccf8f 93ac3b4d b38c52c2 d9cfb30e c856c51e 4dc2308b 0ee5a09b 89723d2d 4d11a625 cdd91fcd 3b14c5b0 d754289c 52c5bf45 4ee738db 4bc49d43 c7e8d572 f1326cf5 b7188a74 7441a606 599e41e9 d90a0a91 acf3a656 afda4fec 41118199 9a6e487f ff97756f 0ed41ce3 68de0cae 46e14d37 dee7f4d7 e4ea7e4d 55fa3c7d e5edd003 057a110d 512a3cdc cc7f41ae caac2926 8df49c2f 6b1871cb e2df3a4f 23b87683 f4e5ed84 2e94ba7f 25140b0e bbcc2cab 6eee7b52 4e50946a 273b1294 a00cf74b 4d4ab195 77bb3051 d0f55b1e c92640ad 66f7e09a a79a764b 5bdb5c3b 6849c930 5ef12d25 17b805a3 51a93a1d 0fda9ccc 59496ab9 85a5572f 565cc9ce 37b8b889 d1287451 b884dcf9 4f6ee85b 3782e3d6 78e78ba7 92542684 8821e2cc 8dae8c59 29c721e9 67c80e5c 8770b435 64ab583f 18737234 7063e728 b831450d 3b3e1b74 54e6fb32 f47779cd 74d5e02f 27b83bbc 44118fe5 046ea8cf c8624c61 00cd1aeb cdffcdb5 094f675b 6784c7b8 aab98dd7 39da2668 e4eb65fc a272646a 448f8b41 4cab62ae 3e4f54ca sharing gxy1 of user 1 = e3354f4b 5cfbfe86 c117b7be e07e6095 e773ce50 e1cba620 acd6a85c 4969e183 b75a1f1e 7110f89d 4f8e5bd0 be23e7c2 2404a926 43e3cf3b eeb60c9c 5c940d30 41a53324 54952366 cd60baf6 af6213ed ecf86e39 0816cd75 7ccb8984 f7ece4c7 1855d388 75a8b570 68dd8fe1 00f696c1 bb3e52a7 5bbc3e0f 4e7560fd d4510f3f c5bbc184 2050797b 98b08af3 bfb485bc 03efb6ed 1bc0f300 72a36cfe eecca296 9dde6a07 2def9ac3 1b8f4c1c 039cad4f 8357e653 e6fe3810 27ccd7a7 38b73185 53354a7f 78d0982e 856c096a c3dc76f8 3f3271d2 a9b6ac40 414b98f6 ec5e29b8 54f58457 0015e512 f95604e9 17cd3f70 6c46f1ae 77501332 942d712e d400ab89 c384098b 12dbe838 78f884c8 9498019b bac42fd5 c2064843 e6405124 6278fc68 62fdf506 6164a58b cee8da04 6ade22a9 a6bae753 8214021d 7399a98b a588826c e28db541 52861364 202480d7 06b14401 9c7aa93b 48ca5295 6186ed55 5425fd7a 0a26ae24 35697862 7ab5b2a9 1e08eb6c 4b584b08 1eacc62c 24868ecb 834ae3dd 33cc1e7e 38522e3a 383f6b02 d59630c6 924c99dc 13b8db9f af85f00e de1de6a1 44766d47 ba425efb 8684678e 3bf93d2a d8a3e595 b2edf1d1 3c0c0490 df353997 1e0296bb 0e78acda 614da830 f06fc8d1 84fb56d8 0d87960b bde51be2 8f4bf36a f73213b6 ace24f0c 62e1e37f 0096294e 61ffb87b bddc2ae6 a9048e08 a61815a6 sharing gxy2 of user 2 = e3354f4b 5cfbfe86 c117b7be e07e6095 e773ce50 e1cba620 acd6a85c 4969e183 b75a1f1e 7110f89d 4f8e5bd0 be23e7c2 2404a926 43e3cf3b eeb60c9c 5c940d30 41a53324 54952366 cd60baf6 af6213ed ecf86e39 0816cd75 7ccb8984 f7ece4c7 1855d388 75a8b570 68dd8fe1 00f696c1 bb3e52a7 5bbc3e0f 4e7560fd d4510f3f c5bbc184 2050797b 98b08af3 bfb485bc 03efb6ed 1bc0f300 72a36cfe eecca296 9dde6a07 2def9ac3 1b8f4c1c 039cad4f 8357e653 e6fe3810 27ccd7a7 38b73185 53354a7f 78d0982e 856c096a c3dc76f8 3f3271d2 a9b6ac40 414b98f6 ec5e29b8 54f58457 0015e512 f95604e9 17cd3f70 6c46f1ae 77501332 942d712e d400ab89 c384098b 12dbe838 78f884c8 9498019b bac42fd5 c2064843 e6405124 6278fc68 62fdf506 6164a58b cee8da04 6ade22a9 a6bae753 8214021d 7399a98b a588826c e28db541 52861364 202480d7 06b14401 9c7aa93b 48ca5295 6186ed55 5425fd7a 0a26ae24 35697862 7ab5b2a9 1e08eb6c 4b584b08 1eacc62c 24868ecb 834ae3dd 33cc1e7e 38522e3a 383f6b02 d59630c6 924c99dc 13b8db9f af85f00e de1de6a1 44766d47 ba425efb 8684678e 3bf93d2a d8a3e595 b2edf1d1 3c0c0490 df353997 1e0296bb 0e78acda 614da830 f06fc8d1 84fb56d8 0d87960b bde51be2 8f4bf36a f73213b6 ace24f0c 62e1e37f 0096294e 61ffb87b bddc2ae6 a9048e08 a61815a6 **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 = fd4e005f 355c0a83 73a22f88 public key for user 1 = 14f8dead 978e3de3 4ed84573 4fc915e6 33e38faf 7e390a5d 1ea3dce1 55dcba57 0fa7130c 2f5f8a69 5b6a9388 efec4875 a0120b42 145ca48b 67a2b470 ab342b00 91d8e602 b5b4ee21 d757f0a6 2e7c0add 1282dd2c 0dfb1e29 40611b42 197a4e30 5e7ec6e3 6b8428ba 82729cf2 674f11b0 9d241f5a 4fdd73f9 a9732169 60cba3ee 6ae84c6f c7a8d1d3 7ba8c58c db710b4e 4605cf4e 9234c077 02fc736c 889b6d45 90203110 9bd60bdd 02166532 7281b969 4e17ea06 da15a390 ae723b20 d5c0a484 941d405e 39c7d3d2 7748dcb0 7b3e05aa 6dc55fda ec2c1249 39a7db4c 8ccf652b b775b6b9 cb3601c0 eb363f31 43e5d95b 15dcbd10 3266027f b2249dd4 359a8f57 11b345a4 d03e84b6 42fbeb92 797e983f 62228f2e 5b9d273b ce58d8fe 386750b9 5fddf440 ceac2499 c2eed76d 0901edde b0256135 35bebc58 5e73163a 1b8d1682 fd58efde 0320e2c8 ece95f76 37d3682f bc5270a7 218aad7d 36e985e8 73701db4 19da664e 9b498214 8781da44 98eea761 054b4043 b5e743e8 896b09a8 415316fc 2cda4010 93ba90e4 e579bb32 6281acdc ce62f279 7a5c969b d56a97ca 3fd8f532 fbdc3d7d da0480ad 84e4a52b 910043bd a49a34e8 f212d722 49936c7a f0b760dc cb0df235 0dc14d8a f23a0b47 c3126a79 131720bf f2b4eb32 27647586 0f096469 48915dca ee0161a4 d812b9c0 8c6a7f73 3064f674 a899ac92 5ae03cf3 b20362e7 e00d7d50 2db1c8d6 fb5b00cd 4426e0b6 eef44952 b9a63a20 7ae26250 47ed9302 d503fac5 30d80e06 78f8c766 ef67d29a 6636b336 df6bc84e 680b9878 b406f8f8 42c18baf 1d984684 ae343cfa f8f18f6c 34d23189 17b0c38d 88d8147a 281b2179 40926b84 05fc62fb fe005d21 3d46bc8c b7dab92e 77288086 06d82fd4 4b2c3fc4 5d9bf808 54d03319 407cf46a c1ec677c 4feb1789 b4a79d7e 0ddd0155 f10f6d1e 5f11d0fb 0cb89828 c19ad068 26d4ecba a3f9500e 60aa645b ca3aeefa 523afb47 34869c5e 79d4c937 4ebb3269 d87f3f47 ce4421d8 bbf8c7dc bd410490 8e3a0365 7fea3268 af926793 f4badfa6 396625cd 80b75f4a 205cf947 ff4fa70a afb0f0a1 private key for user 2 = e7d53dca 9bf89341 3475f8b1 public key for user 2 = 85cc0cb8 f81e3dd6 b2ec8e6d 4775de75 f7b41e65 c9f6fb6a 30175549 885ac5bc 82ccb966 36085da4 7af6a0e2 dac806f1 e4d695b5 2795062d 918f0eb0 a3eeda6f db3c2a7b e868f85f ca69767f d6eb0a2b 8f09ac5a 5adc90ec e4293b79 99509403 35d0ff6f c0dffce7 eebee8f2 586984d6 2ea3d4c2 1c50a886 5b1edf62 785183f6 c941f137 49a22368 df173837 fe5d947e c945e532 014acb10 c06ba84c 242e10be 58374dcc 73b9460d e4d5cbc9 9c718a10 04168f4b 8fc21225 a1104009 92bf719e dd229fc6 bdce3f09 1ac0fed5 1e7b2d1b 097d077f aa8ff9e0 2677b4e1 5ba7f922 8b10a621 e4d9f6d1 5497c1ff d688c6d0 6d7e50b6 53083974 5120712b 1e8dd78f c7ac120c 88b2ea39 c7d6f9dc 45c25ec9 c9eda4db 3d7f1ac2 a4d84eaa c166c763 0f2bf445 5a3e9740 248e0fdc 05979d35 62eae8f2 53524c41 ff32e27f a0844ae9 62ff104d 352d33f0 5d07a9d0 e8b92398 fe67970f 01b24722 8eb96fa3 f5300227 98ab720d ff01fe06 d333734e 2a97b5d6 bc58a6f1 cb2bc802 8a54e743 1bcf5e64 762352b6 5fb525b9 9ac80de4 bc210e75 fcd9632d 3d7c4b62 53482ece 0880a406 35be2fe2 33f4816f d3fb965e 38a0cd0e e54831f8 a5eafd1c f4014198 914c7272 948b7280 d161c84a 0d5d31cf 42923ec4 ee490bce 373bb1d2 4c78346d eccf9a0f c84b3cb8 65ea7bdb 52b7f801 caf6d142 c1205171 26cffd49 4d35478c e5d3111f fedce2a2 a4906b80 535cdf21 bb9d6d3c cd7bfc6d 3af3bbfa d0abd889 e3345f0e a779aece 8853e3eb 90cfb15c 088402fc 29157121 3804c891 cd1c2f82 d876edc4 bedac3ba 342025d5 4f1d310a d3ab5813 3943b667 39858f4c d9934c48 33eea472 c49fdcd8 a3e2c5c5 aa9acedb 4e2f9a98 47b583ce c2c4a61d f37ab574 77dad5b7 44a88d23 64c5d171 f6d5e6ff 3219c39b fe81439d 5077a3b6 273182d2 d665a9de 255f47ab 7e30438c ccd8843f 44107317 f1cedd06 d4d962fb f827e5c3 0bb1fd08 9d6cc92e b5388510 7eba5e0c 84f3331b 32557593 24d49b7c a19cf378 2137312c 699f579f 4b5397c3 43f2092b 4dcb7696 3f704118 e254e140 efa2c5c4 fe7b1041 sharing gxy1 of user 1 = 63546581 b643e966 c3ec0827 07b4a7f8 4abbd30b 344aa31f cdfaf8dd a4be23fe 9ecd50c7 d8d53cd8 52969f5c 79d38983 9fc4b750 7fda42a0 301158a3 16b13598 c818fa94 20e18d3b ee1b17b5 b35d9858 f5104c7a 7ea30d1a d7a6dbe6 df71b5fd 833e8144 18b816bd 5cf3001f 2a664a5a 3897bea3 0ea7c980 1b9d9c59 f7d93bd6 66dc0ff0 41f38a68 071e51e0 f6275116 6cd6af6d 91f986a4 df07286e 3ab6d857 dc5a63a9 55424365 d9adae61 4eb2707f 1ff2cb8e 29711445 65935d98 26988a99 32ee2103 6795bfc2 85fadcef bfee1b4e f71a78cb f5d06ddc 2bebab09 34f52b21 4a05b745 e18981d9 39f305a1 6f72534f 2ab486e2 fcf69a48 6d24ad1b 82396f15 e57e7327 5bc5ce2d 81765d55 1c5cc265 555666ea 97ec03cd 054afdf9 1a67e285 ce274f2d b4cef251 4c60636c befe103d 3504d0b5 08d66064 eda6d171 fef27ddc 54d5f150 7fcc8dfc 9255c2ca 94d7b3f6 c7305e29 5486e753 59b558e5 88a3729f db34718c ed45daff 1bc1e771 eaab9587 e610ce12 693e5a60 177a3a53 e18fa881 a908ea0d b06f3d0f c5676ded 559907a7 14bd4b50 16f35f6c a3e2a968 cbef3417 903df8d0 da6eb1cd 207ec4a5 ca034012 d6b3369c ed5cbea7 e4a4ae49 75e36426 90193016 aefb55ae 6b002a5e 6ad5565b 1029bdcb 9429674c d3962afd e0ca0cf0 254047f7 cf8b9568 e988610f 8f1a3fe3 ef2ed0af 51d3b7b6 a0bf0dca bee5675b 0a041e12 a8ed3c60 6d52618f 2b878d1f 6cc7242a a64a9bfd 8b9dd036 ad25c91c 24c84753 962f3aea da58934f 85d4707a fbed0cfa 3dae53d7 6508e995 42286576 14d5e581 31c09e5c 6e82d8d0 f6bc58c4 4cbb5a06 76b777b1 16e58ea2 ba0d6b42 5c23659d 1c51bc42 d58939ec f4886861 8a9d6486 5dc8d24e 34d0ac7f ef0d5749 f20f5606 b2175cda f9423bca ef740a30 44837cb7 571d5c70 1a42bff9 8951b2de 8c13fa8b 64399dcc e3afb11f 166a1b90 71bbe1be 2d465334 6c5ab996 97be2c70 d9a0333d 5ab5a738 40f3e0af f1edce5a 7e3b0622 9d267973 ea77e58f 1f66cbaf 664e3ac7 4a72eb21 5ab49642 d8017aca fa22326d d87ada46 14c1a784 14386c6d sharing gxy2 of user 2 = 63546581 b643e966 c3ec0827 07b4a7f8 4abbd30b 344aa31f cdfaf8dd a4be23fe 9ecd50c7 d8d53cd8 52969f5c 79d38983 9fc4b750 7fda42a0 301158a3 16b13598 c818fa94 20e18d3b ee1b17b5 b35d9858 f5104c7a 7ea30d1a d7a6dbe6 df71b5fd 833e8144 18b816bd 5cf3001f 2a664a5a 3897bea3 0ea7c980 1b9d9c59 f7d93bd6 66dc0ff0 41f38a68 071e51e0 f6275116 6cd6af6d 91f986a4 df07286e 3ab6d857 dc5a63a9 55424365 d9adae61 4eb2707f 1ff2cb8e 29711445 65935d98 26988a99 32ee2103 6795bfc2 85fadcef bfee1b4e f71a78cb f5d06ddc 2bebab09 34f52b21 4a05b745 e18981d9 39f305a1 6f72534f 2ab486e2 fcf69a48 6d24ad1b 82396f15 e57e7327 5bc5ce2d 81765d55 1c5cc265 555666ea 97ec03cd 054afdf9 1a67e285 ce274f2d b4cef251 4c60636c befe103d 3504d0b5 08d66064 eda6d171 fef27ddc 54d5f150 7fcc8dfc 9255c2ca 94d7b3f6 c7305e29 5486e753 59b558e5 88a3729f db34718c ed45daff 1bc1e771 eaab9587 e610ce12 693e5a60 177a3a53 e18fa881 a908ea0d b06f3d0f c5676ded 559907a7 14bd4b50 16f35f6c a3e2a968 cbef3417 903df8d0 da6eb1cd 207ec4a5 ca034012 d6b3369c ed5cbea7 e4a4ae49 75e36426 90193016 aefb55ae 6b002a5e 6ad5565b 1029bdcb 9429674c d3962afd e0ca0cf0 254047f7 cf8b9568 e988610f 8f1a3fe3 ef2ed0af 51d3b7b6 a0bf0dca bee5675b 0a041e12 a8ed3c60 6d52618f 2b878d1f 6cc7242a a64a9bfd 8b9dd036 ad25c91c 24c84753 962f3aea da58934f 85d4707a fbed0cfa 3dae53d7 6508e995 42286576 14d5e581 31c09e5c 6e82d8d0 f6bc58c4 4cbb5a06 76b777b1 16e58ea2 ba0d6b42 5c23659d 1c51bc42 d58939ec f4886861 8a9d6486 5dc8d24e 34d0ac7f ef0d5749 f20f5606 b2175cda f9423bca ef740a30 44837cb7 571d5c70 1a42bff9 8951b2de 8c13fa8b 64399dcc e3afb11f 166a1b90 71bbe1be 2d465334 6c5ab996 97be2c70 d9a0333d 5ab5a738 40f3e0af f1edce5a 7e3b0622 9d267973 ea77e58f 1f66cbaf 664e3ac7 4a72eb21 5ab49642 d8017aca fa22326d d87ada46 14c1a784 14386c6d **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 = a080848b 913db7ca 1265c628 public key for user 1 = c38bf7da 6855ae21 09ea83d6 57eedbc1 fcb8d523 6a20b11c 5c087ab7 bf53bead a43a8fd2 7cd870f3 be52871f e8422806 35ab9b90 975a3db8 dffaa261 22866c39 064ecfa7 3b2b1ca7 83265c5f 884ca30a bb2f15a1 cfb055c8 964db752 4bd53349 cae8a419 5c5759bb 46e2a7a5 f391a18c eb4c5da5 1eab22e5 060729f9 1ebfb783 cabdc5a2 0dd52a09 e8c25ca8 2d913d86 0dc6092f 4fb88097 df7835c9 349182b0 07479c4a db729395 c41b6065 6eaa33fd d78dc669 60fa7da5 f6cea88c 23376e96 c87d9b2e 61b70f9a ec0f5e99 65ba15b7 5697c8b7 abef7d5d e9242d8c a9624a76 f994e7a9 70502690 255634f5 ad45830e 24adbea1 916f80ae 57ba3ee7 dd3b9619 5724768b 78cec18d 161d7a7a d2bc5a05 d2abe4ea b921ae42 b25eb8c4 8b798f3a 5dabddbd c897a714 1df1b2fb f6e9f5f3 14f925ea 72b91034 6b0828d1 9c561c6d f67245a7 8efcdddc 3e3df52e bfc041e0 9986b1f7 5f2677b8 b3808faa 28e727a2 9e835ba2 329ed506 55dbdef2 6e435380 63bcafeb a225f88d b627e409 68dd074a b3ec0ebc 4fc9b825 097964ca d27a87f5 a6ff2b62 89f1bfa8 a6492bf1 655ea70a c9b8d5e9 694279d8 f6f18611 79527a68 9a69f9f8 5b954915 8fb93759 37bc6163 a1e59255 0895c940 c3aa187e 51defda0 13840937 3ea50fc6 504be3fd 14800b4b 4de1ef03 e3e84e5c 9a1a9c60 5d32a0b5 49dfefd0 cd3ed370 0d9e74da f22f5cad 389677a9 05f57f9f c09503e3 6fba09fd 3ca2b211 fcbc41b1 22e31be7 0613a3f0 75ab2d47 fb05461a 051107c9 d9f47182 27aa5b0a 6b11c8fa 84d00edc 4577f2c4 7dfb24be 053fb0fd 7e8d23e3 85c67545 2e02457c 2a682930 c9d69444 ed1dde09 ecf6e649 8a56703f 7bb48de2 c7f4b8f4 3d555bfe d9eb8b04 6eee902c 0c1593c1 a39bb56c 82838e9c f13e6ebf 96918e91 46c10f53 49285d1e 93c6f7dc aa018033 dab9e88b f9d7a265 5e072408 6fadae96 64c00113 7814dfca 10f9867a 91ffad47 37901d55 998471bc d862dfaa 3ea780fd 4c3a4399 c72ab961 f08cf824 3a9fb92b f64073bb 36b397d9 8ef590e2 aab63a6a 7756e17c 95336cf2 c36245e7 95359e9f d1ced346 22f04763 6674a5a9 22a4e638 4200e984 358f1b49 b0ce3f59 dc35f74a a4a7f566 e7ac5094 26ff0965 6c7761e7 6c0b2e89 d5050ff1 ddbf756d f8f5a056 ce88a225 9365f5d1 323d4adc 8fa5310e 9d45e3d2 e772afce 692f018f e4928348 6a6e6bd3 8c3064e7 353a20ee 3f25171b ac40ea6d af3e6c8f 178e3faa ce08aea9 46d82253 3e2472ed 80e4f71c 183a44c9 1e0c25d2 107b00e6 74b3d59b 52989674 506973a4 a202cc92 5a1261c1 8c9f5738 85128ea9 05444e05 13a4df97 56e45bee 9a139a3b 79980859 bbc894b7 e4ba8fc9 47b2f3b3 b3d099b8 c8f3dd8a 6e45d063 9a4bdca9 d731a181 039a3448 d3539d58 adc53fb6 572912dc 88f394fc 561f0b55 private key for user 2 = 87635eef 2b2ec305 9f130526 public key for user 2 = 60322863 41ed544d cf8af662 7f9882ab 2d90a91d efece59c f37410a1 1a6fab6e 24ea1e27 115ba6bd 8997c09f 5559dda6 0702b0dd fdaaaa89 9da1a7c9 bb66ebc3 52db5611 5159e43a 5c60cc22 28727698 70bef261 1692cb8c c99369ef 27192cb5 99a700c3 8b2c1017 64bc0eaa 28176414 39f58895 848be1dc 74d87121 cbee2678 91085c29 ae6fda44 dcc5ccc9 e3ef401c 1a68a37f 3aa460da df16aa06 1b8b7511 22f4a937 e4f4ebf7 6e2f54d1 9a38a4ca 63f80530 9cd4fc01 6c79a520 72fa33d9 a741ac20 061528a3 49e35b13 f61a1c6c 33b1f098 933f830c 38a98a47 1f157a46 86e3134d 191025d3 31141043 73840acc 896c1e12 09ede03f 08c437de f05e95eb a9e6818a 63bc6761 e86d891b 4bbbb746 0d7d5586 3ef182d2 3e01b268 106b409b 4e259aae e2ce8eb4 9f191343 92a63c51 97048f3b 251704f7 986057ee a4b8068e d6f8ea5c c8f08470 584b9194 d4fd84eb ebb86312 db066410 76832098 c7574aa3 c750e5d0 2ef4c342 47e75ec8 c20fd373 6f86878b d7c8a479 02104864 bcf8a1cb 393e25fb 0ef2926f 36559523 23ee5bf0 32c8f7c2 3480c2a2 944f48b1 5f6de3dd cd5ebbb5 e87d5ec1 8d6f7375 69076505 b107d828 4e72c7a5 2e39fa9a e8acc93d 3838848a 1842544d a93521d0 f1d8714f 73eba942 ebf4847a 8eb63fb7 52e90be0 03f17e3f 9625f568 43dad427 85946a90 b4420933 3b2fe83c 05cc93b3 bf17401c a6f2a57e 0bc9e97c cb3ff3ac 2fef5aaf 8c8c5ee4 f492cd2d 4574d2de b7f13bae 81289d72 e2d3904c 2fc52fec 00e45e9a 14c71633 c04fac7f 0c524396 b78770d3 a7df7a63 1ff93405 4ef0fefa ab755e01 4c8f6fec f40e46ee 95ca42c6 fa587c43 7c8d969a 7961c1b2 e530bf02 9143887d 5e522cac ebc85a96 316d46ee e7e42250 95f3fbd4 f278047c 3d07dded f573d9cd 351999e0 e68c3aa7 add6c8ca c9b03e02 43d0f533 f72111e7 c9cb2386 223aca6e 33a06cc9 c80dd1e5 4ea3b3b3 debf756d b6a28c9e b4afc13f 0e0aa550 72ff346c 97606768 44abdf65 1b15a675 2650b5e1 bcb7de43 87bac5d4 e4b6b985 ef3b45e1 336d7ff2 e740f357 f0b24871 b3febc37 ce116512 6929afb3 0f7d3dac 82335437 776d0b24 f26ebee6 3b5069d0 9e717a50 c345db6d a88675fa ed63a56b 53eb5759 6cae37ce ad8b3e43 ccaf2fd8 dbc80c17 725e1c29 84f19637 a23744e3 85cf5785 21a499a3 8515b06e 01693109 cce8be93 e2f3c570 a0063996 2e96bda1 5cd7de27 bf866b18 dd476f00 29ab34ce a23e0b3d 81aa27e8 9a25f6fb 8987b50f 604650c0 1f960298 a93ecd8e a3892349 600cf8c8 ac4430c9 e4ab93f1 753b974f b103a108 5b44490f 8718980d 10db010d d4be635d 99dbdbad ad1d1505 08352fd4 ed52da01 6bd71fdf d8a3303d 598dddd9 8b6a4532 efb4ab90 dcd2c9c6 50ba4547 b89d2d5b 0f12f9c3 e3becbdc fe2af9a9 939ff9db sharing gxy1 of user 1 = 711b7019 26e30af7 2642e97b a0a1c2a8 ed9a0bcd 1c4d2dd0 a8f99a7d 752ff226 4a9276c7 2e9b858e 532965a4 edecabcd 62783212 fdf4b31e 26df49c2 d8c84542 b46459f1 ef1584ec 49b0ee36 43af57f7 6d71a29b 31964622 42fa2c6f 152e4933 0b547727 8825953e 821dafa3 22efd3e7 b37d8387 015d82ae 5963a9f4 da920298 cf58cfeb b58bf439 2af67048 4b7c3d5d 5d4ebfee 59e27dcc 4549cc99 50127a04 133a04d2 320e471f 51f522ae a59d4f5f f47a2840 db85abb1 fe643e8d d4582e79 21cc70f4 91fb41c3 c7f493c2 13b351f7 8358ea48 e31d0b6a 66b0a9d9 60ccd6fa ac7d7fa5 cb47ce6f 80c05c0f ce3871b9 ce3a97e5 45b7562c 33cc3519 230603fb f9710fce 350a1198 929dfcb1 3116f060 8acd31f8 d3e50c21 539fffd5 715f3bc9 a6e35f8f ac28b39b b0a2a75b 6adf6722 275b65fd c936ae4d a02ceea1 380c4923 b033f215 37e7ebe2 9603b91a b7c24e02 bd61a01a d7fb8357 8d91bd32 9ab7fb81 c1288398 7e5d5de7 4b107879 f21648f5 351ddc69 3fc577d1 d5e2c596 d292417e a3905067 9a2c6d78 e62485e1 a5fb2d9d 3631b253 efe34803 1c65732d 9d73b3a2 a51c8e4c 88d6d14d 3fe9c2bc 56c3534c 819ec874 14c4411b 55f6afad 57e7ab01 e7b77e72 f32a5a10 4bd7cd84 0c93a97c da653c52 a1fbd7dd 5b7e1038 4739eee8 1911d56e 0b3510f9 0d088dd8 9be431d7 22476e23 058dd493 75822ef4 b871b17d 6d13d779 81094209 77371107 02a3b0ad ab6add81 e0503042 f8a7277e 48d90a34 f28da5d8 15522c74 ab87b2db 6ea75ea7 c0d29d12 11de261e ce53c698 48a10648 3f37e347 4302eab7 238a9ef0 d3357543 01f3fcbb 88ba5c75 921bec71 e10d2685 204cbb2f c0322d5b 85eaf4de 89b251f0 dc42afcc 436f26f0 2ab21501 45780263 b865eff0 d109402c 90f72719 7e37998f 40c7112b df0c96f4 30a85222 c2c13098 b687037d c0788ca5 591e61b9 085c319a 40a6fb5a 4dfdd5d2 6eaea5e1 e1d129d7 5c90cdda 668502f3 816eb3e6 771cf986 bb257561 04847927 b75aefff 56a11fa2 bcaca3be 77fa6f64 b1ec0e3e 2f802cf0 f3f0e3c1 9ba7173c e30ffeb0 cacc6fd5 e811e98b bf2a72e1 45f32863 6a620d52 6514f6f6 4ac83b0d 7776b0d1 973f5bd4 a0c39cfc 71473967 d252c022 d2b75dff 84f14851 3a7561e1 d3577294 7b394151 ffb74205 ef4b827d ad3399c7 b4b4f20a 86b8ba93 6f7ffdab 1e77212b ce9f1896 04280a3b 30a4f2a4 2c47256a c36a8927 dffa8218 36afa41b f976cb6a 335d94fd 8e893698 a39a958e 9e30905d c849d702 37addc98 6383b631 e0fc1c2a 0374d1ee c08a0453 0815846d 8cecdfd8 0f8f9ac5 30496f24 42bec042 913f658f 71020c19 168ba65e 18aeef8a ad6ace8b 34f0aa61 10e60db6 dbc5f5ba 8e12f63f 5bc6425a 6285d647 65ee1730 1a80c64d a610da6f 3ef97397 500563e0 74d41e26 e60c6cab sharing gxy2 of user 2 = 711b7019 26e30af7 2642e97b a0a1c2a8 ed9a0bcd 1c4d2dd0 a8f99a7d 752ff226 4a9276c7 2e9b858e 532965a4 edecabcd 62783212 fdf4b31e 26df49c2 d8c84542 b46459f1 ef1584ec 49b0ee36 43af57f7 6d71a29b 31964622 42fa2c6f 152e4933 0b547727 8825953e 821dafa3 22efd3e7 b37d8387 015d82ae 5963a9f4 da920298 cf58cfeb b58bf439 2af67048 4b7c3d5d 5d4ebfee 59e27dcc 4549cc99 50127a04 133a04d2 320e471f 51f522ae a59d4f5f f47a2840 db85abb1 fe643e8d d4582e79 21cc70f4 91fb41c3 c7f493c2 13b351f7 8358ea48 e31d0b6a 66b0a9d9 60ccd6fa ac7d7fa5 cb47ce6f 80c05c0f ce3871b9 ce3a97e5 45b7562c 33cc3519 230603fb f9710fce 350a1198 929dfcb1 3116f060 8acd31f8 d3e50c21 539fffd5 715f3bc9 a6e35f8f ac28b39b b0a2a75b 6adf6722 275b65fd c936ae4d a02ceea1 380c4923 b033f215 37e7ebe2 9603b91a b7c24e02 bd61a01a d7fb8357 8d91bd32 9ab7fb81 c1288398 7e5d5de7 4b107879 f21648f5 351ddc69 3fc577d1 d5e2c596 d292417e a3905067 9a2c6d78 e62485e1 a5fb2d9d 3631b253 efe34803 1c65732d 9d73b3a2 a51c8e4c 88d6d14d 3fe9c2bc 56c3534c 819ec874 14c4411b 55f6afad 57e7ab01 e7b77e72 f32a5a10 4bd7cd84 0c93a97c da653c52 a1fbd7dd 5b7e1038 4739eee8 1911d56e 0b3510f9 0d088dd8 9be431d7 22476e23 058dd493 75822ef4 b871b17d 6d13d779 81094209 77371107 02a3b0ad ab6add81 e0503042 f8a7277e 48d90a34 f28da5d8 15522c74 ab87b2db 6ea75ea7 c0d29d12 11de261e ce53c698 48a10648 3f37e347 4302eab7 238a9ef0 d3357543 01f3fcbb 88ba5c75 921bec71 e10d2685 204cbb2f c0322d5b 85eaf4de 89b251f0 dc42afcc 436f26f0 2ab21501 45780263 b865eff0 d109402c 90f72719 7e37998f 40c7112b df0c96f4 30a85222 c2c13098 b687037d c0788ca5 591e61b9 085c319a 40a6fb5a 4dfdd5d2 6eaea5e1 e1d129d7 5c90cdda 668502f3 816eb3e6 771cf986 bb257561 04847927 b75aefff 56a11fa2 bcaca3be 77fa6f64 b1ec0e3e 2f802cf0 f3f0e3c1 9ba7173c e30ffeb0 cacc6fd5 e811e98b bf2a72e1 45f32863 6a620d52 6514f6f6 4ac83b0d 7776b0d1 973f5bd4 a0c39cfc 71473967 d252c022 d2b75dff 84f14851 3a7561e1 d3577294 7b394151 ffb74205 ef4b827d ad3399c7 b4b4f20a 86b8ba93 6f7ffdab 1e77212b ce9f1896 04280a3b 30a4f2a4 2c47256a c36a8927 dffa8218 36afa41b f976cb6a 335d94fd 8e893698 a39a958e 9e30905d c849d702 37addc98 6383b631 e0fc1c2a 0374d1ee c08a0453 0815846d 8cecdfd8 0f8f9ac5 30496f24 42bec042 913f658f 71020c19 168ba65e 18aeef8a ad6ace8b 34f0aa61 10e60db6 dbc5f5ba 8e12f63f 5bc6425a 6285d647 65ee1730 1a80c64d a610da6f 3ef97397 500563e0 74d41e26 e60c6cab **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' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.StWhrS + 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 BUILDSTDERR: ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64 + cd racoon2-20100526a + rm -rf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64 BUILDSTDERR: /usr/bin/install: cannot create regular file '/usr/share/man/man8/iked.8': Permission denied 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-40.fc31.riscv64/usr/sbin /usr/bin/install -c spmd /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin /usr/bin/install -c spmdctl /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/share/man/man8 /usr/bin/install -c -m 644 spmd.8 spmdctl.8 /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.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-40.fc31.riscv64/usr/sbin /usr/bin/install -c iked /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin /usr/bin/install -c -m 644 iked.8 /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/share/man/man8 /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.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 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-40.fc31.riscv64/usr/sbin /usr/bin/install -c pskgen /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin /usr/bin/install -c -m 644 pskgen.8 /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/share/man/man8 /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.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-40.fc31.riscv64/etc/rc.d/init.d /usr/bin/install -c init.d-iked /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/rc.d/init.d/racoon2-iked /usr/bin/install -c init.d-kinkd /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/rc.d/init.d/racoon2-kinkd /usr/bin/install -c init.d-spmd /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/rc.d/init.d/racoon2-spmd /usr/bin/install -c -d -m 700 /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2 /usr/bin/install -c -m 644 racoon2.conf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/racoon2.conf /usr/bin/install -c -m 644 vals.conf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/vals.conf /usr/bin/install -c -m 644 default.conf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/default.conf /usr/bin/install -c -m 644 transport_ike.conf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/transport_ike.conf /usr/bin/install -c -m 644 tunnel_ike.conf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/tunnel_ike.conf /usr/bin/install -c -m 644 tunnel_ike_natt.conf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/tunnel_ike_natt.conf /usr/bin/install -c -m 644 transport_kink.conf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/transport_kink.conf BUILDSTDERR: /+ for name in spmd spmdctl iked pskgen + mv /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/spmd /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/racoon2-spmd + mv /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/share/man/man8/spmd.8 /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/share/man/man8/racoon2-spmd.8 + for name in spmd spmdctl iked pskgen + mv /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/spmdctl /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/racoon2-spmdctl + mv /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/share/man/man8/spmdctl.8 /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/share/man/man8/racoon2-spmdctl.8 + for name in spmd spmdctl iked pskgen + mv /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/iked /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/racoon2-iked + mv /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/share/man/man8/iked.8 /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/share/man/man8/racoon2-iked.8 + for name in spmd spmdctl iked pskgen + mv /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/pskgen /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/racoon2-pskgen + mv /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/share/man/man8/pskgen.8 /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/share/man/man8/racoon2-pskgen.8 + rm /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/rc.d/init.d/racoon2-iked /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/rc.d/init.d/racoon2-kinkd /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/rc.d/init.d/racoon2-spmd + install -m 755 -t /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin racoon2 + install -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/lib/systemd/system + install -m 644 -t /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/lib/systemd/system racoon2.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 20100526a-40.fc31 --unique-debug-suffix -20100526a-40.fc31.riscv64 --unique-debug-src-base racoon2-20100526a-40.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/racoon2-20100526a BUILDSTDERR: cpio: lib/y.tab.c: Cannot stat: No such file or directory BUILDSTDERR: 4335 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs usr/bin/install -c -m 644 tunnel_kink.conf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/tunnel_kink.conf /usr/bin/install -c -m 644 local-test.conf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/local-test.conf /usr/bin/install -c -d -m 700 /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/psk /usr/bin/install -c -d -m 700 /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/cert /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook /usr/bin/install -c -m 644 functions /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook/ikesa-up.d /usr/bin/install -c ikesa-up /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook/ikesa-down.d /usr/bin/install -c ikesa-down /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook/ikesa-rekey.d /usr/bin/install -c ikesa-rekey /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook/child-up.d /usr/bin/install -c child-up /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook/child-down.d /usr/bin/install -c child-down /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook/child-rekey.d /usr/bin/install -c child-rekey /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook/migration.d /usr/bin/install -c migration /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook /usr/bin/install -c 00ikesaup_sample /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook/ikesa-up.d /usr/bin/install -c 00childup_sample /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook/child-up.d /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook/ph1-up.d /usr/bin/install -c ph1-up /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook /usr/bin/install -c -d /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook/ph1-down.d /usr/bin/install -c ph1-down /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/etc/racoon2/hook /usr/bin/install -c -d -m 700 /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/var/run/racoon2 make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/samples' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/racoon2-iked explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/racoon2-spmdctl explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/racoon2-spmd extracting debug info from /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/racoon2-spmdctl extracting debug info from /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/racoon2-iked extracting debug info from /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64/usr/sbin/racoon2-spmd original debug info size: 4532kB, size after compression: 3980kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. mangling shebang in /usr/sbin/racoon2 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/child-up 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/ph1-up 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/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/ikesa-rekey 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-rekey from /bin/sh to #!/usr/bin/sh Processing files: racoon2-20100526a-40.fc31.riscv64 Provides: config(racoon2) = 20100526a-40.fc31 racoon2 = 20100526a-40.fc31 racoon2(riscv-64) = 20100526a-40.fc31 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-40.fc31.riscv64 Provides: racoon2-debugsource = 20100526a-40.fc31 racoon2-debugsource(riscv-64) = 20100526a-40.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: racoon2-debuginfo-20100526a-40.fc31.riscv64 Provides: debuginfo(build-id) = 3fa261ba38643aa8aa84b9f6ca28a6f9696f4034 debuginfo(build-id) = 4a03658ca784540d7750778ad7656104c237e8d0 debuginfo(build-id) = 74b3a278ef9c95f7190056d8735004b346e332c4 racoon2-debuginfo = 20100526a-40.fc31 racoon2-debuginfo(riscv-64) = 20100526a-40.fc31 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-40.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64 Wrote: /builddir/build/RPMS/racoon2-20100526a-40.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/racoon2-debugsource-20100526a-40.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/racoon2-debuginfo-20100526a-40.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.H9KCAR + umask 022 + cd /builddir/build/BUILD + cd racoon2-20100526a + /usr/bin/rm -rf /builddir/build/BUILDROOT/racoon2-20100526a-40.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0