Parcourir la source

Reject GPSK-3 if ID_Server in it does not match with the value in GPSK-1

Jouni Malinen il y a 16 ans
Parent
commit
d268507aa0
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/eap_peer/eap_gpsk.c

+ 1 - 0
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;