[PATCH] (libeap) Please review an old patch

Dan Williams dcbw
Wed Feb 1 12:05:53 PST 2012


On Mon, 2012-01-30 at 19:35 -0500, Mathieu Trudel-Lapierre wrote:
> Hi,
> 
> Inaky Perez-Gonzalez once submitted a patch to support splitting
> wpasupplicant up to provide libeap separately:
> 
> http://lists.shmoo.com/pipermail/hostap/2010-October/021795.html
> 
> Would it be possible to review this patch again, or let me know what
> kind of work is still required to get this acceptable?

It needs a bit of updating for hostap 1.0+, something like:

diff --git a/wpa_supplicant-0.7.2-generate-libeap-peer.patch b/wpa_supplicant-0.7.2-generate-libeap-peer.patch
index 915afa3..f4c38d2 100644
--- a/wpa_supplicant-0.7.2-generate-libeap-peer.patch
+++ b/wpa_supplicant-0.7.2-generate-libeap-peer.patch
@@ -42,7 +42,7 @@ diff --git a/src/eap_peer/Makefile b/src/eap_peer/Makefile
 index 3651056..58c067a 100644
 --- a/src/eap_peer/Makefile
 +++ b/src/eap_peer/Makefile
-@@ -1,11 +1,190 @@
+@@ -1,11 +1,192 @@
 -all:
 -      @echo Nothing to be made.
 +LIBEAP_NAME = libeap
@@ -83,6 +83,7 @@ index 3651056..58c067a 100644
 +override CFLAGS += -I ../../wpa_supplicant
 +
 +OBJS_both += ../utils/common.o
++OBJS_both += ../utils/eloop.o
 +OBJS_both += ../utils/os_unix.o
 +OBJS_both += ../utils/wpa_debug.o
 +OBJS_both += ../utils/base64.o
@@ -97,6 +98,7 @@ index 3651056..58c067a 100644
 +OBJS_both += ../crypto/aes-omac1.o
 +OBJS_both += ../crypto/ms_funcs.o
 +OBJS_both += ../crypto/sha256.o
++OBJS_both += ../crypto/random.o
 +
 +
 +OBJS_both += ../eap_common/eap_peap_common.o

But would be nice to get this integrated so we don't have to custom
patch stuff for the Intel WiMAX stack.

Dan



> Sorry for the rather weird request ;)
> 
> Thanks, and regards.
> 
> Mathieu Trudel-Lapierre <mathieu.tl at gmail.com>
> Freenode: cyphermox, Jabber: mathieu.tl at gmail.com
> 4096R/EE018C93 1967 8F7D 03A1 8F38 732E  FF82 C126 33E1 EE01 8C93
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap





More information about the Hostap mailing list