WPS: Fix strict validation of encrypted data for WSC 2.0-only case
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 23 Sep 2010 02:17:13 +0000 (19:17 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 23 Sep 2010 02:17:13 +0000 (19:17 -0700)
commit3237bfb1a3cdd4d3efa34f6fa205478b38bf5b75
tree0a5dcdc5f4ab43145471001c99f0d03c0a8f7c38
parent70153d385cb025ce1faef7461db67bd256c9b76f
WPS: Fix strict validation of encrypted data for WSC 2.0-only case

Need to figure out whether the message is from a WSC 2.0 -based
device based on the unencrypted attributes, not the contents of the
encrypted data since the Version2 subelement is only included in the
unencrypted area.
src/wps/wps.h
src/wps/wps_enrollee.c
src/wps/wps_registrar.c
src/wps/wps_validate.c