equal
deleted
inserted
replaced
102 + } else { |
102 + } else { |
103 + uint32_t flags = NSS_INIT_NOROOTINIT | NSS_INIT_OPTIMIZESPACE; |
103 + uint32_t flags = NSS_INIT_NOROOTINIT | NSS_INIT_OPTIMIZESPACE; |
104 + init_rv = ::nsshelp_open_db ("Firefox", profileStr.get(), flags); |
104 + init_rv = ::nsshelp_open_db ("Firefox", profileStr.get(), flags); |
105 + |
105 + |
106 + if (init_rv != SECSuccess) { |
106 + if (init_rv != SECSuccess) { |
107 + PR_LOG(gPIPNSSLog, PR_LOG_DEBUG, ("can not init NSS using nsshelp_open_db in %s\n", profileStr.get())); |
107 + MOZ_LOG(gPIPNSSLog, LogLevel::Debug, ("can not init NSS using nsshelp_open_db in %s\n", profileStr.get())); |
108 + init_rv = ::mozilla::psm::InitializeNSS(profileStr.get(), false); |
108 + init_rv = ::mozilla::psm::InitializeNSS(profileStr.get(), false); |
109 + } |
109 + } |
110 + } |
110 + } |
111 +#else |
111 +#else |
112 init_rv = ::mozilla::psm::InitializeNSS(profileStr.get(), false); |
112 init_rv = ::mozilla::psm::InitializeNSS(profileStr.get(), false); |