lib/securerandom.rb (gen_random): to avoid blocking on Windows.
On Windows OpenSSL RAND_bytes (underlying implementation is
RAND_poll in crypto/rand/rand_win.c) may be blocked at
NetStatisticsGet.
Hi all – This is me humbly requesting RubyInstallers for the current releases of Ruby: 2.3.1 and 2.2.5They were both released on the same day, April 26, and I've been eagerly checking RubyInstaller.org every couple of weeks since then. Of particular interest to me is this fix:lib/securerandom.rb (gen_random): to avoid blocking on Windows.
On Windows OpenSSL RAND_bytes (underlying implementation is
RAND_poll in crypto/rand/rand_win.c) may be blocked at
NetStatisticsGet.