]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix eap_proto_sake_server with Session ID = 255
authorJouni Malinen <jouni@codeaurora.org>
Thu, 6 May 2021 20:49:12 +0000 (23:49 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 6 May 2021 20:49:12 +0000 (23:49 +0300)
commit3cefdf0d4a6bd3bb988912ef70669bbad33b570d
tree47e007332d010730eaebf8c5509e5d1670dfbeee
parent73f65cc6c47adf2ebeb9768a1fac974398332350
tests: Fix eap_proto_sake_server with Session ID = 255

Need to wrap back to 0 when changing value 255 to avoid generating a too
large value to fit an octet field. This was resulting in errors due to a
python exception (likely for about every 256th run).

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_eap_proto.py