diff options
author | Tobin Feldman-Fitzthum <tobin@linux.ibm.com> | 2024-06-26 18:42:45 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-04 16:09:56 +0000 |
commit | cdffb638c85da87f6b9d61194513a24cd6a73c6a (patch) | |
tree | b9783ae9c64b3880c178d28f0ccfce4ee02b3df4 /OvmfPkg/OvmfPkgX64.dsc | |
parent | 4e36bed8128f67fc73f41acb1beaffd77ef76e90 (diff) | |
download | edk2-cdffb638c85da87f6b9d61194513a24cd6a73c6a.tar.gz edk2-cdffb638c85da87f6b9d61194513a24cd6a73c6a.tar.bz2 edk2-cdffb638c85da87f6b9d61194513a24cd6a73c6a.zip |
AmdSev: enable kernel hashes without initrd
If kernel hashes are enabled but no initrd is provided,
QEMU will still create an entry in the hash table, but it
will be the hash of an empty buffer.
Remove the explicit check for the length of the blob.
This logic will be handled by the later hash comparison,
which will still fail when the blob is not present
but is expected, but will pass when the blob is not present
and the hash table contains a hash of an empty buffer.
Signed-off-by: Tobin Feldman-Fitzthum <tobin@linux.ibm.com>
Diffstat (limited to 'OvmfPkg/OvmfPkgX64.dsc')
0 files changed, 0 insertions, 0 deletions