Skip to content

Commit

Permalink
Fix Unit test PathSubjectThumbprintHash/CertInfoTest.CertInfo/0 fails
Browse files Browse the repository at this point in the history
The sha1 certificate is outdated. Since we cannot get a new one issued, passing `false` for `check_cert_is_valid_now`
  • Loading branch information
sorinj committed Jan 26, 2023
1 parent a8f00f2 commit 4839547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omaha/base/signaturevalidator_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ TEST_P(CertInfoTest, CertInfo) {
subject,
CString(),
CString(),
true); // Check if the certificate is valid now.
/*check_cert_is_valid_now*/ false);
ASSERT_TRUE(cert_info);

EXPECT_STREQ(GetParam().subject_name, cert_info->issuing_company_name_);
Expand Down

0 comments on commit 4839547

Please sign in to comment.