aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-23 18:06:13 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-23 18:06:13 (GMT)
commitd268507aa076cdd6eff5749fbf0c03e8b441a56c (patch)
treede6a88e23c795fccb80214a0e27e66813cefd571 /src/eap_peer
parentafc7a7ad3c21eb749d8cbcbf0a481690b4cc194e (diff)
downloadhostap-06-d268507aa076cdd6eff5749fbf0c03e8b441a56c.zip
hostap-06-d268507aa076cdd6eff5749fbf0c03e8b441a56c.tar.gz
hostap-06-d268507aa076cdd6eff5749fbf0c03e8b441a56c.tar.bz2
Reject GPSK-3 if ID_Server in it does not match with the value in GPSK-1
Diffstat (limited to 'src/eap_peer')
-rw-r--r--src/eap_peer/eap_gpsk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eap_peer/eap_gpsk.c b/src/eap_peer/eap_gpsk.c
index 879dde6..73bd191 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;