]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/wpa_auth_ft.c
FT: Make aes_unwrap() calls easier to analyze
authorJouni Malinen <j@w1.fi>
Fri, 5 Dec 2014 20:52:06 +0000 (22:52 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 6 Dec 2014 10:16:32 +0000 (12:16 +0200)
commit769676038871f8192bfc3198fd30a39a0c1b3093
treef180cf1b9443acc5127b181b8fad16a35adeb619
parenta6306bcc92debaf2944710b0cbdd365fd8c30bd4
FT: Make aes_unwrap() calls easier to analyze

Using aes_unwrap() to initialize a data structure seemed to be too much
for some static analyzers to understand. Make it obvious that the target
is initialized and that the target is not just the single struct member.
In addition, clean up the design to avoid removal of const with a
typecast. (CID 68112, CID 68134, CID 68135, CID 68136)

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/wpa_auth_ft.c