[125184] in cryptography@c2.net mail archive

home help back first fref pref prev next nref lref last post

Re: The perils of security tools

daemon@ATHENA.MIT.EDU (Philipp =?iso-8859-1?q?G=FChring?=)
Tue Jun 3 11:29:58 2008

From: Philipp =?iso-8859-1?q?G=FChring?= <pg@futureware.at>
To: Werner Koch <wk@gnupg.org>
Date: Tue, 3 Jun 2008 15:09:31 +0200
Cc: Cryptography <cryptography@metzdowd.com>
In-Reply-To: <8763sycz19.fsf@wheatstone.g10code.de>
X-MDaemon-Deliver-To: cryptography@metzdowd.com

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=20
fgetc/fread and other related howtos.

Best regards,
Philipp G=FChring

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

home help back first fref pref prev next nref lref last post