From 0a51f8636cfeedcb4d95ca0ef8529571eb879f94 Mon Sep 17 00:00:00 2001 From: nahi Date: Sat, 18 Dec 2004 07:19:46 +0000 Subject: * 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 --- lib/webrick/httpauth/digestauth.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/webrick/httpauth') 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 -- cgit v1.2.3