Index: net/cert/ev_root_ca_metadata_unittest.cc |
diff --git a/net/cert/ev_root_ca_metadata_unittest.cc b/net/cert/ev_root_ca_metadata_unittest.cc |
index 39699e26564612d9ca992d2e7c00832564e9d333..9da006483fd697d2f18fdfac1e475c272f03edd3 100644 |
--- a/net/cert/ev_root_ca_metadata_unittest.cc |
+++ b/net/cert/ev_root_ca_metadata_unittest.cc |
@@ -9,6 +9,7 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#if defined(USE_NSS_CERTS) |
+#include "crypto/nss_util.h" |
#include "crypto/scoped_nss_types.h" |
#endif |
@@ -63,6 +64,7 @@ EVOidData::EVOidData() |
} |
bool EVOidData::Init() { |
+ crypto::EnsureNSSInit(); |
crypto::ScopedPLArenaPool pool(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); |
if (!pool.get()) |
return false; |