diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-26 22:14:44 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-26 22:14:44 +0200 |
commit | 1143ead360fb043f43388d727e710f358702bc9a (patch) | |
tree | f0887c25a9e77521d146c402ef2dd6d960537be8 /package/grub/patches/patch-lib_libgcrypt-grub_cipher_whirlpool_c | |
parent | ebf1950d0cefc445715925286a3977e887fa1388 (diff) | |
parent | b4427c591b463255c34994b17db3655b1e9d6c3e (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/grub/patches/patch-lib_libgcrypt-grub_cipher_whirlpool_c')
-rw-r--r-- | package/grub/patches/patch-lib_libgcrypt-grub_cipher_whirlpool_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/grub/patches/patch-lib_libgcrypt-grub_cipher_whirlpool_c b/package/grub/patches/patch-lib_libgcrypt-grub_cipher_whirlpool_c new file mode 100644 index 000000000..a92518354 --- /dev/null +++ b/package/grub/patches/patch-lib_libgcrypt-grub_cipher_whirlpool_c @@ -0,0 +1,11 @@ +--- grub-1.98.orig/lib/libgcrypt-grub/cipher/whirlpool.c 2010-03-06 21:52:26.000000000 +0100 ++++ grub-1.98/lib/libgcrypt-grub/cipher/whirlpool.c 2010-06-26 20:17:35.043170089 +0200 +@@ -1381,7 +1381,7 @@ whirlpool_final (void *ctx) + context->buffer[context->count++] = 0; + + /* Add length of message. */ +- memcpy (context->buffer + context->count, context->length, 32); ++ grub_memcpy (context->buffer + context->count, context->length, 32); + context->count += 32; + whirlpool_add (context, NULL, 0); + |