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

Unified Diff: net/socket/ssl_client_socket_nss.cc

Issue 5162001: X.509-related cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build breakage Created 10 years, 1 month 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
Index: net/socket/ssl_client_socket_nss.cc
diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc
index 32343204fcecd53852a113dd061c8ca428059e4b..3d08b076308a75ea5d1299573a8dbe0d78a48b4a 100644
--- a/net/socket/ssl_client_socket_nss.cc
+++ b/net/socket/ssl_client_socket_nss.cc
@@ -50,9 +50,16 @@
#if defined(USE_SYSTEM_SSL)
#include <dlfcn.h>
#endif
-#if defined(OS_MACOSX)
+#if defined(OS_WIN)
+#include <windows.h>
+#include <wincrypt.h>
+#elif defined(OS_MACOSX)
+// <Security/Security.h> must be included before NSS due to conflicting
+// identifiers for cipher suites (Security.framework uses an enum, NSS uses a
wtc 2010/11/17 21:31:53 I believe the only conflicting identifier is SSL_N
Ryan Sleevi 2010/11/18 08:21:36 No, it's all the cipher suites that follow the sta
+// #define)
#include <Security/Security.h>
#endif
+
#include <certdb.h>
#include <hasht.h>
#include <keyhi.h>

Powered by Google App Engine
This is Rietveld 408576698