Return wpabuf from radius_msg_get_eap()
authorJouni Malinen <j@w1.fi>
Tue, 7 Aug 2012 15:14:42 +0000 (18:14 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 7 Aug 2012 15:14:42 +0000 (18:14 +0300)
commite100828b76f2e6a9ba7c387ad9532710497ee5da
tree67b5b7a1c82f6cb089e677f26bd467f6fe66ea59
parent95ac3bf49fa80c544d3e2b67c856b23280d8717b
Return wpabuf from radius_msg_get_eap()

This simplifies the implementation by using the buffer type to which the
returned data will be converted anyway. This avoids one memory
allocation for each processed RADIUS message.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/ieee802_1x.c
src/radius/radius.c
src/radius/radius.h
src/radius/radius_server.c
wpa_supplicant/eapol_test.c