gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r27255 - gnunet/src/set


From: gnunet
Subject: [GNUnet-SVN] r27255 - gnunet/src/set
Date: Wed, 22 May 2013 14:46:38 +0200

Author: grothoff
Date: 2013-05-22 14:46:38 +0200 (Wed, 22 May 2013)
New Revision: 27255

Modified:
   gnunet/src/set/test_set_api.c
Log:
-nicer

Modified: gnunet/src/set/test_set_api.c
===================================================================
--- gnunet/src/set/test_set_api.c       2013-05-22 12:19:53 UTC (rev 27254)
+++ gnunet/src/set/test_set_api.c       2013-05-22 12:46:38 UTC (rev 27255)
@@ -153,6 +153,7 @@
   GNUNET_log (GNUNET_ERROR_TYPE_INFO, "initialized set 1\n");
 }
 
+
 /**
  * Signature of the 'main' function for a (single-peer) testcase that
  * is run using 'GNUNET_TESTING_peer_run'.
@@ -170,8 +171,7 @@
   static const char* app_str = "gnunet-set";
 
   config = cfg;
-  GNUNET_CRYPTO_hash (app_str, strlen (app_str), &app_id);
-  GNUNET_CRYPTO_get_host_identity (cfg, &local_id);
+  GNUNET_TESTING_peer_get_identity (peer, &local_id);
   set1 = GNUNET_SET_create (cfg, GNUNET_SET_OPERATION_UNION);
   set2 = GNUNET_SET_create (cfg, GNUNET_SET_OPERATION_UNION);
   init_set1 ();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]