WPS: Fix nonce comparisons
authorEyal Shapira <eyal@wizery.com>
Mon, 13 Aug 2012 16:50:33 +0000 (19:50 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 13 Aug 2012 16:50:33 +0000 (19:50 +0300)
commitb4e9e2659b97865f7950ae467a3d828b768c78de
treea18b143a972b6c2141cefbc827a39fa2bbf6fbea
parent623ecdd5a28bafbac97786c3fe667045d3d78c5d
WPS: Fix nonce comparisons

Multiple memcmps of nonces were actually comparing only the first byte
instead of all 16 bytes. [Bug 462]

Signed-hostap: Eyal Shapira <eyal@wizery.com>
intended-for: hostap-1
src/wps/wps_enrollee.c
src/wps/wps_registrar.c