aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.cpp
diff options
context:
space:
mode:
authorfanquake <[email protected]>2019-10-26 08:15:43 -0400
committerfanquake <[email protected]>2019-11-18 08:48:39 -0500
commit5624ab0b4f844dc7c17aeb1b009f002c33c38fb3 (patch)
treee3c2bb4b0d2dcfafdbf52d2e6dc908f2fd7c9850 /src/script/script_error.cpp
parentMerge #16669: build: use new fork of osslsigncode for windows gitian signing (diff)
downloaddiscoin-5624ab0b4f844dc7c17aeb1b009f002c33c38fb3.tar.xz
discoin-5624ab0b4f844dc7c17aeb1b009f002c33c38fb3.zip
random: stop feeding RNG output back into OpenSSL
On the ::SLOW or ::SLEEP paths, we would feed our RNG output back into OpenSSL using RAND_add. This commit removes that functionality. RAND_add(): https://www.openssl.org/docs/manmaster/man3/RAND_add.html RAND_add() mixes the num bytes at buf into the internal state of the random generator. This function will not normally be needed, as mentioned above. The randomness argument is an estimate of how much randomness is contained in buf, in bytes, and should be a number between zero and num.
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions