[openssl.org #1110] DEVRAMDOM define in rand_unix.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[openssl.org #1110] DEVRAMDOM define in rand_unix.c

Rich Salz via RT

Since 0.9.8beta3 method RAND_pool, when DEVRANDOM is defined, don't read
data from specified devices.

before:
$ strace -f openssl genrsa 2>&1 | grep -i random
open("/dev/urandom", ...) = 3

after:
$ strace -f openssl genrsa 2>&1 | grep -i random
open("DEVRANDOM", ...) = -1 ENOENT ...


solution - remove quotes around DEVRANDOM in file "crypto/rand/rand_unix.c"
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [hidden email]
Automated List Manager                           [hidden email]