From 180a893c0c9ac428467ccab92b98bf366fd5db1f Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 14 Jun 2018 20:01:22 -0500 Subject: [PATCH] unit: Update to the new EAP API --- Makefile.am | 8 ++++---- unit/test-eap-sim.c | 2 ++ unit/test-eapol.c | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index bb0ae603..11ad749c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -203,7 +203,7 @@ unit_test_eap_sim_SOURCES = unit/test-eap-sim.c \ src/watchlist.h src/watchlist.c \ src/eapol.h src/eapol.c \ src/handshake.h src/handshake.c \ - src/eap.h src/eap.c \ + src/eap.h src/eap.c src/eap-private.h \ src/util.h src/util.c \ src/simauth.h src/simauth.c \ src/eap-sim.c @@ -257,7 +257,7 @@ unit_test_eapol_SOURCES = unit/test-eapol.c \ src/watchlist.h src/watchlist.c \ src/eapol.h src/eapol.c \ src/handshake.h src/handshake.c \ - src/eap.h src/eap.c \ + src/eap.h src/eap.c src/eap-private.h \ src/eap-tls.c src/eap-ttls.c \ src/eap-md5.c unit_test_eapol_LDADD = ell/libell-internal.la @@ -276,13 +276,13 @@ unit_test_wsc_SOURCES = unit/test-wsc.c src/wscutil.h src/wscutil.c \ src/watchlist.h src/watchlist.c \ src/eapol.h src/eapol.c \ src/handshake.h src/handshake.c \ - src/eap.h src/eap.c \ + src/eap.h src/eap.c src/eap-private.h \ src/util.h src/util.c \ src/eap-wsc.h src/eap-wsc.c unit_test_wsc_LDADD = ell/libell-internal.la unit_test_eap_mschapv2_SOURCES = src/eap-mschapv2.h src/eap-mschapv2.c \ - src/eap.c src/eap.h \ + src/eap.c src/eap.h src/eap-private.h \ unit/test-eap-mschapv2.c unit_test_eap_mschapv2_LDADD = ell/libell-internal.la diff --git a/unit/test-eap-sim.c b/unit/test-eap-sim.c index 9aa61362..b179c0dc 100644 --- a/unit/test-eap-sim.c +++ b/unit/test-eap-sim.c @@ -29,6 +29,8 @@ #include #include +#include "src/eap.h" +#include "src/eap-private.h" #include "src/simutil.h" static uint8_t attr_data[] = { diff --git a/unit/test-eapol.c b/unit/test-eapol.c index 6433e5cc..d1711581 100644 --- a/unit/test-eapol.c +++ b/unit/test-eapol.c @@ -36,6 +36,7 @@ #include "src/crypto.h" #include "src/ie.h" #include "src/eap.h" +#include "src/eap-private.h" #include "src/handshake.h" /* Our nonce to use + its size */