remove SHA-512 code, use libgcrypt implementation
[oweals/gnunet.git] / src / dht / test_dht_multipeer.c
index 60b2de6f27ff26ebc12f897e417e553ac4c49b4d..65eb213e26697c456dc9f09ffd8667a1e6aa588f 100644 (file)
@@ -28,7 +28,7 @@
 #include "gnunet_dht_service.h"
 
 /* DEFINES */
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
 
 /* Timeout for entire testcase */
 #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5)
@@ -394,7 +394,7 @@ void get_result_iterator (void *cls,
                           const struct GNUNET_PeerIdentity * const *get_path,
                          const struct GNUNET_PeerIdentity * const *put_path,
                          enum GNUNET_BLOCK_Type type,
-                          uint32_t size,
+                          size_t size,
                           const void *data)
 {
   struct TestGetContext *test_get = cls;
@@ -450,7 +450,7 @@ do_get (void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc)
   outstanding_gets++;
   test_get->get_handle = GNUNET_DHT_get_start(test_get->dht_handle,
                                               GNUNET_TIME_UNIT_FOREVER_REL,
-                                              1 /* FIXME: use real type */,
+                                              GNUNET_BLOCK_TYPE_TEST,
                                               &key,
                                              GNUNET_DHT_RO_NONE,
                                              NULL, 0,
@@ -521,7 +521,7 @@ do_put (void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc)
   GNUNET_DHT_put(test_put->dht_handle,
                  &key,
                 GNUNET_DHT_RO_NONE,
-                 1 /* FIXME: use real type */,
+                 GNUNET_BLOCK_TYPE_TEST,
                  sizeof(data), data,
                  GNUNET_TIME_UNIT_FOREVER_ABS,
                  GNUNET_TIME_UNIT_FOREVER_REL,