gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r29889 - in gnunet/src: consensus conversation include scal


From: gnunet
Subject: [GNUnet-SVN] r29889 - in gnunet/src: consensus conversation include scalarproduct set util
Date: Sun, 6 Oct 2013 11:35:52 +0200

Author: grothoff
Date: 2013-10-06 11:35:52 +0200 (Sun, 06 Oct 2013)
New Revision: 29889

Modified:
   gnunet/src/consensus/gnunet-service-consensus.c
   gnunet/src/conversation/conversation_api.c
   gnunet/src/conversation/gnunet-service-conversation.c
   gnunet/src/include/gnunet_crypto_lib.h
   gnunet/src/scalarproduct/gnunet-service-scalarproduct.c
   gnunet/src/set/gnunet-set-profiler.c
   gnunet/src/set/test_set_api.c
   gnunet/src/util/crypto_ecc.c
Log:
renaming GNUNET_CRYPTO_get_host_identity to GNUNET_CRYPTO_get_peer_identity

Modified: gnunet/src/consensus/gnunet-service-consensus.c
===================================================================
--- gnunet/src/consensus/gnunet-service-consensus.c     2013-10-06 09:35:14 UTC 
(rev 29888)
+++ gnunet/src/consensus/gnunet-service-consensus.c     2013-10-06 09:35:52 UTC 
(rev 29889)
@@ -1265,7 +1265,7 @@
 
   cfg = c;
   srv = server;
-  if (GNUNET_OK != GNUNET_CRYPTO_get_host_identity (cfg, &my_peer))
+  if (GNUNET_OK != GNUNET_CRYPTO_get_peer_identity (cfg, &my_peer))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "could not retrieve host identity\n");
     GNUNET_break (0);

Modified: gnunet/src/conversation/conversation_api.c
===================================================================
--- gnunet/src/conversation/conversation_api.c  2013-10-06 09:35:14 UTC (rev 
29888)
+++ gnunet/src/conversation/conversation_api.c  2013-10-06 09:35:52 UTC (rev 
29889)
@@ -415,7 +415,7 @@
     return NULL;
   phone = GNUNET_new (struct GNUNET_CONVERSATION_Phone);
   if (GNUNET_OK !=
-      GNUNET_CRYPTO_get_host_identity (cfg,
+      GNUNET_CRYPTO_get_peer_identity (cfg,
                                        &phone->my_record.peer))
   {
     GNUNET_break (0);

Modified: gnunet/src/conversation/gnunet-service-conversation.c
===================================================================
--- gnunet/src/conversation/gnunet-service-conversation.c       2013-10-06 
09:35:14 UTC (rev 29888)
+++ gnunet/src/conversation/gnunet-service-conversation.c       2013-10-06 
09:35:52 UTC (rev 29889)
@@ -1231,7 +1231,7 @@
 
   cfg = c;
   GNUNET_assert (GNUNET_OK ==
-                 GNUNET_CRYPTO_get_host_identity (cfg,
+                 GNUNET_CRYPTO_get_peer_identity (cfg,
                                                   &my_identity));
   mesh = GNUNET_MESH_connect (cfg,
                              NULL,

Modified: gnunet/src/include/gnunet_crypto_lib.h
===================================================================
--- gnunet/src/include/gnunet_crypto_lib.h      2013-10-06 09:35:14 UTC (rev 
29888)
+++ gnunet/src/include/gnunet_crypto_lib.h      2013-10-06 09:35:52 UTC (rev 
29889)
@@ -982,7 +982,7 @@
  *         could not be retrieved
  */
 int
-GNUNET_CRYPTO_get_host_identity (const struct GNUNET_CONFIGURATION_Handle *cfg,
+GNUNET_CRYPTO_get_peer_identity (const struct GNUNET_CONFIGURATION_Handle *cfg,
                                  struct GNUNET_PeerIdentity *dst);
 
 

Modified: gnunet/src/scalarproduct/gnunet-service-scalarproduct.c
===================================================================
--- gnunet/src/scalarproduct/gnunet-service-scalarproduct.c     2013-10-06 
09:35:14 UTC (rev 29888)
+++ gnunet/src/scalarproduct/gnunet-service-scalarproduct.c     2013-10-06 
09:35:52 UTC (rev 29889)
@@ -2171,7 +2171,7 @@
                                    &handle_client_disconnect,
                                    NULL);
   GNUNET_break (GNUNET_OK ==
-                GNUNET_CRYPTO_get_host_identity (c,
+                GNUNET_CRYPTO_get_peer_identity (c,
                                                  &me));
   my_mesh = GNUNET_MESH_connect (c, NULL,
                                  &tunnel_incoming_handler,

Modified: gnunet/src/set/gnunet-set-profiler.c
===================================================================
--- gnunet/src/set/gnunet-set-profiler.c        2013-10-06 09:35:14 UTC (rev 
29888)
+++ gnunet/src/set/gnunet-set-profiler.c        2013-10-06 09:35:52 UTC (rev 
29889)
@@ -215,7 +215,7 @@
 
   config = cfg;
 
-  if (GNUNET_OK != GNUNET_CRYPTO_get_host_identity (cfg, &local_peer))
+  if (GNUNET_OK != GNUNET_CRYPTO_get_peer_identity (cfg, &local_peer))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "could not retrieve host identity\n");
     ret = 0;

Modified: gnunet/src/set/test_set_api.c
===================================================================
--- gnunet/src/set/test_set_api.c       2013-10-06 09:35:14 UTC (rev 29888)
+++ gnunet/src/set/test_set_api.c       2013-10-06 09:35:52 UTC (rev 29889)
@@ -230,7 +230,7 @@
   struct GNUNET_SET_OperationHandle *my_oh;
 
   config = cfg;
-  GNUNET_CRYPTO_get_host_identity (cfg, &local_id);
+  GNUNET_CRYPTO_get_peer_identity (cfg, &local_id);
   printf ("my id (from CRYPTO): %s\n", GNUNET_i2s (&local_id));
   GNUNET_TESTING_peer_get_identity (peer, &local_id);
   printf ("my id (from TESTING): %s\n", GNUNET_i2s (&local_id));

Modified: gnunet/src/util/crypto_ecc.c
===================================================================
--- gnunet/src/util/crypto_ecc.c        2013-10-06 09:35:14 UTC (rev 29888)
+++ gnunet/src/util/crypto_ecc.c        2013-10-06 09:35:52 UTC (rev 29889)
@@ -741,7 +741,7 @@
  *         could not be retrieved
  */
 int
-GNUNET_CRYPTO_get_host_identity (const struct GNUNET_CONFIGURATION_Handle *cfg,
+GNUNET_CRYPTO_get_peer_identity (const struct GNUNET_CONFIGURATION_Handle *cfg,
                                  struct GNUNET_PeerIdentity *dst)
 {
   struct GNUNET_CRYPTO_EccPrivateKey *priv;




reply via email to

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