The perils of security tools

Philipp Gühring pg at futureware.at
Tue Jun 3 09:09:31 EDT 2008


Hi,

> It is not an implementaion issue but a requirement of the C standard.
> To avoid buffering use
>
>    setvbuf (fp, NULL, _IONBF, 0);
>
> right after the fopen.

Ah! Thanks a lot!

Ok, I think that should be written into the man-pages of /dev/random and 
fgetc/fread and other related howtos.

Best regards,
Philipp Gühring

---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com



More information about the cryptography mailing list