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

Unified Diff: net/cert/x509_util_unittest.cc

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, 7 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 side-by-side diff with in-line comments
Download patch
« net/cert/crl_set_storage.cc ('K') | « net/cert/x509_util_openssl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/x509_util_unittest.cc
diff --git a/net/cert/x509_util_unittest.cc b/net/cert/x509_util_unittest.cc
index 716f61e59125584a849852ab584d7a70d6eb165e..abce23a869c8fbbf5c893791c85017aae5cc5240 100644
--- a/net/cert/x509_util_unittest.cc
+++ b/net/cert/x509_util_unittest.cc
@@ -79,7 +79,7 @@ TEST(X509UtilTest, CreateKeyAndSelfSigned) {
// This test creates a self-signed cert from a private key and then verifies the
// content of the certificate.
TEST(X509UtilTest, CreateSelfSigned) {
- const uint8 private_key_info[] = {
+ const uint8_t private_key_info[] = {
0x30, 0x82, 0x02, 0x78, 0x02, 0x01, 0x00, 0x30,
0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7,
0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x04, 0x82,
@@ -162,7 +162,7 @@ TEST(X509UtilTest, CreateSelfSigned) {
0xb1, 0xc5, 0x15, 0xf3
};
- std::vector<uint8> input;
+ std::vector<uint8_t> input;
input.resize(sizeof(private_key_info));
memcpy(&input.front(), private_key_info, sizeof(private_key_info));
« net/cert/crl_set_storage.cc ('K') | « net/cert/x509_util_openssl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698