Patchwork (libeap) Please review an old patch

login
register
mail settings
Submitter Dan Williams
Date Feb. 1, 2012, 8:05 p.m.
Message ID <1328126753.7012.14.camel@dcbw.foobar.com>
Download mbox | patch
Permalink /patch/138984/
State Not Applicable
Headers show

Comments

Dan Williams - Feb. 1, 2012, 8:05 p.m.
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:


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@gmail.com>
> Freenode: cyphermox, Jabber: mathieu.tl@gmail.com
> 4096R/EE018C93 1967 8F7D 03A1 8F38 732E  FF82 C126 33E1 EE01 8C93
> _______________________________________________
> HostAP mailing list
> HostAP@lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap

Patch

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