From: Jouni Malinen Date: Sun, 23 Nov 2008 18:06:13 +0000 (+0200) Subject: Reject GPSK-3 if ID_Server in it does not match with the value in GPSK-1 X-Git-Tag: hostap_0_6_7~216 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d268507aa076cdd6eff5749fbf0c03e8b441a56c;p=thirdparty%2Fhostap.git Reject GPSK-3 if ID_Server in it does not match with the value in GPSK-1 --- diff --git a/src/eap_peer/eap_gpsk.c b/src/eap_peer/eap_gpsk.c index 879dde67d..73bd191a8 100644 --- a/src/eap_peer/eap_gpsk.c +++ b/src/eap_peer/eap_gpsk.c @@ -444,6 +444,7 @@ const u8 * eap_gpsk_validate_id_server(struct eap_gpsk_data *data, data->id_server, data->id_server_len); wpa_hexdump_ascii(MSG_DEBUG, "EAP-GPSK: ID_Server in GPSK-3", pos, len); + return NULL; } pos += len;