diff options
| author | Chris Coulson <chris.coulson@canonical.com> | 2021-03-18 14:32:24 +0000 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-03-18 22:47:43 -0400 |
| commit | 3dd40ade68c6ff63e776b5f9acbd811a3c345d01 (patch) | |
| tree | 6995bc0f534432537376a5173a16992712c2bdab /lib/string.c | |
| parent | 937afbe9e63fa88d80b10874d682bf30776f4e71 (diff) | |
| download | efi-boot-shim-3dd40ade68c6ff63e776b5f9acbd811a3c345d01.tar.gz efi-boot-shim-3dd40ade68c6ff63e776b5f9acbd811a3c345d01.zip | |
Ensure that MOK variable mirroring creates well formed ESLs
The MOK variable mirroring makes use of variable_create_esl, which
can only create a well-formed EFI_SIGNATURE_LIST containing a single
signature. Fix fill_esl and variable_create_esl to support creating
a EFI_SIGNATURE_LIST with one or more supplied EFI_SIGNATURE_DATA
structures.
Introduce variable_create_esl_with_one_signature and
fill_esl_with_one_signature for code that does want to create a
EFI_SIGNATURE_LIST containing a single signature constructed from
a supplied signature data buffer and owner GUID.
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
