Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Unified Diff: components/webcrypto/nss/util_nss.cc

Issue 1082123003: Rename USE_NSS to USE_NSS_CERTS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-nss-certs
Patch Set: rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/webcrypto/nss/rsa_hashed_algorithm_nss.cc ('k') | components/webcrypto/test/test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « components/webcrypto/nss/rsa_hashed_algorithm_nss.cc ('k') | components/webcrypto/test/test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698