Check if a random "file" is really a device file, and treat it
authorRichard Levitte <levitte@openssl.org>
Sat, 27 Dec 2003 16:01:52 +0000 (16:01 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 27 Dec 2003 16:01:52 +0000 (16:01 +0000)
commit4b66e713de39a6f396b938c1a93983c0ba7cb45f
tree886ba011c2690ff794e3e38c226516a98809eb98
parent90dd4d34bbe62e5dbf6b27556f9eca53aa9078bf
Check if a random "file" is really a device file, and treat it
specially if it is.
Add a few OpenBSD-specific cases.
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
crypto/rand/rand_unix.c
crypto/rand/randfile.c