Avi Drissman | 4a8573c | 2022-09-09 19:35:54 | [diff] [blame] | 1 | // Copyright 2017 The Chromium Authors |
mattm | 2fe429a | 2017-06-20 01:53:44 | [diff] [blame] | 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 want to include cryptuiapi should instead include this header. |
| 12 | |
Takuto Ikuta | c8d6b16f | 2024-04-15 16:59:19 | [diff] [blame] | 13 | #include <cryptuiapi.h> |
| 14 | |
Daniel Bratell | b2612e1 | 2018-10-05 19:56:11 | [diff] [blame] | 15 | #include "base/win/wincrypt_shim.h" |
mattm | 2fe429a | 2017-06-20 01:53:44 | [diff] [blame] | 16 | |
| 17 | #endif // CHROME_BROWSER_UI_CRYPTUIAPI_SHIM_H_ |