WPS UFD: Use pre-configured DH keys only with OOB
authorJouni Malinen <j@w1.fi>
Thu, 26 Feb 2009 20:09:35 +0000 (22:09 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 26 Feb 2009 20:09:35 +0000 (22:09 +0200)
commitd5e2b2d274e50444c128ec206b104f668bcf3f86
tree880cb52331e64d3dafce9371360c0204a2d5e57a
parent7cbf51bbd8f34b573f280228d8426f63141317d8
WPS UFD: Use pre-configured DH keys only with OOB

The old behavior of generating new DH keys can be maintained for non-OOB
cases and only OOB (in this case, with UFD) will use the pre-configured
DH keys to allow the public key hash to be checked.
hostapd/wps_hostapd.c
src/wps/wps_attr_build.c
src/wps/wps_enrollee.c
wpa_supplicant/wps_supplicant.c