1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Reflect the update of the MD5 module which is now Digest::MD5.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2001-12-01 14:07:01 +00:00
parent 3dfb98cea2
commit 31e15f7606
5 changed files with 14 additions and 21 deletions

View file

@ -17,8 +17,8 @@ class CGI
end
def Session::create_new_id
require 'md5'
md5 = MD5::new
require 'digest/md5'
md5 = Digest::MD5::new
md5.update(String(Time::now))
md5.update(String(rand(0)))
md5.update(String($$))