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

Side by Side Diff: net/cert/sha256_legacy_support_win.h

Issue 686883002: Add crypto/wincrypt_shim.h wrapper header to resolve BoringSSL conflicts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sleevi comments Created 6 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 unified diff | Download patch
« no previous file with comments | « net/cert/cert_verify_proc_win.cc ('k') | net/cert/sha256_legacy_support_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_CERT_SHA256_LEGACY_SUPPORT_WIN_H_ 5 #ifndef NET_CERT_SHA256_LEGACY_SUPPORT_WIN_H_
6 #define NET_CERT_SHA256_LEGACY_SUPPORT_WIN_H_ 6 #define NET_CERT_SHA256_LEGACY_SUPPORT_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <wincrypt.h>
10 9
10 #include "crypto/wincrypt_shim.h"
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 namespace sha256_interception { 15 namespace sha256_interception {
16 16
17 typedef BOOL (WINAPI* CryptVerifyCertificateSignatureExFunc)( 17 typedef BOOL (WINAPI* CryptVerifyCertificateSignatureExFunc)(
18 HCRYPTPROV_LEGACY provider, 18 HCRYPTPROV_LEGACY provider,
19 DWORD encoding_type, 19 DWORD encoding_type,
20 DWORD subject_type, 20 DWORD subject_type,
(...skipping 18 matching lines...) Expand all
39 DWORD issuer_type, 39 DWORD issuer_type,
40 void* issuer_data, 40 void* issuer_data,
41 DWORD flags, 41 DWORD flags,
42 void* extra); 42 void* extra);
43 43
44 } // namespace sha256_interception 44 } // namespace sha256_interception
45 45
46 } // namespace net 46 } // namespace net
47 47
48 #endif // NET_CERT_SHA256_LEGACY_SUPPORT_WIN_H_ 48 #endif // NET_CERT_SHA256_LEGACY_SUPPORT_WIN_H_
OLDNEW
« no previous file with comments | « net/cert/cert_verify_proc_win.cc ('k') | net/cert/sha256_legacy_support_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698