Skip to content

Commit 51f5787

Browse files
committed
tests: update vendored end-entity cert test data
* Runs `update_valid_ee_certs.rs`, committing the two updated `.crt` files that result. * Updates the `verification_time()` to the current time to avoid not before errors.
1 parent c570413 commit 51f5787

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

rustls-platform-verifier/src/tests/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ pub fn assert_cert_error_eq<E: StdError + PartialEq + 'static>(
5858
/// we know the test certificates are valid. This must be updated if the mock certificates
5959
/// are regenerated.
6060
pub(crate) fn verification_time() -> pki_types::UnixTime {
61-
// Saturday, April 27, 2024 18:28:07 UTC
62-
pki_types::UnixTime::since_unix_epoch(Duration::from_secs(1_714_242_489))
61+
// Saturday, July 13, 2024 19:24:40 UTC
62+
pki_types::UnixTime::since_unix_epoch(Duration::from_secs(1_720_898_680))
6363
}
6464

6565
fn ensure_global_state() {

0 commit comments

Comments
 (0)