mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 259570 Remove caps dependency from network/build. Also, make
nsHttpDigestAuth's destructor nonvirtual. r+sr=darin
This commit is contained in:
parent
3a689f5e26
commit
79d31490c5
@ -65,7 +65,6 @@ REQUIRES = xpcom \
|
||||
intl \
|
||||
uconv \
|
||||
unicharutil \
|
||||
caps \
|
||||
$(ZLIB_REQUIRES) \
|
||||
$(NULL)
|
||||
|
||||
|
@ -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
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user