Subversion Repositories lsh

Compare Revisions

Ignore whitespace Rev 85 → Rev 90

/trunk/debian/patches/series
7,3 → 7,4
terminate-on-connection-failure.patch
ipv6-v6only.patch
testsuite-mini-inetd-localhost.patch
serpent-byteorder.patch
/trunk/debian/patches/serpent-byteorder.patch
0,0 → 1,31
Author: Niels Möller <nisse@lysator.liu.se>
Description: Correct Serpent test case that depended on broken Serpent implementation in Nettle < 2.2
Origin: upstream, http://cvs.lysator.liu.se/viewcvs/viewcvs.cgi/lsh/src/testsuite/serpent-test.c?root=lsh&r1=1.1&r2=1.2
 
===================================================================
RCS file: /cvsroot/lsh/lsh/src/testsuite/serpent-test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lsh/src/testsuite/serpent-test.c 2002/03/05 11:55:41 1.1
+++ lsh/src/testsuite/serpent-test.c 2011/05/02 12:54:26 1.2
@@ -1,5 +1,8 @@
#include "testutils.h"
+/* Note: In Nettle up to version 2.1, the serpent implementation did
+ some broken byte reversal on input and output. This testcase will
+ fail with old versions of nettle. */
int
test_main(void)
{
@@ -8,8 +11,8 @@
"0011223344556677 8899AABBCCDDEEFF"),
H("0000000000000000 0000000000000000"
"1111111111111111 1111111111111111"),
- H("687a151886b6dc16 8d2b667c3b8d5226"
- "e63a6c8b3009859c 8ee559565befb77e"),
+ H("c170ed586cfda8fe 084f01ef04475883"
+ "b9eb25819813023f 2938e97bdf4597c8"),
H("0011223344556677 8899AABBCCDDEEFF"));
SUCCESS();
}