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

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

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 6 months 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_X509_CERTIFICATE_KNOWN_ROOTS_WIN_H_ 5 #ifndef NET_CERT_X509_CERTIFICATE_KNOWN_ROOTS_WIN_H_
6 #define NET_CERT_X509_CERTIFICATE_KNOWN_ROOTS_WIN_H_ 6 #define NET_CERT_X509_CERTIFICATE_KNOWN_ROOTS_WIN_H_
7 7
8 // This is a union of Microsoft trust roots over time, from 29 April 8 // This is a union of Microsoft trust roots over time, from 29 April
9 // 2013 through 15 May 2015. 9 // 2013 through 15 May 2015.
10 // 10 //
11 // Extracted from 11 // Extracted from
12 // http://www.download.windowsupdate.com/msdownload/update/v3/ 12 // http://www.download.windowsupdate.com/msdownload/update/v3/
13 // static/trustedr/en/authrootstl.cab 13 // static/trustedr/en/authrootstl.cab
14 // 14 //
15 // Note that these *are not* trust anchors for Chromium. They are only used to 15 // Note that these *are not* trust anchors for Chromium. They are only used to
16 // distinguish `real' root CAs from roots that were user-installed. 16 // distinguish `real' root CAs from roots that were user-installed.
17 static uint8 kKnownRootCertSHA1Hashes[][20] = { 17 static uint8_t kKnownRootCertSHA1Hashes[][20] = {
18 {0x00, 0x48, 0xf8, 0xd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0x60, 0x78,
27 0x57, 0x69, 0x4d, 0xf5, 0xe4, 0x5b, 0x68, 0x85, 0x18, 0x68}, 27 0x57, 0x69, 0x4d, 0xf5, 0xe4, 0x5b, 0x68, 0x85, 0x18, 0x68},
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 0xeb, 0x75, 0xce, 0x23, 0x43, 0x6b, 0xbc, 0xc7, 0x46, 0xeb}, 833 0xeb, 0x75, 0xce, 0x23, 0x43, 0x6b, 0xbc, 0xc7, 0x46, 0xeb},
834 {0xfe, 0x45, 0x65, 0x9b, 0x79, 0x03, 0x5b, 0x98, 0xa1, 0x61, 834 {0xfe, 0x45, 0x65, 0x9b, 0x79, 0x03, 0x5b, 0x98, 0xa1, 0x61,
835 0xb5, 0x51, 0x2e, 0xac, 0xda, 0x58, 0x09, 0x48, 0x22, 0x4d}, 835 0xb5, 0x51, 0x2e, 0xac, 0xda, 0x58, 0x09, 0x48, 0x22, 0x4d},
836 {0xfe, 0xb8, 0xc4, 0x32, 0xdc, 0xf9, 0x76, 0x9a, 0xce, 0xae, 836 {0xfe, 0xb8, 0xc4, 0x32, 0xdc, 0xf9, 0x76, 0x9a, 0xce, 0xae,
837 0x3d, 0xd8, 0x90, 0x8f, 0xfd, 0x28, 0x86, 0x65, 0x64, 0x7d}, 837 0x3d, 0xd8, 0x90, 0x8f, 0xfd, 0x28, 0x86, 0x65, 0x64, 0x7d},
838 {0xff, 0xb7, 0xe0, 0x8f, 0x66, 0xe1, 0xd0, 0xc2, 0x58, 0x2f, 838 {0xff, 0xb7, 0xe0, 0x8f, 0x66, 0xe1, 0xd0, 0xc2, 0x58, 0x2f,
839 0x02, 0x45, 0xc4, 0x97, 0x02, 0x92, 0xa4, 0x6e, 0x88, 0x03}, 839 0x02, 0x45, 0xc4, 0x97, 0x02, 0x92, 0xa4, 0x6e, 0x88, 0x03},
840 }; 840 };
841 841
842 #endif // NET_CERT_X509_CERTIFICATE_KNOWN_ROOTS_WIN_H_ 842 #endif // NET_CERT_X509_CERTIFICATE_KNOWN_ROOTS_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698