]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
* testsuite/blowfish-test.m4: Fixed test.
authorNiels Möller <nisse@lysator.liu.se>
Sat, 16 Jun 2001 17:58:39 +0000 (19:58 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 16 Jun 2001 17:58:39 +0000 (19:58 +0200)
Rev: src/nettle/testsuite/blowfish-test.m4:1.4

testsuite/blowfish-test.m4

index 3326a613b8e9d892f466d4bac852d69d95cb2683..0c6157af65485c555fa04e69632f40f869973c8e 100644 (file)
@@ -15,7 +15,7 @@ if (!MEMEQ(BLOWFISH_BLOCK_SIZE, cipher, H("32 4E D0 FE F4 13 A2 03")))
   FAIL;
 
 blowfish_decrypt(&ctx, BLOWFISH_BLOCK_SIZE, clear, cipher);
-if (!MEMEQ(16, "BLOWFISH", clear))
+if (!MEMEQ(BLOWFISH_BLOCK_SIZE, "BLOWFISH", clear))
   FAIL;
 
 /* FIXME: All values below are bogus. */