diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2023-04-13 15:36:24 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2023-04-13 19:50:00 +0900 |
commit | 64e503eb62aff0952b655e9a86217e355f786146 (patch) | |
tree | 22d972813dad02a152e8320cb934b2250a7f41f1 /eval.c | |
parent | 0a092d00ccfa6bab2e6b09d118ce561ed0ea2908 (diff) | |
download | ruby-64e503eb62aff0952b655e9a86217e355f786146.tar.gz |
avoid seeding
OpenSSL's man page previously stated that "the application is
responsible for seeding the PRNG by calling RAND_add" (see [1]).
So we had this code. However things changed. They no longer
say so, instead "manual (re-)seeding of the default OpenSSL
random generator is not necessary" now (see [2]). It seems all
OpenSSL versions that we support now already behaves like this.
Let's follow that.
[1]: https://www.openssl.org/docs/man1.0.2/man3/RAND_add.html
[2]: https://www.openssl.org/docs/manmaster/man3/RAND_add.html
Diffstat (limited to 'eval.c')
0 files changed, 0 insertions, 0 deletions