summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/securerandom.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/securerandom.rb b/lib/securerandom.rb
index ee9be9bde4..2676c3b536 100644
--- a/lib/securerandom.rb
+++ b/lib/securerandom.rb
@@ -57,7 +57,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?