Fix for Bug 74340 r=mcgreer, sr=blizzard
Add the crypto object back to PSM 2. git-svn-id: svn://10.0.0.236/trunk@95065 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -40,6 +40,10 @@
|
||||
#include "nsPKCS11Slot.h"
|
||||
#include "nsNSSCertificate.h"
|
||||
#include "nsCertOutliner.h"
|
||||
#include "nsCrypto.h"
|
||||
//For the NS_CRYPTO_CONTRACTID define
|
||||
#include "nsDOMCID.h"
|
||||
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsNSSComponent, Init)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSecureBrowserUIImpl)
|
||||
@@ -51,6 +55,9 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsPKCS11ModuleDB)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(CertContentListener, init)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsNSSCertificateDB)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsCertOutliner)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsCrypto)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsPkcs11)
|
||||
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
{
|
||||
@@ -171,8 +178,23 @@ static nsModuleComponentInfo components[] =
|
||||
NS_CERTOUTLINER_CID,
|
||||
NS_CERTOUTLINER_CONTRACTID,
|
||||
nsCertOutlinerConstructor
|
||||
},
|
||||
|
||||
{
|
||||
NS_PKCS11_CLASSNAME,
|
||||
NS_PKCS11_CID,
|
||||
NS_PKCS11_CONTRACTID,
|
||||
nsPkcs11Constructor
|
||||
},
|
||||
|
||||
{
|
||||
NS_CRYPTO_CLASSNAME,
|
||||
NS_CRYPTO_CID,
|
||||
NS_CRYPTO_CONTRACTID,
|
||||
nsCryptoConstructor
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
NS_IMPL_NSGETMODULE("NSS", components);
|
||||
|
||||
Reference in New Issue
Block a user