aboutsummaryrefslogtreecommitdiffstats
path: root/src/eapol_supp
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-04-18 08:31:11 (GMT)
committerJouni Malinen <j@w1.fi>2015-04-22 08:44:19 (GMT)
commit46c3befe24be715d2bb8083214f21dfbbebc85f4 (patch)
tree429dd3f9ff1062753793de9f798ea1dc126724ea /src/eapol_supp
parenta65d7495b52690d3a7d660b8aec50aa22f5ceda6 (diff)
downloadhostap-46c3befe24be715d2bb8083214f21dfbbebc85f4.zip
hostap-46c3befe24be715d2bb8083214f21dfbbebc85f4.tar.gz
hostap-46c3befe24be715d2bb8083214f21dfbbebc85f4.tar.bz2
tests: Add eapol-fuzzer
This program can be used to run fuzzing tests for areas related to EAPOL frame parsing and processing on the supplicant side. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eapol_supp')
-rw-r--r--src/eapol_supp/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/eapol_supp/Makefile b/src/eapol_supp/Makefile
index adfd3df..80db9d4 100644
--- a/src/eapol_supp/Makefile
+++ b/src/eapol_supp/Makefile
@@ -1,8 +1,18 @@
-all:
- @echo Nothing to be made.
+all: libeapol_supp.a
clean:
- rm -f *~ *.o *.d *.gcno *.gcda *.gcov
+ rm -f *~ *.o *.d *.gcno *.gcda *.gcov libeapol_supp.a
install:
@echo Nothing to be made.
+
+include ../lib.rules
+
+CFLAGS += -DIEEE8021X_EAPOL
+
+LIB_OBJS = eapol_supp_sm.o
+
+libeapol_supp.a: $(LIB_OBJS)
+ $(AR) crT $@ $?
+
+-include $(OBJS:%.o=%.d)