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),