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 e26603c13ce64f59aaa84461c5270b6cfbaa76a0..694d99bd4a8dbac73469c3d0a871bed323f7f833 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) |
+#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; |