[PATCH v2 1/4] ie: add is_ie_default_sae_group_oui
by James Prestwood
Start an OUI list of vendors who have buggy SAE group negotiation
---
src/ie.c | 25 +++++++++++++++++++++++++
src/ie.h | 2 ++
2 files changed, 27 insertions(+)
diff --git a/src/ie.c b/src/ie.c
index a73d5bbc..3bf3b5f0 100644
--- a/src/ie.c
+++ b/src/ie.c
@@ -1363,6 +1363,31 @@ bool is_ie_wpa_ie(const uint8_t *data, uint8_t len)
return false;
}
+/*
+ * List of vendor OUIs which require the default SAE group to be used
+ */
+static uint8_t use_default_sae_group_ouis[][3] = {
+ { 0xf4, 0xf5, 0xe8 },
+};
+
+bool is_ie_default_sae_group_oui(const void *data, uint16_t len)
+{
+ unsigned int i = 0;
+
+ if (len < 3)
+ return false;
+
+ while (i < L_ARRAY_SIZE(use_default_sae_group_ouis)) {
+ if (!memcmp(use_default_sae_group_ouis[i], data, 3))
+ return true;
+
+ i++;
+ }
+
+ return false;
+}
+
+
int ie_parse_wpa(struct ie_tlv_iter *iter, struct ie_rsn_info *out_info)
{
const uint8_t *data = iter->data;
diff --git a/src/ie.h b/src/ie.h
index 25b56302..7c4f987d 100644
--- a/src/ie.h
+++ b/src/ie.h
@@ -524,6 +524,8 @@ int ie_parse_wpa_from_data(const uint8_t *data, size_t len,
struct ie_rsn_info *info);
bool is_ie_wfa_ie(const uint8_t *data, uint8_t len, uint8_t oi_type);
bool is_ie_wpa_ie(const uint8_t *data, uint8_t len);
+bool is_ie_default_sae_group_oui(const void *data, uint16_t len);
+
bool ie_build_wpa(const struct ie_rsn_info *info, uint8_t *to);
int ie_parse_bss_load(struct ie_tlv_iter *iter, uint16_t *out_sta_count,
--
2.31.1
8 months, 3 weeks
[PATCH 1/3] auto-t: hwsim.py: convert addresses to 42:* format
by James Prestwood
mac80211_hwsim has a funny quirk with multiple addresses in
radios. Some operations require address index zero, some index
one. And these addresses (possibly a result of how test-runner
initializes radios) sometimes get mixed up. For example scan
results may show a BSS address as 02:00:00:00:00:00, while the
next test run shows 42:00:00:00:00:00.
Ultimately, sending out frames requires the first nibble of the
address to be 0x4 so to handle both variants of addresses described
above hwsim.py was updated to always bitwise OR the first byte
with 0x40.
---
autotests/util/hwsim.py | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/autotests/util/hwsim.py b/autotests/util/hwsim.py
index 52543062..db106dcb 100755
--- a/autotests/util/hwsim.py
+++ b/autotests/util/hwsim.py
@@ -335,14 +335,26 @@ class Hwsim(iwd.AsyncOpAbstract):
def object_manager(self):
return self._object_manager_if
+ @staticmethod
+ def _convert_address(address):
+ first = int(address[0:2], base=16)
+ first |= 0x40
+ first = format(first, 'x')
+
+ address = first + address[2:]
+
+ return address
+
def spoof_disassociate(self, radio, freq, station):
'''
Send a spoofed disassociate frame to a station
'''
+ dest = self._convert_address(radio.addresses[0].replace(':', ''))
+
frame = 'a0 00 3a 01'
frame += station.replace(':', '')
- frame += radio.addresses[0].replace(':', '')
- frame += radio.addresses[0].replace(':', '')
+ frame += dest
+ frame += dest
frame += '30 01 07 00'
self.spoof_frame(radio, freq, station, frame)
--
2.31.1
8 months, 3 weeks
[PATCH 1/4] ie: add is_ie_default_sae_group_oui
by James Prestwood
Start an OUI list of vendors who have buggy SAE group negotiation
---
src/ie.c | 25 +++++++++++++++++++++++++
src/ie.h | 2 ++
2 files changed, 27 insertions(+)
diff --git a/src/ie.c b/src/ie.c
index a73d5bbc..3bf3b5f0 100644
--- a/src/ie.c
+++ b/src/ie.c
@@ -1363,6 +1363,31 @@ bool is_ie_wpa_ie(const uint8_t *data, uint8_t len)
return false;
}
+/*
+ * List of vendor OUIs which require the default SAE group to be used
+ */
+static uint8_t use_default_sae_group_ouis[][3] = {
+ { 0xf4, 0xf5, 0xe8 },
+};
+
+bool is_ie_default_sae_group_oui(const void *data, uint16_t len)
+{
+ unsigned int i = 0;
+
+ if (len < 3)
+ return false;
+
+ while (i < L_ARRAY_SIZE(use_default_sae_group_ouis)) {
+ if (!memcmp(use_default_sae_group_ouis[i], data, 3))
+ return true;
+
+ i++;
+ }
+
+ return false;
+}
+
+
int ie_parse_wpa(struct ie_tlv_iter *iter, struct ie_rsn_info *out_info)
{
const uint8_t *data = iter->data;
diff --git a/src/ie.h b/src/ie.h
index 25b56302..7c4f987d 100644
--- a/src/ie.h
+++ b/src/ie.h
@@ -524,6 +524,8 @@ int ie_parse_wpa_from_data(const uint8_t *data, size_t len,
struct ie_rsn_info *info);
bool is_ie_wfa_ie(const uint8_t *data, uint8_t len, uint8_t oi_type);
bool is_ie_wpa_ie(const uint8_t *data, uint8_t len);
+bool is_ie_default_sae_group_oui(const void *data, uint16_t len);
+
bool ie_build_wpa(const struct ie_rsn_info *info, uint8_t *to);
int ie_parse_bss_load(struct ie_tlv_iter *iter, uint16_t *out_sta_count,
--
2.31.1
8 months, 3 weeks
Re: iwd 1.17 test suite is failing
by Tomasz Kłoczko
On Mon, 23 Aug 2021 at 17:46, Denis Kenzior <denkenz(a)gmail.com> wrote:
> Hi Tomasz,
>
> > I should check that am file before I wrote that email :/
> > Yes, it is a known that gcc issue that LTO is not working with -Wl,-wrap
> :/
> >
> > I've been trying to use kind of workaround by add on top typical set of
> LTO
> > options passed in $CLAGS, $LDFLAGS, $CC, RANLIB, $NAM by add to CFLAGS
> > -ffat-lto-objects and run 'make check
> > unit_test_sae_LDFLAGS="-Wl,-wrap,l_ecc_supported_ike_groups -fno-lto"`
> but it
> > still fails
>
> No, it works fine. See my earlier reply. You actually had two separate
> issues:
>
> 1. A failure in test-eapol, which is now fixed upstream
> 2. A failure to link test-sae caused by LTO
>
Sorry I forgot to add that git patch which you've mentioned :)
[tkloczko@barrel SPECS]$ rpmbuild -ba -with check --with failing_tests
iwd.spec
warning: Downloading
https://www.kernel.org/pub/linux/network/wireless/iwd-1.17.tar.xz to
/home/tkloczko/rpmbuild/SOURCES/iwd-1.17.tar.xz
warning: Downloading
https://git.kernel.org/pub/scm/network/wireless/iwd.git//patch/?id=ed10b0...
to
/home/tkloczko/rpmbuild/SOURCES/iwd-unit-Fix-eapol-IP-Allocation-test-failure.patch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4QTA3K
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd /home/tkloczko/rpmbuild/BUILD
+ rm -rf iwd-1.17
+ /usr/bin/xz -dc /home/tkloczko/rpmbuild/SOURCES/iwd-1.17.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd iwd-1.17
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/iwd-do_not_install_80-iwd.link.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat
/home/tkloczko/rpmbuild/SOURCES/iwd-unit-Fix-eapol-IP-Allocation-test-failure.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rA9dhy
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd iwd-1.17
+ autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I build-aux
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux'.
libtoolize: copying file 'build-aux/libtool.m4'
libtoolize: copying file 'build-aux/ltoptions.m4'
libtoolize: copying file 'build-aux/ltsugar.m4'
libtoolize: copying file 'build-aux/ltversion.m4'
libtoolize: copying file 'build-aux/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I build-aux
autoreconf: running: /usr/bin/autoconf --force
configure.ac:21: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:21: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
configure.ac:21: the top level
configure.ac:37: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:37: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:37: the top level
configure.ac:44: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:44: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:44: the top level
configure.ac:52: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:52: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:52: the top level
configure.ac:65: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:65: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:65: the top level
configure.ac:79: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:79: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:79: the top level
configure.ac:93: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:93: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:93: the top level
configure.ac:146: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:146: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:146: the top level
configure.ac:151: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:151: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:151: the top level
configure.ac:163: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:163: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:163: the top level
configure.ac:168: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:168: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:168: the top level
configure.ac:173: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:173: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:173: the top level
configure.ac:189: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:189: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:189: the top level
configure.ac:194: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:194: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:194: the top level
configure.ac:203: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:203: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:203: the top level
configure.ac:216: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:216: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:216: the top level
configure.ac:229: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:229: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:229: the top level
configure.ac:243: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:243: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:243: the top level
configure.ac:256: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:256: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:256: the top level
configure.ac:277: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:277: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:277: the top level
configure.ac:282: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:282: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:282: the top level
configure.ac:287: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:287: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:287: the top level
configure.ac:292: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:292: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:292: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:23: installing 'build-aux/compile'
configure.ac:8: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
autoreconf: Leaving directory '.'
+ CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects'
+ CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none'
+ FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none
-I/usr/lib64/gfortran/modules'
+ FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none
-I/usr/lib64/gfortran/modules'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin'
+ CC=/usr/bin/gcc
+ CXX=/usr/bin/g++
+ FC=/usr/bin/gfortran
+ AR=/usr/bin/gcc-ar
+ NM=/usr/bin/gcc-nm
+ RANLIB=/usr/bin/gcc-ranlib
+ export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB
+ ./configure --build=x86_64-redhat-linux-gnu
--host=x86_64-redhat-linux-gnu --program-prefix=
--disable-dependency-tracking --disable-silent-rules --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 --runstatedir=/run
--sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-external-ell --enable-hwsim --enable-manual-pages --enable-ofono
--enable-sim-hardcoded --enable-tools --enable-wired
configure: WARNING: unrecognized options: --enable-sim-hardcoded
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-redhat-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-redhat-linux-gnu-gcc... /usr/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to enable C11 features... none needed
checking whether /usr/bin/gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /usr/bin/gcc... none
checking whether /usr/bin/gcc accepts -fPIE... yes
checking whether /usr/bin/gcc accepts -fsanitize=address... yes
checking whether /usr/bin/gcc accepts -fsanitize=leak... yes
checking whether /usr/bin/gcc accepts -fsanitize=undefined... yes
checking whether ln -s works... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/gcc-nm
checking the name lister (/usr/bin/gcc-nm) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-redhat-linux-gnu file names to
x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-gnu-ar... /usr/bin/gcc-ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-gnu-ranlib... /usr/bin/gcc-ranlib
checking command to parse /usr/bin/gcc-nm output from /usr/bin/gcc
object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-redhat-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC
checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes
checking if /usr/bin/gcc static flag -static works... no
checking if /usr/bin/gcc supports -c -o file.o... yes
checking if /usr/bin/gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64)
supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for _init in -lasan... yes
checking for _init in -llsan... no
checking for _init in -lubsan... yes
checking for explicit_bzero... yes
checking for rawmemchr... yes
checking for linux/types.h... yes
checking for linux/if_alg.h... yes
checking for readline/readline.h... yes
checking for READLINE... yes
checking D-Bus data directory... /usr/share
checking for rst2man... rst2man
checking D-Bus bus services directory... /usr/share/dbus-1/system-services
checking systemd unit directory... /usr/lib/systemd/system
checking systemd network directory... /usr/lib/systemd/network
checking systemd modules load directory... /usr/lib/modules-load.d
checking for ELL... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-sim-hardcoded
iwd 1.17
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
[..]
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.e7TS82
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ '[' /home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64 '!=' / ']'
+ rm -rf /home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64
+ /usr/bin/mkdir -p /home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64
+ cd iwd-1.17
+ /usr/bin/make install
DESTDIR=/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64
'INSTALL=/usr/bin/install -p'
/usr/bin/make --no-print-directory install-am
/usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/bin'
/bin/sh ./libtool --mode=install /usr/bin/install -p client/iwctl
monitor/iwmon tools/hwsim
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/bin'
libtool: install: /usr/bin/install -p client/iwctl
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/bin/iwctl
libtool: install: /usr/bin/install -p monitor/iwmon
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/bin/iwmon
libtool: install: /usr/bin/install -p tools/hwsim
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/bin/hwsim
/usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/libexec'
/bin/sh ./libtool --mode=install /usr/bin/install -p src/iwd wired/ead
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/libexec'
libtool: install: /usr/bin/install -p src/iwd
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/libexec/iwd
libtool: install: /usr/bin/install -p wired/ead
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/libexec/ead
/usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/dbus-1/system-services'
/usr/bin/install -p -m 644 src/net.connman.iwd.service
wired/net.connman.ead.service
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/dbus-1/system-services'
/usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/dbus-1/system.d'
/usr/bin/install -p -m 644 src/iwd-dbus.conf wired/ead-dbus.conf
tools/hwsim-dbus.conf
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/dbus-1/system.d'
/usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/man/man1'
/usr/bin/install -p -m 644 client/iwctl.1 monitor/iwmon.1 tools/hwsim.1
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/man/man1'
/usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/man/man5'
/usr/bin/install -p -m 644 src/iwd.config.5 src/iwd.network.5 src/iwd.ap.5
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/man/man5'
/usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/man/man7'
/usr/bin/install -p -m 644 src/iwd.debug.7
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/man/man7'
/usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/man/man8'
/usr/bin/install -p -m 644 src/iwd.8 wired/ead.8
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/share/man/man8'
/usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/lib/modules-load.d'
/usr/bin/install -p -m 644 src/pkcs8.conf
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/lib/modules-load.d'
/usr/bin/mkdir -p
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/lib/systemd/system'
/usr/bin/install -p -m 644 src/iwd.service wired/ead.service
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/lib/systemd/system'
+ /usr/lib/rpm/find-debuginfo.sh -j48 --strict-build-id -m -i
--build-id-seed 1.17-2.fc35 --unique-debug-suffix -1.17-2.fc35.x86_64
--unique-debug-src-base iwd-1.17-2.fc35.x86_64 --run-dwz
--dwz-low-mem-die-limit none --dwz-max-die-limit 110000000 -S
debugsourcefiles.list /home/tkloczko/rpmbuild/BUILD/iwd-1.17
explicitly decompress any DWARF compressed ELF sections in
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/bin/hwsim
explicitly decompress any DWARF compressed ELF sections in
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/bin/iwmon
explicitly decompress any DWARF compressed ELF sections in
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/bin/iwctl
explicitly decompress any DWARF compressed ELF sections in
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/libexec/ead
explicitly decompress any DWARF compressed ELF sections in
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/libexec/iwd
extracting debug info from
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/bin/hwsim
extracting debug info from
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/bin/iwmon
extracting debug info from
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/libexec/ead
extracting debug info from
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/bin/iwctl
extracting debug info from
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/libexec/iwd
original debug info size: 5452kB, size after compression: 5092kB
/usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match.
5683 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ '[' -f /usr/bin/python3 ']'
+ PYTHONPATH=/usr/lib/rpm/redhat
+ PYTHONHASHSEED=0
+ /usr/bin/python3 -sBm compileall2 -f -j48 -o 0 -o 1 -o 2 -s
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64 -p /
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/lib64/python3.8/site-packages
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/lib/python3.8/site-packages
Listing
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/lib64/python3.8/site-packages'...
Can't list
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/lib64/python3.8/site-packages'
Listing
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/lib/python3.8/site-packages'...
Can't list
'/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64/usr/lib/python3.8/site-packages'
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RwJi0e
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd iwd-1.17
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check 'unit_test_sae_LDFLAGS=-fno-lto
-Wl,-wrap,l_ecc_supported_ike_groups'
/usr/bin/make --no-print-directory check-am
/usr/bin/make --no-print-directory check-TESTS
openssl genrsa -out unit/cert-ca-key.pem 2048
Generating RSA private key, 2048 bit long modulus (2 primes)
...+++++
...................................................+++++
e is 65537 (0x010001)
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-hmac-sha256.o unit/test-hmac-sha256.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-kdf-sha256.o unit/test-kdf-sha256.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-arc4.o unit/test-arc4.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-cmac-aes.o unit/test-cmac-aes.c
openssl req -x509 -new -nodes -extensions ca_ext \
-config ./unit/gencerts.cnf \
-subj '/O=International Union of Example
Organizations/CN=Certificate issuer guy/emailAddress=ca(a)mail.example' \
-key unit/cert-ca-key.pem -sha256 -days 10000 -out
unit/cert-ca.pem
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-eap-mschapv2.o unit/test-eap-mschapv2.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-hmac-sha1.o unit/test-hmac-sha1.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-util.o unit/test-util.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-prf-sha1.o unit/test-prf-sha1.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-client.o unit/test-client.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-hmac-md5.o unit/test-hmac-md5.c
openssl genrsa -out unit/cert-client-key.pem
Generating RSA private key, 2048 bit long modulus (2 primes)
..................................................+++++
..................+++++
e is 65537 (0x010001)
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-ssid-security.o unit/test-ssid-security.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-crypto.o unit/test-crypto.c
openssl pkcs8 -topk8 -nocrypt -in unit/cert-client-key.pem -out
unit/cert-client-key-pkcs8.pem
openssl req -new -extensions cert_ext \
-config ./unit/gencerts.cnf \
-subj '/O=Bar Example Organization/CN=Bar Example
Organization/emailAddress=bar(a)mail.example' \
-key unit/cert-client-key.pem -out unit/cert-client.csr
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-mpdu.o unit/test-mpdu.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-eap-sim.o unit/test-eap-sim.c
openssl x509 -req -extensions cert_ext \
-extfile ./unit/gencerts.cnf \
-in unit/cert-client.csr -CA ./unit/cert-ca.pem \
-CAkey ./unit/cert-ca-key.pem \
-CAserial ./unit/cert-ca.srl \
-CAcreateserial -sha256 -days 10000 -out
unit/cert-client.pem
Signature ok
subject=O = Bar Example Organization, CN = Bar Example Organization,
emailAddress = bar(a)mail.example
Getting CA Private Key
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-band.o unit/test-band.c
openssl genrsa -out unit/cert-server-key.pem
Generating RSA private key, 2048 bit long modulus (2 primes)
.........................................................................................................................................+++++
...........................................................+++++
e is 65537 (0x010001)
openssl pkcs8 -topk8 -nocrypt -in unit/cert-server-key.pem -out
unit/cert-server-key-pkcs8.pem
openssl req -new -extensions cert_ext \
-config ./unit/gencerts.cnf \
-subj '/O=Foo Example Organization/CN=Foo Example
Organization/emailAddress=foo(a)mail.example' \
-key unit/cert-server-key.pem -out unit/cert-server.csr
openssl x509 -req -extensions server_ext \
-extfile ./unit/gencerts.cnf \
-in unit/cert-server.csr -CA ./unit/cert-ca.pem \
-CAkey ./unit/cert-ca-key.pem \
-CAserial ./unit/cert-ca.srl \
-CAcreateserial -sha256 -days 10000 -out
unit/cert-server.pem
Signature ok
subject=O = Foo Example Organization, CN = Foo Example Organization,
emailAddress = foo(a)mail.example
Getting CA Private Key
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-ie.o unit/test-ie.c
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-p2p.o unit/test-p2p.c
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-hmac-sha256
unit/test-hmac-sha256.o src/crypto.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-hmac-sha256
unit/test-hmac-sha256.o src/crypto.o -lell
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-arc4 unit/test-arc4.o
src/crypto.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-arc4 unit/test-arc4.o
src/crypto.o -lell
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-cmac-aes
unit/test-cmac-aes.o src/crypto.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-cmac-aes
unit/test-cmac-aes.o src/crypto.o -lell
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-kdf-sha256
unit/test-kdf-sha256.o src/crypto.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-kdf-sha256
unit/test-kdf-sha256.o src/crypto.o -lell
PASS: unit/test-arc4
PASS: unit/test-hmac-sha256
PASS: unit/test-cmac-aes
PASS: unit/test-kdf-sha256
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-prf-sha1
unit/test-prf-sha1.o src/crypto.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-prf-sha1
unit/test-prf-sha1.o src/crypto.o -lell
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-hmac-md5
unit/test-hmac-md5.o src/crypto.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-hmac-md5
unit/test-hmac-md5.o src/crypto.o -lell
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-sae.o unit/test-sae.c
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-hmac-sha1
unit/test-hmac-sha1.o src/crypto.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-hmac-sha1
unit/test-hmac-sha1.o src/crypto.o -lell
PASS: unit/test-prf-sha1
PASS: unit/test-hmac-sha1
PASS: unit/test-hmac-md5
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-util src/util.o
unit/test-util.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-util src/util.o
unit/test-util.o -lell
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-ssid-security
unit/test-ssid-security.o src/ie.o src/common.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-ssid-security
unit/test-ssid-security.o src/ie.o src/common.o -lell
PASS: unit/test-util
PASS: unit/test-ssid-security
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-mpdu unit/test-mpdu.o
src/mpdu.o src/ie.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-mpdu unit/test-mpdu.o
src/mpdu.o src/ie.o -lell
PASS: unit/test-mpdu
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-crypto
unit/test-crypto.o src/crypto.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-crypto
unit/test-crypto.o src/crypto.o -lell
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-eap-mschapv2
src/eap-mschapv2.o src/eap.o src/mschaputil.o unit/test-eap-mschapv2.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-eap-mschapv2
src/eap-mschapv2.o src/eap.o src/mschaputil.o unit/test-eap-mschapv2.o
-lell
PASS: unit/test-eap-mschapv2
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-band unit/test-band.o
src/band.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-band unit/test-band.o
src/band.o -lell
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-eapol.o unit/test-eapol.c
PASS: unit/test-band
PASS: unit/test-crypto
/usr/bin/gcc -DHAVE_CONFIG_H -I. -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -c -o unit/test-wsc.o unit/test-wsc.c
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -fno-lto -Wl,-wrap,l_ecc_supported_ike_groups
-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-sae unit/test-sae.o
src/sae.o src/crypto.o src/ie.o src/handshake.o src/erp.o src/util.o
src/mpdu.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -fno-lto -Wl,-wrap -Wl,l_ecc_supported_ike_groups -Wl,-z
-Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z -Wl,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-sae unit/test-sae.o
src/sae.o src/crypto.o src/ie.o src/handshake.o src/erp.o src/util.o
src/mpdu.o -lell
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-eap-sim
unit/test-eap-sim.o src/crypto.o src/simutil.o src/ie.o src/watchlist.o
src/eapol.o src/eapolutil.o src/handshake.o src/eap.o src/util.o
src/simauth.o src/erp.o src/eap-sim.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-eap-sim
unit/test-eap-sim.o src/crypto.o src/simutil.o src/ie.o src/watchlist.o
src/eapol.o src/eapolutil.o src/handshake.o src/eap.o src/util.o
src/simauth.o src/erp.o src/eap-sim.o -lell
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-client
unit/test-client.o client/adapter.o client/agent.o client/agent-manager.o
client/command.o client/dbus-proxy.o client/display.o client/network.o
client/properties.o -lell -lreadline
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-client
unit/test-client.o client/adapter.o client/agent.o client/agent-manager.o
client/command.o client/dbus-proxy.o client/display.o client/network.o
client/properties.o -lell -lreadline
PASS: unit/test-eap-sim
PASS: unit/test-client
PASS: unit/test-sae
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-ie unit/test-ie.o
src/ie.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-ie unit/test-ie.o
src/ie.o -lell
PASS: unit/test-ie
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-p2p unit/test-p2p.o
src/wscutil.o src/crypto.o src/ie.o src/util.o src/p2putil.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-p2p unit/test-p2p.o
src/wscutil.o src/crypto.o src/ie.o src/util.o src/p2putil.o -lell
PASS: unit/test-p2p
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-eapol
unit/test-eapol.o src/crypto.o src/ie.o src/watchlist.o src/eapol.o
src/eapolutil.o src/handshake.o src/eap.o src/eap-tls.o src/eap-ttls.o
src/eap-md5.o src/util.o src/eap-tls-common.o src/erp.o src/mschaputil.o
-lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-eapol
unit/test-eapol.o src/crypto.o src/ie.o src/watchlist.o src/eapol.o
src/eapolutil.o src/handshake.o src/eap.o src/eap-tls.o src/eap-ttls.o
src/eap-md5.o src/util.o src/eap-tls-common.o src/erp.o src/mschaputil.o
-lell
PASS: unit/test-eapol
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections
-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-wsc unit/test-wsc.o
src/wscutil.o src/crypto.o src/ie.o src/watchlist.o src/eapol.o
src/eapolutil.o src/handshake.o src/eap.o src/util.o src/erp.o
src/eap-wsc.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-ffat-lto-objects -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z
-Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-wsc unit/test-wsc.o
src/wscutil.o src/crypto.o src/ie.o src/watchlist.o src/eapol.o
src/eapolutil.o src/handshake.o src/eap.o src/util.o src/erp.o
src/eap-wsc.o -lell
PASS: unit/test-wsc
============================================================================
Testsuite summary for iwd 1.17
============================================================================
# TOTAL: 20
# PASS: 20
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: iwd-1.17-2.fc35.x86_64
Provides: iwd = 1.17-2.fc35 iwd(x86-64) = 1.17-2.fc35
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.26)(64bit)
libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit)
libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit)
libc.so.6(GLIBC_2.7)(64bit) libell.so.0()(64bit)
libell.so.0(ELL_0.10)(64bit) libreadline.so.8()(64bit) rtld(GNU_HASH)
Processing files: iwd-debugsource-1.17-2.fc35.x86_64
Provides: iwd-debugsource = 1.17-2.fc35 iwd-debugsource(x86-64) =
1.17-2.fc35
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: iwd-debuginfo-1.17-2.fc35.x86_64
Provides: debuginfo(build-id) = 198e07fa2e74818307c0c0e3128396f41651040d
debuginfo(build-id) = 50df7467ec484967268570bb63940153a600fd97
debuginfo(build-id) = 8ecb6f61963f5f19216ab4f6a007f70f620e76e5
debuginfo(build-id) = 8fbfbf0b74120ae64134ebb615828fb9f2693b43
debuginfo(build-id) = bee0fac10a5c6bb4f23d72626f62b7c07a1bbeac
iwd-debuginfo = 1.17-2.fc35 iwd-debuginfo(x86-64) = 1.17-2.fc35
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: iwd-debugsource(x86-64) = 1.17-2.fc35
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/tkloczko/rpmbuild/BUILDROOT/iwd-1.17-2.fc35.x86_64
Wrote: /home/tkloczko/rpmbuild/SRPMS/iwd-1.17-2.fc35.src.rpm
Wrote: /home/tkloczko/rpmbuild/RPMS/iwd-1.17-2.fc35.x86_64.rpm
Wrote: /home/tkloczko/rpmbuild/RPMS/iwd-debugsource-1.17-2.fc35.x86_64.rpm
Wrote: /home/tkloczko/rpmbuild/RPMS/iwd-debuginfo-1.17-2.fc35.x86_64.rpm
So indeed it works now :)
BTW Baniel would you accept a patch for those autoconf warnings?
I'm using autoconf 3.71 and I can try to prepare a patch which will clear
those warnings and still it will be possible to use iwd with older autoconf.
kloczek
8 months, 3 weeks
Fwd: iwd 1.17 test suite is failing
by Tomasz Kłoczko
Forgot add iwd@
Resending reply to the list as well
---------- Forwarded message ---------
From: Tomasz Kłoczko <kloczko.tomasz(a)gmail.com>
Date: Mon, 23 Aug 2021 at 17:42
Subject: Re: iwd 1.17 test suite is failing
To: Denis Kenzior <denkenz(a)gmail.com>
On Mon, 23 Aug 2021 at 14:58, Denis Kenzior <denkenz(a)gmail.com> wrote:
[..]
> This would have shown up earliest at iwd 1.16. However, I'm not sure what
> this
> is about? We use
> unit_test_sae_LDFLAGS = -Wl,-wrap,l_ecc_supported_ike_groups
>
> Perhaps LTO somehow interferes with that? ell has a unit test that uses
> the
> same mechanism for quite some time..
I should check that am file before I wrote that email :/
Yes, it is a known that gcc issue that LTO is not working with -Wl,-wrap :/
I've been trying to use kind of workaround by add on top typical set of LTO
options passed in $CLAGS, $LDFLAGS, $CC, RANLIB, $NAM by add to CFLAGS
-ffat-lto-objects
and run 'make check unit_test_sae_LDFLAGS="-Wl,-wrap,l_ecc_supported_ike_groups
-fno-lto"` but it still fails
[tkloczko@barrel iwd-1.17]$ make check unit_test_sae_LDFLAGS="-fno-lto
-Wl,-wrap,l_ecc_supported_ike_groups"
make --no-print-directory check-am
make --no-print-directory check-TESTS
PASS: unit/test-cmac-aes
PASS: unit/test-hmac-md5
PASS: unit/test-hmac-sha1
PASS: unit/test-hmac-sha256
PASS: unit/test-prf-sha1
PASS: unit/test-kdf-sha256
PASS: unit/test-crypto
./build-aux/test-driver: line 107: 741643 Aborted (core
dumped) "$@" > $log_file 2>&1
FAIL: unit/test-eapol
PASS: unit/test-mpdu
PASS: unit/test-ie
PASS: unit/test-util
PASS: unit/test-ssid-security
PASS: unit/test-arc4
PASS: unit/test-wsc
PASS: unit/test-eap-mschapv2
PASS: unit/test-eap-sim
PASS: unit/test-sae
PASS: unit/test-p2p
PASS: unit/test-band
PASS: unit/test-client
============================================================================
Testsuite summary for iwd 1.17
============================================================================
# TOTAL: 20
# PASS: 19
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================
make[3]: *** [Makefile:2661: test-suite.log] Error 1
make[2]: *** [Makefile:2769: check-TESTS] Error 2
make[1]: *** [Makefile:3113: check-am] Error 2
make: *** [Makefile:3115: check] Error 2
[tkloczko@barrel iwd-1.17]$ cat ./test-suite.log
================================
iwd 1.17: ./test-suite.log
================================
# TOTAL: 20
# PASS: 19
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: unit/test-eapol
=====================
test-eapol: unit/test-eapol.c:3625: test_ap_sta_hs_event: Assertion `event
!= HANDSHAKE_EVENT_FAILED' failed.
FAIL unit/test-eapol (exit status: 134)
So with that work around it at least it does not end with SIGSEV :)
Nevertheless it is only a workaround and I would not recommend apply any
changes for that in iwd automake files.
Simple this is a gcc bug.
> BTW is it possible to organize iwd/eel mirrors on github/gitlab to be
> able
> > submit such an issue without being forced to subscribe to yet another
> mailing
> > list or put in README files details how to submit the issue?
> >
>
> We'll look into it.
>
Thx in advance :)
kloczek
--
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH
8 months, 3 weeks
iwd 1.17 test suite is failing
by Tomasz Kłoczko
Hi,
I think that it started around 1.15.
iwd and eel compiled with LTO.
[tkloczko@barrel iwd-1.17]$ make check
make --no-print-directory check-am
make --no-print-directory check-TESTS
PASS: unit/test-cmac-aes
PASS: unit/test-hmac-md5
PASS: unit/test-hmac-sha1
PASS: unit/test-hmac-sha256
PASS: unit/test-prf-sha1
PASS: unit/test-kdf-sha256
PASS: unit/test-crypto
./build-aux/test-driver: line 107: 3860965 Aborted (core
dumped) "$@" > $log_file 2>&1
FAIL: unit/test-eapol
PASS: unit/test-mpdu
PASS: unit/test-ie
PASS: unit/test-util
PASS: unit/test-ssid-security
PASS: unit/test-arc4
PASS: unit/test-wsc
PASS: unit/test-eap-mschapv2
PASS: unit/test-eap-sim
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -fvisibility=hidden
-DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -O2 -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-Wl,-wrap,l_ecc_supported_ike_groups -Wl,-z,relro -Wl,--as-needed
-Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-flto=auto -flto-partition=none -fuse-linker-plugin -o unit/test-sae
unit/test-sae.o src/sae.o src/crypto.o src/ie.o src/handshake.o src/erp.o
src/util.o src/mpdu.o -lell
libtool: link: /usr/bin/gcc -fvisibility=hidden -DUNITDIR=\"./unit/\"
-DCERTDIR=\"./unit/\" -O2 -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os
-Wl,-wrap -Wl,l_ecc_supported_ike_groups -Wl,-z -Wl,relro -Wl,--as-needed
-Wl,--gc-sections -Wl,-z -Wl,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -o unit/test-sae unit/test-sae.o
src/sae.o src/crypto.o src/ie.o src/handshake.o src/erp.o src/util.o
src/mpdu.o -lell
/usr/bin/ld: /tmp/cc8uiWzL.lto.o: in function `sae_choose_next_group':
/home/tkloczko/rpmbuild/BUILD/iwd-1.17/src/sae.c:139: undefined reference
to `__wrap_l_ecc_supported_ike_groups'
/usr/bin/ld: /tmp/cc8uiWzL.lto.o: in function `handshake_state_free':
/home/tkloczko/rpmbuild/BUILD/iwd-1.17/src/handshake.c:48: undefined
reference to `__wrap_l_ecc_supported_ike_groups'
/usr/bin/ld: /tmp/cc8uiWzL.lto.o: in function `sae_rx_authenticate':
/home/tkloczko/rpmbuild/BUILD/iwd-1.17/src/sae.c:161: undefined reference
to `__wrap_l_ecc_supported_ike_groups'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:2040: unit/test-sae] Error 1
PASS: unit/test-p2p
PASS: unit/test-band
PASS: unit/test-client
make[3]: Target 'test-suite.log' not remade because of errors.
make[2]: *** [Makefile:2769: check-TESTS] Error 2
make[1]: *** [Makefile:3113: check-am] Error 2
make: *** [Makefile:3115: check] Error 2
BTW is it possible to organize iwd/eel mirrors on github/gitlab to be able
submit such an issue without being forced to subscribe to yet another
mailing list or put in README files details how to submit the issue?
kloczek
--
Tomasz Kłoczko | LinkedIn: *http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>*
8 months, 3 weeks
[PATCH 1/8] anqp: print MAC when sending ANQP request
by James Prestwood
---
src/anqp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/anqp.c b/src/anqp.c
index 9f216305..a3c46635 100644
--- a/src/anqp.c
+++ b/src/anqp.c
@@ -248,7 +248,7 @@ uint32_t anqp_request(uint64_t wdev_id, const uint8_t *addr,
iov[0].iov_len = request->frame_len;
iov[1].iov_base = NULL;
- l_debug("Sending ANQP request");
+ l_debug("Sending ANQP request to "MAC, MAC_STR(bss->addr));
request->id = frame_xchg_start(request->wdev_id, iov,
request->frequency, 0, 300, 0,
--
2.31.1
9 months
[PATCH v2 1/4] network: handle NULL/hotspot networks when removing secrets
by James Prestwood
The hotspot case can actually result in network being NULL which
ends up crashing when accessing "->secrets". In addition any
secrets on this network were never removed for hotspot networks
since everything happened in network_unset_hotspot.
---
src/network.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/network.c b/src/network.c
index 79f3bd33..d81a201d 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1823,6 +1823,9 @@ static void network_unset_hotspot(struct network *network, void *user_data)
return;
network_set_info(network, NULL);
+
+ l_queue_destroy(network->secrets, eap_secret_info_free);
+ network->secrets = NULL;
}
static void emit_known_network_removed(struct station *station, void *user_data)
@@ -1841,6 +1844,9 @@ static void emit_known_network_removed(struct station *station, void *user_data)
return;
network_set_info(network, NULL);
+
+ l_queue_destroy(network->secrets, eap_secret_info_free);
+ network->secrets = NULL;
}
connected_network = station_get_connected_network(station);
@@ -1849,9 +1855,6 @@ static void emit_known_network_removed(struct station *station, void *user_data)
if (network && was_hidden)
station_hide_network(station, network);
-
- l_queue_destroy(network->secrets, eap_secret_info_free);
- network->secrets = NULL;
}
static void network_update_hotspot(struct network *network, void *user_data)
--
2.31.1
9 months