OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_CRYPTUIAPI_SHIM_H_ | |
6 #define CHROME_BROWSER_UI_CRYPTUIAPI_SHIM_H_ | |
7 | |
8 // cryptuiapi.h includes wincrypt.h which defines macros which conflict with | |
9 // OpenSSL's types. This header includes cryptuiapi.h and then wincrypt_shim.h | |
10 // which undefines the OpenSSL macros which conflict. Any Chromium headers | |
11 // which include cryptuiapi should instead include this header. | |
Peter Kasting
2017/06/16 23:53:47
Nit: which include -> which want to include?
mattm
2017/06/19 22:19:39
Done.
| |
12 | |
13 #include <windows.h> | |
14 #include <cryptuiapi.h> | |
15 | |
16 #include "crypto/wincrypt_shim.h" | |
17 | |
18 #endif // CHROME_BROWSER_UI_CRYPTUIAPI_SHIM_H_ | |
OLD | NEW |