]> git.ipfire.org Git - thirdparty/hostap.git/commit
RADIUS: Fix a copy-paste error in variable name
authorJouni Malinen <j@w1.fi>
Tue, 28 Apr 2015 23:38:40 +0000 (02:38 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 29 Apr 2015 09:08:27 +0000 (12:08 +0300)
commitdea0d8ee295983358e300c84af006bfbd79c5500
treea9693f7f2497a842dc0e3ec08d971a03dd357869
parent01a025937c67f0eca6021d94b8ec3b144f8b1730
RADIUS: Fix a copy-paste error in variable name

MS-MPPE-Recv-Key generation in radius_msg_add_mppe_keys() used incorrect
function argument (send_key_len; should be recv_key_len) when allocating
a temporary buffer. Fix this by using the correct argument.

The only caller of the function uses the same length for both
send_key_len and recv_key_len, so this copy-paste error did not result
in any difference in the behavior.

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