aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2020-02-25 11:08:00 (GMT)
committerJouni Malinen <j@w1.fi>2020-02-25 11:08:00 (GMT)
commite55dedbf6ecbf2e42a8c90c77afbaa8bbabe3a4d (patch)
tree4cd91f116079f44d0bad99becb69168af95508a9
parentec303e2cb16c7034f2634f14e41929c4e8708b93 (diff)
downloadhostap-e55dedbf6ecbf2e42a8c90c77afbaa8bbabe3a4d.zip
hostap-e55dedbf6ecbf2e42a8c90c77afbaa8bbabe3a4d.tar.gz
hostap-e55dedbf6ecbf2e42a8c90c77afbaa8bbabe3a4d.tar.bz2
tests/fuzzing: Fix build after CONFIG_IEEE80211N=y removal
Commit f3bcd6960346 ("Remove CONFIG_IEEE80211N build option") broke couple of fuzzing test tools due to missing wpa_scan_results_free(). Fix that by pulling in driver_common.o. Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r--tests/fuzzing/ap-mgmt/Makefile2
-rw-r--r--tests/fuzzing/eapol-key-auth/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/fuzzing/ap-mgmt/Makefile b/tests/fuzzing/ap-mgmt/Makefile
index af5fd4f..192ae72 100644
--- a/tests/fuzzing/ap-mgmt/Makefile
+++ b/tests/fuzzing/ap-mgmt/Makefile
@@ -24,6 +24,8 @@ LIBS += $(SRC)/utils/libutils.a
ELIBS += $(SRC)/crypto/libcrypto.a
ELIBS += $(SRC)/tls/libtls.a
+OBJS += $(SRC)/drivers/driver_common.o
+
ap-mgmt: ap-mgmt.o $(OBJS) $(LIBS)
$(LDO) $(LDFLAGS) -o $@ $^ $(LIBS) $(ELIBS)
diff --git a/tests/fuzzing/eapol-key-auth/Makefile b/tests/fuzzing/eapol-key-auth/Makefile
index 4dca102..bd2b275 100644
--- a/tests/fuzzing/eapol-key-auth/Makefile
+++ b/tests/fuzzing/eapol-key-auth/Makefile
@@ -17,6 +17,8 @@ LIBS += $(SRC)/eap_server/libeap_server.a
LIBS += $(SRC)/ap/libap.a
LIBS += $(SRC)/radius/libradius.a
+OBJS += $(SRC)/drivers/driver_common.o
+
eapol-key-auth: eapol-key-auth.o $(OBJS) $(LIBS)
$(LDO) $(LDFLAGS) -o $@ $^ -Wl,--start-group $(LIBS) -Wl,--end-group