| Index: components/webcrypto/nss/util_nss.cc
|
| diff --git a/components/webcrypto/nss/util_nss.cc b/components/webcrypto/nss/util_nss.cc
|
| index 5ded3828dd626feda57503e859b2844a5761a90f..784a98016caca92a2bbc68e4f8ad4a0c0659b857 100644
|
| --- a/components/webcrypto/nss/util_nss.cc
|
| +++ b/components/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
|
| @@ -42,7 +42,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;
|
|
|