Re:OpenSSL leaks RSA private key information into entropy su...
by X-Istence on Thursday April 17, 2014 @12:51PM
(#7604718)
RAND_status() can never return 0 in the new OpenBSD code. All of the OpenSSL PRNG has been removed, and arc4random_buf() is used instead.
This means that this particular piece of code could NEVER be hit because there is never a time that RAND_status() is going to return 0! i.e. This is unreachable code.
On top of that RAND_add() is a no-op that won't do anything, since there is no way to add "seed" to the PRNG ...
This means that this particular piece of code could NEVER be hit because there is never a time that RAND_status() is going to return 0! i.e. This is unreachable code.
On top of that RAND_add() is a no-op that won't do anything, since there is no way to add "seed" to the PRNG ...
See this commit: http://freshbsd.org/commit/openbsd/58777eed1cff7c5b34cbc0262...