utils: fix seeding of the random generator
If the fread didn't read all in one go, the buffer was being repeatedly overwritten from the start instead of continuing the read :-/
I also changed the overall approach in some respects.
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
If the fread didn't read all in one go, the buffer was being repeatedly overwritten from the start instead of continuing the read :-/
I also changed the overall approach in some respects.