Tell core that we want to have this packet delivered
[oweals/gnunet.git] / src / util / test_crypto_aes.c
index f876e417592feddf85713b668639814204e714d6..8dfaef732394c38a9b0cd6805decebde512b42dd 100644 (file)
@@ -4,7 +4,7 @@
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
-     by the Free Software Foundation; either version 2, or (at your
+     by the Free Software Foundation; either version 3, or (at your
      option) any later version.
 
      GNUnet is distributed in the hope that it will be useful, but
@@ -52,7 +52,7 @@ testSymcipher ()
     }
   size = GNUNET_CRYPTO_aes_decrypt (result, size,
                                     &key,
-                                   (const struct
+                                    (const struct
                                      GNUNET_CRYPTO_AesInitializationVector *)
                                     INITVALUE, res);
   if (strlen (TESTSTRING) + 1 != size)
@@ -89,7 +89,7 @@ verifyCrypto ()
   unsigned char encrresult[] =
     { 167, 102, 230, 233, 127, 195, 176, 107, 17, 91, 199, 127, 96, 113, 75,
     195, 245, 217, 61, 236, 159, 165, 103, 121, 203, 99, 202, 41, 23, 222, 25,
-    102, 1
+    102
   };
 
   res = NULL;
@@ -134,7 +134,7 @@ verifyCrypto ()
       GNUNET_CRYPTO_aes_decrypt (result,
                                  GNUNET_CRYPTO_AES_KEY_LENGTH,
                                  &key,
-                                (const struct
+                                 (const struct
                                   GNUNET_CRYPTO_AesInitializationVector *)
                                  "testtesttesttest", res))
     {