diff options
Diffstat (limited to 'lib/securerandom.rb')
-rw-r--r-- | lib/securerandom.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/securerandom.rb b/lib/securerandom.rb index eede2fef04..a12e92fc7a 100644 --- a/lib/securerandom.rb +++ b/lib/securerandom.rb @@ -80,7 +80,7 @@ module SecureRandom @has_urandom = true ret = f.read(n) if ret.length != n - raise NotImplementedError, "Unexpected partial read from random device" + raise NotImplementedError, "Unexpected partial read from random device: only #{ret.length} for #{n}" end return ret } |