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

Unified Diff: net/http/des.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 | « net/cert/x509_util_nss.cc ('k') | net/net_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/des.cc
diff --git a/net/http/des.cc b/net/http/des.cc
index daac8a474d2fa4728ab22bf5d090e797f627018f..17aae4da684b2a04c676eb75f7e4896fdbf2ca9b 100644
--- a/net/http/des.cc
+++ b/net/http/des.cc
@@ -9,7 +9,7 @@
#if defined(USE_OPENSSL)
#include <openssl/des.h>
#include "crypto/openssl_util.h"
-#elif defined(USE_NSS)
+#elif defined(USE_NSS_CERTS)
#include <nss.h>
#include <pk11pub.h>
#include "crypto/nss_util.h"
@@ -100,7 +100,7 @@ void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) {
reinterpret_cast<DES_cblock*>(hash), &ks, DES_ENCRYPT);
}
-#elif defined(USE_NSS)
+#elif defined(USE_NSS_CERTS)
void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) {
CK_MECHANISM_TYPE cipher_mech = CKM_DES_ECB;
« no previous file with comments | « net/cert/x509_util_nss.cc ('k') | net/net_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698