You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (spdm_request->header.spdm_version >= SPDM_MESSAGE_VERSION_13) {
/*And the bit[0~3] of request_attribute must be 0.*/
if ((request_attribute & SPDM_SET_CERTIFICATE_REQUEST_SLOT_ID_MASK) != 0) {
return LIBSPDM_STATUS_INVALID_PARAMETER;
}
is incorrect as the send buffer has already been acquired. This check needs to be before the send buffer has been acquired.
Param1
is set inlibspdm/library/spdm_requester_lib/libspdm_req_set_certificate.c
Lines 118 to 139 in 883c31e
Erase
is not set. In such a caseParam1
is just the slot ID, which ignores the certificate model field.The text was updated successfully, but these errors were encountered: