]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-pwd server: Remove unused srandom() call
authorJouni Malinen <jouni@codeaurora.org>
Tue, 16 Apr 2019 23:04:17 +0000 (02:04 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 17 Apr 2019 10:24:37 +0000 (13:24 +0300)
commit6151c9b900fe4016e3151565434da68696b4b2e5
tree914ee1fe7398e4e99b8c9abe7123201e7ecb560e
parent778ce8ae0b58c6ba79644a8a7dde210d68d5b083
EAP-pwd server: Remove unused srandom() call

Commit 4b16c15bbc8b ("EAP-pwd server: Use os_get_random() for
unpredictable token") replaced use of os_random(), i.e., of random(),
with os_get_random(), but forgot to remove the now unused srandom()
call. Clean up the implementation and remove that unneeded code.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/eap_server/eap_server_pwd.c