diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-18 07:19:46 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-18 07:19:46 +0000 |
commit | 0a51f8636cfeedcb4d95ca0ef8529571eb879f94 (patch) | |
tree | 94758c3e185978cf2c4e46428db43fe01085a056 /lib/webrick | |
parent | b1dd44e2f34ca7316a14004b362b5c5eb243d599 (diff) |
* 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
Diffstat (limited to 'lib/webrick')
-rw-r--r-- | lib/webrick/httpauth/digestauth.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/httpauth/digestauth.rb b/lib/webrick/httpauth/digestauth.rb index 34c43df571..a5177459b7 100644 --- a/lib/webrick/httpauth/digestauth.rb +++ b/lib/webrick/httpauth/digestauth.rb @@ -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 |