commit 573bc19b17cc0482e9408a1bf7187b53a46ea8ec
parent 69ae6aa8f54ce89c490c3285f55993e3309cd250
Author: mauricefisher64 <92736594+mauricefisher64@users.noreply.github.com>
Date: Thu, 13 Jun 2024 16:30:25 -0400
OCSP certificate should be valid at signing time (#481)
* OCSP certificate should be valid at signing time
* Test rolling back icu
* test override for dependency
* Update from main
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/src/cose_validator.rs b/sdk/src/cose_validator.rs
@@ -713,7 +713,7 @@ pub(crate) fn check_ocsp_status(
// if we get a valid response validate the certs
if ocsp_data.revoked_at.is_none() {
if let Some(ocsp_certs) = &ocsp_data.ocsp_certs {
- check_cert(&ocsp_certs[0], th, validation_log, None)?;
+ check_cert(&ocsp_certs[0], th, validation_log, Some(tst_info))?;
}
}
result = Ok(ocsp_data);