fix
[oweals/gnunet.git] / src / util / test_crypto_random.c
index e237c14a4158939afcdacd1fd62788b19de0de39..3b86ececd90db3d76f6945b152aedadebeda3cf4 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
@@ -42,16 +42,16 @@ test (enum GNUNET_CRYPTO_Quality mode)
     {
       b2 = GNUNET_CRYPTO_random_permute (mode, 1024);
       if (0 == memcmp (b2, buf, sizeof (buf)))
-        {
-          fprintf (stderr, "!");
-          GNUNET_free (b2);
-          continue;
-        }
+       {
+         fprintf (stderr, "!");
+         GNUNET_free (b2);
+         continue;
+       }
       GNUNET_free (b2);
       break;
     }
   if (i == 10)
-    return 1;                   /* virtually impossible... */
+    return 1;                  /* virtually impossible... */
 
   for (n = 10; n < 1024LL * 1024LL * 1024LL; n *= 10)
     GNUNET_break (n > GNUNET_CRYPTO_random_u64 (mode, n));