diff --git a/test/spdmlib-test/src/common/util.rs b/test/spdmlib-test/src/common/util.rs index 02148b3..ac86afa 100644 --- a/test/spdmlib-test/src/common/util.rs +++ b/test/spdmlib-test/src/common/util.rs @@ -177,7 +177,7 @@ pub fn req_create_info() -> (SpdmConfigInfo, SpdmProvisionInfo) { Some(SpdmVersion::SpdmVersion10), Some(SpdmVersion::SpdmVersion11), Some(SpdmVersion::SpdmVersion12), - None, + Some(SpdmVersion::SpdmVersion13), ], req_capabilities: req_capabilities, req_ct_exponent: 0, diff --git a/test/spdmlib-test/src/responder_tests/version_rsp.rs b/test/spdmlib-test/src/responder_tests/version_rsp.rs index d6fb6fa..10ef6b0 100644 --- a/test/spdmlib-test/src/responder_tests/version_rsp.rs +++ b/test/spdmlib-test/src/responder_tests/version_rsp.rs @@ -80,6 +80,8 @@ fn test_case0_handle_spdm_version() { assert_eq!(payload.versions[1].version, SpdmVersion::SpdmVersion11); assert_eq!(payload.versions[2].update, 0); assert_eq!(payload.versions[2].version, SpdmVersion::SpdmVersion12); + assert_eq!(payload.versions[3].update, 0); + assert_eq!(payload.versions[3].version, SpdmVersion::SpdmVersion13); } }; executor::block_on(future);