fix
authorNils Durner <durner@gnunet.org>
Fri, 2 Jul 2010 22:21:51 +0000 (22:21 +0000)
committerNils Durner <durner@gnunet.org>
Fri, 2 Jul 2010 22:21:51 +0000 (22:21 +0000)
src/util/test_crypto_hkdf.c

index 8cd0d5b4f7158901b60c534724ae4d826e255890..b8336236de1bb6d84fe36e77a9ad18f4662c736a 100644 (file)
@@ -98,7 +98,7 @@ tc2 ()
 void
 tc3 ()
 {
-  unsigned char ikm[80] = { 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b,
+  unsigned char ikm[22] = { 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b,
       0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b };
   unsigned char okm[42] = { 0x8d, 0xa4, 0xe7, 0x75, 0xa5, 0x63, 0xc1, 0x8f, 0x71, 0x5f,
       0x80, 0x2a, 0x06, 0x3c, 0x5a, 0x31, 0xb8, 0xa1, 0x1f, 0x5c, 0x5e, 0xe1,