diff options
| author | Gary Lin <glin@suse.com> | 2018-12-19 11:27:42 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2020-07-23 20:52:12 -0400 |
| commit | 7a3638173e406ce7cbd682213606e3152244fcb2 (patch) | |
| tree | 86b1c12d90cd6622d31d88308c9c45b392bfac19 /Cryptlib/Cryptlib.diff | |
| parent | ff6e5cda136c8fd637d3d6b8334f4f221ba2b1ee (diff) | |
| download | efi-boot-shim-7a3638173e406ce7cbd682213606e3152244fcb2.tar.gz efi-boot-shim-7a3638173e406ce7cbd682213606e3152244fcb2.zip | |
shim: only include shim_cert.h in shim.c
The shim_cert array was declared as a static array, and every user of
shim_cert.h would create a shim_cert array for its own and grow the file
size. To remove the unnecessary duplicate shim_cert arrays, this commit
declares shim_cert in shim.c while other users still can access the
array through the external variables: build_cert and build_cert_size.
Signed-off-by: Gary Lin <glin@suse.com>
Upstream-commit-id: 4e2d62f0f4e
Diffstat (limited to 'Cryptlib/Cryptlib.diff')
0 files changed, 0 insertions, 0 deletions
