Index: net/cert/crl_set_unittest.cc |
diff --git a/net/cert/crl_set_unittest.cc b/net/cert/crl_set_unittest.cc |
index 4f74c29e4d4246e1f9bf5a0a38322abb8c850aac..6e154d3e5ce37d1657978e37db8ff19d1948f360 100644 |
--- a/net/cert/crl_set_unittest.cc |
+++ b/net/cert/crl_set_unittest.cc |
@@ -10,7 +10,7 @@ namespace net { |
// These data blocks were generated using a lot of code that is still in |
// development. For now, if you need to update them, you have to contact agl. |
-static const uint8 kGIACRLSet[] = { |
+static const uint8_t kGIACRLSet[] = { |
0x60, 0x00, 0x7b, 0x22, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, |
0x30, 0x2c, 0x22, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, |
0x65, 0x22, 0x3a, 0x22, 0x43, 0x52, 0x4c, 0x53, 0x65, 0x74, 0x22, 0x2c, 0x22, |
@@ -35,7 +35,7 @@ static const uint8 kGIACRLSet[] = { |
0x00, 0x00, 0x1d, 0x77, |
}; |
-static const uint8 kNoopDeltaCRL[] = { |
+static const uint8_t kNoopDeltaCRL[] = { |
0xc3, 0x00, 0x7b, 0x22, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, |
0x30, 0x2c, 0x22, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, |
0x65, 0x22, 0x3a, 0x22, 0x43, 0x52, 0x4c, 0x53, 0x65, 0x74, 0x44, 0x65, 0x6c, |
@@ -55,7 +55,7 @@ static const uint8 kNoopDeltaCRL[] = { |
0x00, 0x04, 0x00, 0x00, 0xff, 0xff, 0x00, 0x01, 0x00, 0x01, |
}; |
-static const uint8 kAddCRLDelta[] = { |
+static const uint8_t kAddCRLDelta[] = { |
0xc3, 0x00, 0x7b, 0x22, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, |
0x30, 0x2c, 0x22, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, |
0x65, 0x22, 0x3a, 0x22, 0x43, 0x52, 0x4c, 0x53, 0x65, 0x74, 0x44, 0x65, 0x6c, |
@@ -80,7 +80,7 @@ static const uint8 kAddCRLDelta[] = { |
0x01, 0x30, 0x01, 0x31, 0x01, 0x32, |
}; |
-static const uint8 kRemoveCRLDelta[] = { |
+static const uint8_t kRemoveCRLDelta[] = { |
0xc3, 0x00, 0x7b, 0x22, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, |
0x30, 0x2c, 0x22, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, |
0x65, 0x22, 0x3a, 0x22, 0x43, 0x52, 0x4c, 0x53, 0x65, 0x74, 0x44, 0x65, 0x6c, |
@@ -100,7 +100,7 @@ static const uint8 kRemoveCRLDelta[] = { |
0x60, 0x02, 0x04, 0x00, 0x00, 0xff, 0xff, 0x00, 0x04, 0x00, 0x03, |
}; |
-static const uint8 kUpdateSerialsDelta[] = { |
+static const uint8_t kUpdateSerialsDelta[] = { |
0xc3, 0x00, 0x7b, 0x22, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, |
0x30, 0x2c, 0x22, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, |
0x65, 0x22, 0x3a, 0x22, 0x43, 0x52, 0x4c, 0x53, 0x65, 0x74, 0x44, 0x65, 0x6c, |
@@ -150,7 +150,7 @@ static const uint8 kUpdateSerialsDelta[] = { |
0xb0, |
}; |
-static const uint8 kBlockedSPKICRLSet[] = { |
+static const uint8_t kBlockedSPKICRLSet[] = { |
0x8e, 0x00, 0x7b, 0x22, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, |
0x30, 0x2c, 0x22, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, |
0x65, 0x22, 0x3a, 0x22, 0x43, 0x52, 0x4c, 0x53, 0x65, 0x74, 0x22, 0x2c, 0x22, |
@@ -165,7 +165,7 @@ static const uint8 kBlockedSPKICRLSet[] = { |
0x7d, |
}; |
-static const uint8 kExpiredCRLSet[] = { |
+static const uint8_t kExpiredCRLSet[] = { |
0x6d, 0x00, 0x7b, 0x22, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, |
0x30, 0x2c, 0x22, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, |
0x65, 0x22, 0x3a, 0x22, 0x43, 0x52, 0x4c, 0x53, 0x65, 0x74, 0x22, 0x2c, 0x22, |
@@ -179,7 +179,7 @@ static const uint8 kExpiredCRLSet[] = { |
// kGIASPKISHA256 is the SHA256 digest the Google Internet Authority's |
// SubjectPublicKeyInfo. |
-static const uint8 kGIASPKISHA256[32] = { |
+static const uint8_t kGIASPKISHA256[32] = { |
0xb6, 0xb9, 0x54, 0x32, 0xab, 0xae, 0x57, 0xfe, 0x02, 0x0c, 0xb2, 0xb7, 0x4f, |
0x4f, 0x9f, 0x91, 0x73, 0xc8, 0xc7, 0x08, 0xaf, 0xc9, 0xe7, 0x32, 0xac, 0xe2, |
0x32, 0x79, 0x04, 0x7c, 0x6d, 0x05, |
@@ -307,7 +307,7 @@ TEST(CRLSetTest, BlockedSPKIs) { |
EXPECT_TRUE(CRLSetStorage::Parse(s, &set)); |
ASSERT_TRUE(set.get() != NULL); |
- const uint8 spki_hash[] = { |
+ const uint8_t spki_hash[] = { |
227, 176, 196, 66, 152, 252, 28, 20, 154, 251, 244, 200, 153, 111, 185, 36, |
39, 174, 65, 228, 100, 155, 147, 76, 164, 149, 153, 27, 120, 82, 184, 85, |
0, |