patch-lib_libgcrypt-grub_cipher_sha1_c 391 B

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