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..1a4ea91deb4eb9c28357132344d6031aaed1123d 100644 |
--- a/content/child/webcrypto/test/test_helpers.cc |
+++ b/content/child/webcrypto/test/test_helpers.cc |
@@ -127,7 +127,7 @@ bool SupportsRsaOaep() { |
bool SupportsRsaPrivateKeyImport() { |
// TODO(eroman): Exclude version test for OS_CHROMEOS |
-#if defined(USE_NSS) |
+#if !defined(USE_OPENSSL) && defined(USE_NSS) |
crypto::EnsureNSSInit(); |
if (!NSS_VersionCheck("3.16.2")) { |
LOG(WARNING) << "RSA key import is not supported by this version of NSS. " |