Index: content/child/webcrypto/test/test_helpers.cc |
diff --git a/content/child/webcrypto/test/test_helpers.cc b/content/child/webcrypto/test/test_helpers.cc |
index 538a7d686402b9688e0727ec400171122b0928a1..3c95a101546758755790422408951a23936dd2f4 100644 |
--- a/content/child/webcrypto/test/test_helpers.cc |
+++ b/content/child/webcrypto/test/test_helpers.cc |
@@ -116,7 +116,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 |
@@ -127,7 +127,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. " |