remove SHA-512 code, use libgcrypt implementation
[oweals/gnunet.git] / src / hello / test_hello.c
index eaaa29d6875ea39481a45de376249c2729a1b1ad..c6e84047256911d3130e0b6764c0212154d0b528 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
@@ -53,7 +53,7 @@ static int
 check_addr (void *cls,
             const char *tname,
             struct GNUNET_TIME_Absolute expiration,
-            const void *addr, size_t addrlen)
+            const void *addr, uint16_t addrlen)
 {
   unsigned int *i = cls;
 
@@ -74,7 +74,7 @@ static int
 remove_some (void *cls,
              const char *tname,
              struct GNUNET_TIME_Absolute expiration,
-             const void *addr, size_t addrlen)
+             const void *addr, uint16_t addrlen)
 {
   unsigned int *i = cls;