summaryrefslogtreecommitdiff
path: root/lib/securerandom.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/securerandom.rb')
-rw-r--r--lib/securerandom.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/securerandom.rb b/lib/securerandom.rb
index fe0e0055545..1c88a61fd7a 100644
--- a/lib/securerandom.rb
+++ b/lib/securerandom.rb
@@ -64,7 +64,6 @@ module SecureRandom
flags = File::RDONLY
flags |= File::NONBLOCK if defined? File::NONBLOCK
flags |= File::NOCTTY if defined? File::NOCTTY
- flags |= File::NOFOLLOW if defined? File::NOFOLLOW
begin
File.open("/dev/urandom", flags) {|f|
unless f.stat.chardev?