summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-18 07:19:46 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-18 07:19:46 +0000
commit3cebc7cc3dd4142637c8555d4891ec3884bf3435 (patch)
tree94758c3e185978cf2c4e46428db43fe01085a056 /lib
parentc8a112e75e66dc757bb1964df3380b182b251f34 (diff)
downloadruby-3cebc7cc3dd4142637c8555d4891ec3884bf3435.tar.gz
ruby-3cebc7cc3dd4142637c8555d4891ec3884bf3435.tar.xz
ruby-3cebc7cc3dd4142637c8555d4891ec3884bf3435.zip
* I confirmed that its length. :-)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/webrick/httpauth/digestauth.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/httpauth/digestauth.rb b/lib/webrick/httpauth/digestauth.rb
index 34c43df57..a5177459b 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