]> git.ipfire.org Git - thirdparty/hostap.git/commit
random: Check fwrite return value to avoid warnings
authorJouni Malinen <j@w1.fi>
Sat, 6 Aug 2011 18:16:31 +0000 (21:16 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 6 Aug 2011 18:16:31 +0000 (21:16 +0300)
commit2e923102171e5dacd2a1affda70d506a9ef433c7
tree8140e347dfed92e487d3400a9c49bcad0cf7cad5
parent6921f1f3860e8e3c1a6148b586a5b5bb406b6656
random: Check fwrite return value to avoid warnings

Some compilers complain about fwrite calls if the return value is
not checked, so check the value even if it does not really make
much of a difference in this particular case.
src/crypto/random.c