EAP-SAKE: Make attribute parser more readable
authorJouni Malinen <j@w1.fi>
Sun, 3 May 2015 07:55:00 +0000 (10:55 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 May 2015 13:32:50 +0000 (16:32 +0300)
commitf5ed40010c2809ef3ba44472132eb4d2d6e63b1f
tree9cc2dc652823473860c04edc076f20da9e18314c
parent0dfb7be470f6adaf624bbfc83be128eb31308601
EAP-SAKE: Make attribute parser more readable

Clean up eap_sake_parse_add_attr() design by passing in pointer to the
payload of the attribute instead of parsing these separately for each
attribute within the function.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_common/eap_sake_common.c