1
0

patch-lib_libgcrypt-grub_cipher_whirlpool_c 513 B

1234567891011
  1. --- grub-1.98.orig/lib/libgcrypt-grub/cipher/whirlpool.c 2010-03-06 21:52:26.000000000 +0100
  2. +++ grub-1.98/lib/libgcrypt-grub/cipher/whirlpool.c 2010-06-26 20:17:35.043170089 +0200
  3. @@ -1381,7 +1381,7 @@ whirlpool_final (void *ctx)
  4. context->buffer[context->count++] = 0;
  5. /* Add length of message. */
  6. - memcpy (context->buffer + context->count, context->length, 32);
  7. + grub_memcpy (context->buffer + context->count, context->length, 32);
  8. context->count += 32;
  9. whirlpool_add (context, NULL, 0);