summaryrefslogtreecommitdiffstats
path: root/net/http/des.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/des.cc')
-rw-r--r--net/http/des.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/http/des.cc b/net/http/des.cc
index 9e56a70..0ca12b9 100644
--- a/net/http/des.cc
+++ b/net/http/des.cc
@@ -4,7 +4,7 @@
#include "net/http/des.h"
-#if defined(OS_LINUX)
+#if defined(USE_NSS)
#include <nss.h>
#include <pk11pub.h>
#elif defined(OS_MACOSX)
@@ -15,7 +15,7 @@
#endif
#include "base/logging.h"
-#if defined(OS_LINUX)
+#if defined(USE_NSS)
#include "base/nss_util.h"
#endif
@@ -85,7 +85,7 @@ void DESMakeKey(const uint8* raw, uint8* key) {
key[7] = DESSetKeyParity((raw[6] << 1));
}
-#if defined(OS_LINUX)
+#if defined(USE_NSS)
void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) {
CK_MECHANISM_TYPE cipher_mech = CKM_DES_ECB;