Use more explicit way of copying pointer value to a buffer
authorJouni Malinen <j@w1.fi>
Tue, 1 Jan 2013 18:26:20 +0000 (20:26 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 12 Jan 2013 15:51:53 +0000 (17:51 +0200)
commit559cdabb0fed79f70872e1a652a955202699126c
tree06ae0003f8ba15e219fee93aec872b6fccd1fc2d
parenta50414c322395495f96b58ba7d8b381fa46c3f5a
Use more explicit way of copying pointer value to a buffer

The code initializing GMK Counter uses the group pointer value as extra
entropy and to distinguish different group instances. Some static
analyzers complain about the sizeof(pointer) with memcpy, so use a more
explicit type casting to make it more obvious what the code is doing.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/wpa_auth.c