GetRandBytes currently (in bitcoin/0.10) returns an error code indicating whether random bytes were actually generated. This error code should currently be checked in all the places GetRandBytes is called, but GetRandBytes should just error out the entire program if this fails given the disastrous security implications of failing to get random data and continuing operation. See bitcoin PR #4400.
GetRandBytes
currently (in bitcoin/0.10) returns an error code indicating whether random bytes were actually generated. This error code should currently be checked in all the placesGetRandBytes
is called, butGetRandBytes
should just error out the entire program if this fails given the disastrous security implications of failing to get random data and continuing operation. See bitcoin PR #4400.