]> git.ipfire.org Git - thirdparty/grub.git/commit
libgcrypt: Declare the sha256 shaext function
authorGary Lin <glin@suse.com>
Wed, 22 Oct 2025 01:28:57 +0000 (09:28 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 23 Oct 2025 17:15:00 +0000 (19:15 +0200)
commit2158d8e8a7f1b34e874200a82617e53874bad899
tree6c7fbe1f2abe2eb1d917a3d807f229afb54043e6
parent0ff5faf8cd1a2bd9bda60620a1701b5da48ad803
libgcrypt: Declare the sha256 shaext function

There is no prototype of _gcry_sha256_transform_intel_shaext() defined
in the header or libgcrypt-grub/cipher/sha256.c, and gcc may complain
the missing-prototypes error when compiling sha256-intel-shaext.c.

Declare the prototype in sha256-intel-shaext.c to avoid the error.

Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
conf/Makefile.extra-dist
grub-core/lib/libgcrypt-patches/14_fix_build_shaext.patch [new file with mode: 0644]