summaryrefslogtreecommitdiffstats
path: root/net/cert/test_root_certs.h
diff options
context:
space:
mode:
authordavidben <davidben@chromium.org>2014-10-29 17:39:38 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-30 00:40:05 +0000
commitc6ac2609dd032e468440cd4f7f86770b4cb9774d (patch)
tree629420f416f2b4c183a5aa3048b040b5919c7ffc /net/cert/test_root_certs.h
parent6fdf39c8fcf627270840b321cf329d53ab7261d1 (diff)
downloadchromium_src-c6ac2609dd032e468440cd4f7f86770b4cb9774d.zip
chromium_src-c6ac2609dd032e468440cd4f7f86770b4cb9774d.tar.gz
chromium_src-c6ac2609dd032e468440cd4f7f86770b4cb9774d.tar.bz2
Add crypto/wincrypt_shim.h wrapper header to resolve BoringSSL conflicts.
wincrypt.h defines macros that conflict with BoringSSL. Introduce a crypto/wincrypt_shim.h wrapper header which #undefs those macros and instead #defines replacement ones. All Chromium headers should use this wrapper header. BUG=338884 Review URL: https://codereview.chromium.org/686883002 Cr-Commit-Position: refs/heads/master@{#301994}
Diffstat (limited to 'net/cert/test_root_certs.h')
-rw-r--r--net/cert/test_root_certs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/cert/test_root_certs.h b/net/cert/test_root_certs.h
index 84c163a..9d2cc2a 100644
--- a/net/cert/test_root_certs.h
+++ b/net/cert/test_root_certs.h
@@ -16,7 +16,7 @@
#include <vector>
#elif defined(OS_WIN)
#include <windows.h>
-#include <wincrypt.h>
+#include "crypto/wincrypt_shim.h"
#elif defined(OS_MACOSX)
#include <CoreFoundation/CFArray.h>
#include <Security/SecTrust.h>