Read Michael MIC keys through TK2 union instead of offset from TK1
authorJouni Malinen <j@w1.fi>
Thu, 5 Jun 2008 18:00:56 +0000 (21:00 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 5 Jun 2008 18:00:56 +0000 (21:00 +0300)
commitb6ab429402959280446b15d772769c6c6fe2fab9
tree12cafea4548e2f32c3d5b5edb4cb8d3e3ceeb813
parent7cdeb81e1fc25b96454ee9a66ef1f30aa57b7a40
Read Michael MIC keys through TK2 union instead of offset from TK1

This gets rid of potential warnings about buffer bounds errors. The earlier
code works fine, but it is not the cleanest way of using the struct wpa_ptk
definition for TK1/TK2.
src/rsn_supp/peerkey.c