diff options
-rw-r--r-- | lib/securerandom.rb | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -54,8 +54,7 @@ module SecureRandom pid = $$ unless @pid == pid now = Process.clock_gettime(Process::CLOCK_REALTIME, :nanosecond) - ary = [now, @pid, pid] - OpenSSL::Random.random_add(ary.join("").to_s, 0.0) seed = Random.raw_seed(16) if (seed) OpenSSL::Random.random_add(seed, 16) |