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/branches/ruby_1_6@1868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2001-12-01 14:07:01 +00:00
parent a6f026ab78
commit ed8cd81f79
4 changed files with 12 additions and 19 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($$))