Fix randfile so it doesn't attempt to chmod and write entropy back to
authorbeck <beck@openbsd.org>
Sun, 16 Apr 2000 21:46:36 +0000 (21:46 +0000)
committerbeck <beck@openbsd.org>
Sun, 16 Apr 2000 21:46:36 +0000 (21:46 +0000)
commit0bdc279a984df66f4688645ac8ad320cbd1b6165
tree335b087d1ef93a198f67c8dcf2890742ac3d60fb
parent8e285992105ffef08f6166b672de2d1c03dbd396
Fix randfile so it doesn't attempt to chmod and write entropy back to
devices. This caused people's /dev/arandom's to be permitted 600,
which causes rsa to fail to get random data, which results in all
kinds of fun with ssh :)
lib/libcrypto/rand/randfile.c
lib/libssl/src/crypto/rand/randfile.c