Index: components/webcrypto/test/test_helpers.cc |
diff --git a/components/webcrypto/test/test_helpers.cc b/components/webcrypto/test/test_helpers.cc |
index a14440abf79cc55a6415f753746679a971741833..7d3ff44905dc439faa6c5e10709fb8285526ea5b 100644 |
--- a/components/webcrypto/test/test_helpers.cc |
+++ b/components/webcrypto/test/test_helpers.cc |
@@ -113,7 +113,7 @@ bool SupportsRsaOaep() { |
#else |
crypto::EnsureNSSInit(); |
// TODO(eroman): Exclude version test for OS_CHROMEOS |
-#if defined(USE_NSS) |
+#if defined(USE_NSS_CERTS) |
if (!NSS_VersionCheck("3.16.2")) |
return false; |
#endif |
@@ -124,7 +124,7 @@ bool SupportsRsaOaep() { |
bool SupportsRsaPrivateKeyImport() { |
// TODO(eroman): Exclude version test for OS_CHROMEOS |
-#if defined(USE_NSS) |
+#if defined(USE_NSS_CERTS) |
crypto::EnsureNSSInit(); |
if (!NSS_VersionCheck("3.16.2")) { |
LOG(WARNING) << "RSA key import is not supported by this version of NSS. " |