WPS NFC: Update DH keys for ER operations
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 11 Jul 2013 13:33:05 +0000 (16:33 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 27 Jan 2014 19:44:30 +0000 (21:44 +0200)
commitd4b4d7fe3c8792b05199f16bb3dc78036d3a20fe
tree2d366de45a879ba59f6075f4443af64e19dfb9c6
parentac08752d289698b7f0eace0bf9dcacfc0fe0ac4c
WPS NFC: Update DH keys for ER operations

Since wpa_s->conf->wps_nfc_dh_* parameters can be set in number of code
paths, update the wps_context copy of the DH keys even if no new keys
were generated for the request. This tries to avoid some cases where
public key hash may not have matched the public key used in the ER
operation.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wps_supplicant.c