| Index: components/cast_certificate/cast_cert_validator_test_helpers.cc
|
| diff --git a/components/cast_certificate/cast_cert_validator_test_helpers.cc b/components/cast_certificate/cast_cert_validator_test_helpers.cc
|
| index 78c092b1e6ebcbdd58db013b0f52140a73537810..c6949088916be085e47dc0fc4e6ebf83e5f3669c 100644
|
| --- a/components/cast_certificate/cast_cert_validator_test_helpers.cc
|
| +++ b/components/cast_certificate/cast_cert_validator_test_helpers.cc
|
| @@ -86,6 +86,22 @@ SignatureTestData ReadSignatureTestData(const base::StringPiece& file_name) {
|
| return result;
|
| }
|
|
|
| +std::string ReadCRLFromFile(const base::StringPiece& file_name) {
|
| + std::string file_data = ReadTestFileToString(file_name);
|
| +
|
| + EXPECT_FALSE(file_data.empty());
|
| + return file_data;
|
| +}
|
| +
|
| +// Creates a time in UTC at midnight.
|
| +base::Time::Exploded CreateDate(int year, int month, int day) {
|
| + base::Time::Exploded time = {0};
|
| + time.year = year;
|
| + time.month = month;
|
| + time.day_of_month = day;
|
| + return time;
|
| +}
|
| +
|
| } // namespace testing
|
|
|
| } // namespace cast_certificate
|
|
|