Index: net/cert/test_root_certs_unittest.cc |
diff --git a/net/cert/test_root_certs_unittest.cc b/net/cert/test_root_certs_unittest.cc |
index e55c147c3462435c5da04f03f0393f7dc5d2a975..2f449e7651e99ce7ed9448ff1f41139e78c47c8e 100644 |
--- a/net/cert/test_root_certs_unittest.cc |
+++ b/net/cert/test_root_certs_unittest.cc |
@@ -14,7 +14,7 @@ |
#include "net/test/cert_test_util.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-#if defined(USE_NSS_CERTS) || defined(OS_IOS) |
+#if defined(USE_NSS_VERIFIER) |
#include <nss.h> |
#endif |
@@ -68,7 +68,7 @@ TEST(TestRootCertsTest, AddFromFile) { |
// the results of the rest of net_unittests, ensuring that the trust status |
// is properly being set and cleared. |
TEST(TestRootCertsTest, OverrideTrust) { |
-#if defined(USE_NSS_CERTS) || defined(OS_IOS) |
+#if defined(USE_NSS_VERIFIER) |
if (NSS_VersionCheck("3.14.2") && !NSS_VersionCheck("3.15")) { |
// See http://bugzil.la/863947 for details |
LOG(INFO) << "Skipping test for NSS 3.14.2 - NSS 3.15"; |