summaryrefslogtreecommitdiff
path: root/package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha256_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha256_c')
-rw-r--r--package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha256_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha256_c b/package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha256_c
new file mode 100644
index 000000000..f9676e392
--- /dev/null
+++ b/package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha256_c
@@ -0,0 +1,11 @@
+--- grub-1.98.orig/lib/libgcrypt-grub/cipher/sha256.c 2010-03-06 21:52:26.000000000 +0100
++++ grub-1.98/lib/libgcrypt-grub/cipher/sha256.c 2010-06-26 20:24:00.135274844 +0200
+@@ -150,7 +150,7 @@ transform (SHA256_CONTEXT *hd, const uns
+ h = hd->h7;
+
+ #ifdef WORDS_BIGENDIAN
+- memcpy (x, data, 64);
++ grub_memcpy (x, data, 64);
+ #else
+ {
+ byte *p2;