From 3cebc7cc3dd4142637c8555d4891ec3884bf3435 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: http://svn.ruby-lang.org/repos/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') 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 -- cgit