]> git.ipfire.org Git - thirdparty/hostap.git/commit
mka: Mark ieee802_1x_kay_create_mka() ckn and cak arguments const
authorJouni Malinen <j@w1.fi>
Sun, 11 Mar 2018 15:04:34 +0000 (17:04 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 11 Mar 2018 15:04:34 +0000 (17:04 +0200)
commitcce16e43f80be6f14365e1141a7d19520983e09f
treedc63c3a9a5b7fed9494c10f5004682102ff62433
parent22151b111b493d4604c9490327c40fdac7bc4b37
mka: Mark ieee802_1x_kay_create_mka() ckn and cak arguments const

These structures are not modified or freed (i.e., only data from them is
copied), so mark the arguments const to document this a bit more clearly
now that there was a memory leak in one of the callers to this function.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/pae/ieee802_1x_kay.c
src/pae/ieee802_1x_kay.h