test_multicast_multipeer: fix
authorxrs <xrs@mail36.net>
Sun, 12 Mar 2017 14:29:34 +0000 (15:29 +0100)
committerxrs <xrs@mail36.net>
Sun, 12 Mar 2017 14:29:34 +0000 (15:29 +0100)
src/multicast/test_multicast_multipeer.c

index cd928bf9f9218a5bd32b99eb40a4cc7283f00788..266c87a167107850561070aed492c7bcfb00d0bb 100644 (file)
@@ -345,7 +345,7 @@ multicast_ca (void *cls,
   else
   {
     // Get members keys
-    member_pub_key[mc_peer->peer] = GNUNET_new (struct GNUNET_CRYPTO_EddsaPublicKey);
+    member_pub_key[mc_peer->peer] = GNUNET_new (struct GNUNET_CRYPTO_EcdsaPublicKey);
     member_key[mc_peer->peer] = GNUNET_CRYPTO_ecdsa_key_create ();
     GNUNET_CRYPTO_ecdsa_key_get_public (member_key[mc_peer->peer], member_pub_key[mc_peer->peer]);
     
@@ -517,7 +517,7 @@ testbed_master (void *cls,
   GNUNET_SCHEDULER_add_shutdown (&shutdown_task, NULL); /* Schedule a new task on shutdown */
 
   /* Schedule the shutdown task with a delay of a few Seconds */
-  timeout_tid = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 48),
+  timeout_tid = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 60),
                                              &timeout_task, NULL);
 }