Skip to content

Commit

Permalink
tests: regenerate verification_mock data
Browse files Browse the repository at this point in the history
Commits the result of running `src/tests/verification_mock/ca.go`.

The `root1.crt` CA and intermediate expired and were breaking tests in
CI.
  • Loading branch information
cpu authored and complexspaces committed Aug 6, 2024
1 parent 3edb4d2 commit 6554924
Show file tree
Hide file tree
Showing 18 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rustls-platform-verifier/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ pub fn assert_cert_error_eq<E: StdError + PartialEq + 'static>(
/// we know the test certificates are valid. This must be updated if the mock certificates
/// are regenerated.
pub(crate) fn verification_time() -> pki_types::UnixTime {
// Saturday, July 13, 2024 19:24:40 UTC
pki_types::UnixTime::since_unix_epoch(Duration::from_secs(1_720_898_680))
// Monday, August 5th, 2024 19:50:24 UTC
pki_types::UnixTime::since_unix_epoch(Duration::from_secs(1_722_887_424))
}

fn ensure_global_state() {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified rustls-platform-verifier/src/tests/verification_mock/root1.crt
Binary file not shown.

0 comments on commit 6554924

Please sign in to comment.