Fix this for the case where the file is a device - make sure we don't
authorbeck <beck@openbsd.org>
Sun, 16 Apr 2000 04:47:06 +0000 (04:47 +0000)
committerbeck <beck@openbsd.org>
Sun, 16 Apr 2000 04:47:06 +0000 (04:47 +0000)
commitd0a74b92134a22a1c5470d773d479e33ea54d281
tree3a2927b92145ad9bff8c27dc3227030be483a209
parent5831a91d51485b4e88e822c66f297d76fd65d53a
Fix this for the case where the file is a device - make sure we don't
attempt to read from a device forever.
lib/libcrypto/rand/randfile.c
lib/libssl/src/crypto/rand/randfile.c