sbsiglist: Fix SignatureSize
We need to allow for the GUID in EFI_SIGNATURE_DATA too. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
parent
9389752741
commit
541beab7ce
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ static int siglist_create(struct siglist_context *ctx)
|
|||
siglist->SignatureType = ctx->type->guid;
|
||||
siglist->SignatureListSize = size;
|
||||
siglist->SignatureHeaderSize = 0;
|
||||
siglist->SignatureSize = ctx->data_len;
|
||||
siglist->SignatureSize = ctx->data_len + sizeof(*sigdata);
|
||||
|
||||
sigdata->SignatureOwner = ctx->owner;
|
||||
|
||||
|
|
Loading…
Reference in a new issue