Bug 259570 Remove caps dependency from network/build. Also, make

nsHttpDigestAuth's destructor nonvirtual.
r+sr=darin
This commit is contained in:
cbiesinger%web.de 2004-09-15 21:09:46 +00:00
parent 3a689f5e26
commit 79d31490c5
3 changed files with 7 additions and 3 deletions

View File

@ -65,7 +65,6 @@ REQUIRES = xpcom \
intl \
uconv \
unicharutil \
caps \
$(ZLIB_REQUIRES) \
$(NULL)

View File

@ -44,6 +44,7 @@
#include "nsHttpDigestAuth.h"
#include "nsIHttpChannel.h"
#include "nsIServiceManager.h"
#include "nsISignatureVerifier.h"
#include "nsXPCOM.h"
#include "nsISupportsPrimitives.h"
#include "nsIURI.h"
@ -74,6 +75,9 @@ nsHttpDigestAuth::nsHttpDigestAuth()
#endif
}
nsHttpDigestAuth::~nsHttpDigestAuth()
{}
//-----------------------------------------------------------------------------
// nsHttpDigestAuth::nsISupports
//-----------------------------------------------------------------------------

View File

@ -43,7 +43,6 @@
#define nsDigestAuth_h__
#include "nsIHttpAuthenticator.h"
#include "nsISignatureVerifier.h"
#include "nsString.h"
#include "nsCOMPtr.h"
@ -57,6 +56,8 @@
#define EXPANDED_DIGEST_LENGTH 32
#define NONCE_COUNT_LENGTH 8
class nsISignatureVerifier;
//-----------------------------------------------------------------------------
// nsHttpDigestAuth
//-----------------------------------------------------------------------------
@ -68,7 +69,7 @@ class nsHttpDigestAuth : public nsIHttpAuthenticator
NS_DECL_NSIHTTPAUTHENTICATOR
nsHttpDigestAuth();
virtual ~nsHttpDigestAuth() {}
~nsHttpDigestAuth();
protected:
nsresult ExpandToHex(const char * digest, char * result);