From 4fc4d324541cd422241d173f306089ce48a20462 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Sun, 27 Jul 2025 04:31:41 +0000 Subject: [PATCH] x509-cert: converting from systemtime should use utctime if date <= 2049 --- x509-cert/src/time.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x509-cert/src/time.rs b/x509-cert/src/time.rs index ef5bb89bf..fde40bcd0 100644 --- a/x509-cert/src/time.rs +++ b/x509-cert/src/time.rs @@ -142,7 +142,9 @@ impl TryFrom for Time { type Error = der::Error; fn try_from(time: SystemTime) -> der::Result