Index: content/child/webcrypto/nss/util_nss.cc |
diff --git a/content/child/webcrypto/nss/util_nss.cc b/content/child/webcrypto/nss/util_nss.cc |
index e313a55a967350163128f36ef15a0b0ba76498ee..108ee4e32547be1318f0702ea868a00c3a94cc92 100644 |
--- a/content/child/webcrypto/nss/util_nss.cc |
+++ b/content/child/webcrypto/nss/util_nss.cc |
@@ -10,7 +10,7 @@ |
#include "crypto/nss_util.h" |
#include "crypto/scoped_nss_types.h" |
-#if defined(USE_NSS) |
+#if defined(USE_NSS_CERTS) |
#include <dlfcn.h> |
#include <secoid.h> |
#endif |
@@ -44,7 +44,7 @@ NssRuntimeSupport* NssRuntimeSupport::Get() { |
} |
NssRuntimeSupport::NssRuntimeSupport() : internal_slot_does_oaep_(false) { |
-#if !defined(USE_NSS) |
+#if !defined(USE_NSS_CERTS) |
// Using a bundled version of NSS that is guaranteed to have this symbol. |
pk11_encrypt_func_ = PK11_Encrypt; |
pk11_decrypt_func_ = PK11_Decrypt; |