Adjusted malformed reference handling so a digest length mismatch (or missing digest data) returns AMDUAT_ASL_STORE_ERR_INTEGRITY instead of AMDUAT_ASL_STORE_ERR_UNSUPPORTED in asl_store_fs.c
This commit is contained in:
parent
24ad51ff46
commit
3dda32b62c
|
|
@ -529,7 +529,7 @@ static amduat_asl_store_error_t amduat_asl_store_fs_get_impl(
|
|||
}
|
||||
if (ref.digest.len != hash_desc->digest_len ||
|
||||
(ref.digest.len != 0u && ref.digest.data == NULL)) {
|
||||
return AMDUAT_ASL_STORE_ERR_UNSUPPORTED;
|
||||
return AMDUAT_ASL_STORE_ERR_INTEGRITY;
|
||||
}
|
||||
|
||||
objects_path = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue