From fa1b68d7654318c56714a3adf3a4248403e6b7e1 Mon Sep 17 00:00:00 2001 From: "Yang, Longlong" Date: Sun, 21 Jan 2024 22:48:41 -0500 Subject: [PATCH] fix test case after changed test_key. Signed-off-by: Yang, Longlong --- spdmlib/src/crypto/x509v3.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spdmlib/src/crypto/x509v3.rs b/spdmlib/src/crypto/x509v3.rs index 5794d3c..e4e679c 100644 --- a/spdmlib/src/crypto/x509v3.rs +++ b/spdmlib/src/crypto/x509v3.rs @@ -933,7 +933,7 @@ mod tests { SpdmBaseAsymAlgo::TPM_ALG_ECDSA_ECC_NIST_P384, false ), - Ok(460) + Ok(464) ); assert_eq!( check_tbs_certificate( @@ -941,7 +941,7 @@ mod tests { SpdmBaseAsymAlgo::TPM_ALG_ECDSA_ECC_NIST_P256, false ), - Ok(460) + Ok(464) ); assert_eq!( check_tbs_certificate( @@ -949,7 +949,7 @@ mod tests { SpdmBaseAsymAlgo::TPM_ALG_ECDSA_ECC_NIST_P384, true ), - Ok(460) + Ok(464) ); assert_eq!( check_tbs_certificate( @@ -1022,7 +1022,7 @@ mod tests { ); assert_eq!( check_cert_format(&c3, SpdmBaseAsymAlgo::TPM_ALG_ECDSA_ECC_NIST_P384), - Ok(583) + Ok(587) ); assert_eq!( check_cert_format(&c3, SpdmBaseAsymAlgo::TPM_ALG_ECDSA_ECC_NIST_P256),