mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* 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:
parent
b1dd44e2f3
commit
0a51f8636c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue