[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	deraadt_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2000/02/24 13:10:00

Modified files:
	lib/libssl/src/crypto/rand: md_rand.c 

Log message:
fread() of /dev/random reads an entire huge stdio buffer, instead of the 32
bytes that we actually need, thus wasting a lot of system entropy. found by
alecm_(_at_)_coyote_(_dot_)_uk_(_dot_)_sun_(_dot_)_com, passed on by Pete_(_dot_)_Zaytsev_(_at_)_EBay_(_dot_)_Sun_(_dot_)_COM




Visit your host, monkey.org