mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 465974: fix firefox crash at startup due to weave using nss without initializing it
This commit is contained in:
parent
336e1168af
commit
cb119538ba
@ -63,6 +63,8 @@ WeaveCrypto::WeaveCrypto() :
|
|||||||
mAlgorithm(SEC_OID_AES_256_CBC),
|
mAlgorithm(SEC_OID_AES_256_CBC),
|
||||||
mKeypairBits(2048)
|
mKeypairBits(2048)
|
||||||
{
|
{
|
||||||
|
// Ensure that PSM (and thus NSS) is initialized.
|
||||||
|
nsCOMPtr<nsISupports> psm(nsGetServiceByContractID("@mozilla.org/psm;1"));
|
||||||
}
|
}
|
||||||
|
|
||||||
WeaveCrypto::~WeaveCrypto()
|
WeaveCrypto::~WeaveCrypto()
|
||||||
|
Loading…
Reference in New Issue
Block a user