summaryrefslogtreecommitdiff
path: root/package/grub/patches/patch-lib_libgcrypt-grub_cipher_sha1_c
blob: b04764bb823e211d5714e17f4f65a661b3d66254 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- grub-1.98.orig/lib/libgcrypt-grub/cipher/sha1.c	2010-03-06 21:52:26.000000000 +0100
+++ grub-1.98/lib/libgcrypt-grub/cipher/sha1.c	2010-06-26 20:23:50.135168960 +0200
@@ -114,7 +114,7 @@ transform (SHA1_CONTEXT *hd, const unsig
   for ( ;nblocks; nblocks--)
     {
 #ifdef WORDS_BIGENDIAN
-      memcpy (x, data, 64);
+      grub_memcpy (x, data, 64);
       data += 64;
 #else
       {