* I confirmed that its length. :-)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nahi 2004-12-18 07:19:46 +00:00
parent b1dd44e2f3
commit 0a51f8636c

View file

@ -253,7 +253,7 @@ module WEBrick
def generate_next_nonce(req)
now = "%012d" % req.request_time.to_i
pk = hexdigest(now, @instance_key)[0,32]
nonce = [now + ":" + pk].pack("m*").chop # it has 60 length of chars.??
nonce = [now + ":" + pk].pack("m*").chop # it has 60 length of chars.
nonce
end