summaryrefslogtreecommitdiff
path: root/package/grub/patches/patch-lib_libgcrypt-grub_cipher_serpent_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-26 22:14:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-26 22:14:44 +0200
commit1143ead360fb043f43388d727e710f358702bc9a (patch)
treef0887c25a9e77521d146c402ef2dd6d960537be8 /package/grub/patches/patch-lib_libgcrypt-grub_cipher_serpent_c
parentebf1950d0cefc445715925286a3977e887fa1388 (diff)
parentb4427c591b463255c34994b17db3655b1e9d6c3e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/grub/patches/patch-lib_libgcrypt-grub_cipher_serpent_c')
-rw-r--r--package/grub/patches/patch-lib_libgcrypt-grub_cipher_serpent_c20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/grub/patches/patch-lib_libgcrypt-grub_cipher_serpent_c b/package/grub/patches/patch-lib_libgcrypt-grub_cipher_serpent_c
new file mode 100644
index 000000000..7c99e23ad
--- /dev/null
+++ b/package/grub/patches/patch-lib_libgcrypt-grub_cipher_serpent_c
@@ -0,0 +1,20 @@
+--- grub-1.98.orig/lib/libgcrypt-grub/cipher/serpent.c 2010-03-06 21:52:26.000000000 +0100
++++ grub-1.98/lib/libgcrypt-grub/cipher/serpent.c 2010-06-26 20:29:51.523275940 +0200
+@@ -917,7 +917,7 @@ serpent_test (void)
+ (const u32 *) test_data[i].text_plain,
+ (u32 *) scratch);
+
+- if (memcmp (scratch, test_data[i].text_cipher, sizeof (serpent_block_t)))
++ if (grub_memcmp (scratch, test_data[i].text_cipher, sizeof (serpent_block_t)))
+ switch (test_data[i].key_length)
+ {
+ case 16:
+@@ -931,7 +931,7 @@ serpent_test (void)
+ serpent_decrypt_internal (&context,
+ (const u32 *) test_data[i].text_cipher,
+ (u32 *) scratch);
+- if (memcmp (scratch, test_data[i].text_plain, sizeof (serpent_block_t)))
++ if (grub_memcmp (scratch, test_data[i].text_plain, sizeof (serpent_block_t)))
+ switch (test_data[i].key_length)
+ {
+ case 16: