3ccc11c806
- Resolves: rhbz#800674 - Unable to contact LDAP Server during winsync - Resolves: rhbz#800682 - Qpid AMQP daemon fails to load after nss update - Resolves: rhbz#800676 - NSS workaround for freebl bug that causes openswan to drop connections
16 lines
593 B
Diff
16 lines
593 B
Diff
diff -up ./mozilla/security/nss/lib/nss/nssinit.c.800682 ./mozilla/security/nss/lib/nss/nssinit.c
|
|
--- ./mozilla/security/nss/lib/nss/nssinit.c.800682 2012-03-07 17:34:50.846174813 -0800
|
|
+++ ./mozilla/security/nss/lib/nss/nssinit.c 2012-03-07 17:36:12.545753433 -0800
|
|
@@ -1151,6 +1151,11 @@ SECStatus
|
|
NSS_Shutdown(void)
|
|
{
|
|
SECStatus rv;
|
|
+ /* make sure our lock and condition variable are initialized one and only
|
|
+ * one time */
|
|
+ if (PR_CallOnce(&nssInitOnce, nss_doLockInit) != PR_SUCCESS) {
|
|
+ return SECFailure;
|
|
+ }
|
|
PZ_Lock(nssInitLock);
|
|
|
|
if (!nssIsInitted) {
|