From c7082d0bc396d5f7bc42ce894516ba4efc673fc0 Mon Sep 17 00:00:00 2001 From: "dougt%meer.net" Date: Thu, 2 Jun 2005 15:27:31 +0000 Subject: [PATCH] Fixing regression caused by bug 292368. This patch fixes bug 296369. Simple fix -- use the right contract id. git-svn-id: svn://10.0.0.236/trunk@174064 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/protocol/http/src/nsHttpDigestAuth.cpp | 2 +- mozilla/netwerk/protocol/http/src/nsHttpDigestAuth.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mozilla/netwerk/protocol/http/src/nsHttpDigestAuth.cpp b/mozilla/netwerk/protocol/http/src/nsHttpDigestAuth.cpp index 2e8e21a4d90..7dff84c3482 100644 --- a/mozilla/netwerk/protocol/http/src/nsHttpDigestAuth.cpp +++ b/mozilla/netwerk/protocol/http/src/nsHttpDigestAuth.cpp @@ -63,7 +63,7 @@ nsHttpDigestAuth::nsHttpDigestAuth() { - mVerifier = do_GetService(SIGNATURE_VERIFIER_CONTRACTID); + mVerifier = do_GetService("@mozilla.org/security/hash;1"); mGotVerifier = (mVerifier != nsnull); #if defined(PR_LOGGING) diff --git a/mozilla/netwerk/protocol/http/src/nsHttpDigestAuth.h b/mozilla/netwerk/protocol/http/src/nsHttpDigestAuth.h index 34724be3c90..b07282ec5de 100644 --- a/mozilla/netwerk/protocol/http/src/nsHttpDigestAuth.h +++ b/mozilla/netwerk/protocol/http/src/nsHttpDigestAuth.h @@ -57,8 +57,6 @@ #define EXPANDED_DIGEST_LENGTH 32 #define NONCE_COUNT_LENGTH 8 -class nsISignatureVerifier; - //----------------------------------------------------------------------------- // nsHttpDigestAuth //-----------------------------------------------------------------------------