aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-06 14:18:31 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-06 14:18:31 +0000
commitfe76c075e315c0351e2fe465434ae39087daf014 (patch)
tree436887ccaf331932a3c13a8b9d2a2a710dad4be6 /src/peerinfo
parent7eb2835d8a494c83aedb720a2ac6f6e5ba23f22f (diff)
downloadgnunet-fe76c075e315c0351e2fe465434ae39087daf014.tar.gz
gnunet-fe76c075e315c0351e2fe465434ae39087daf014.zip
moving to new, fixed-size encoding of public and private ECC keys everywhere, also improving ECC API to better support ECRS/GADS operations
Diffstat (limited to 'src/peerinfo')
-rw-r--r--src/peerinfo/gnunet-service-peerinfo.c2
-rwxr-xr-xsrc/peerinfo/perf_peerinfo_api.c2
-rw-r--r--src/peerinfo/test_peerinfo_api.c2
-rw-r--r--src/peerinfo/test_peerinfo_api_friend_only.c2
-rw-r--r--src/peerinfo/test_peerinfo_api_notify_friend_only.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c
index dc4c9fa07..6be98879f 100644
--- a/src/peerinfo/gnunet-service-peerinfo.c
+++ b/src/peerinfo/gnunet-service-peerinfo.c
@@ -655,7 +655,7 @@ update_friend_hello (const struct GNUNET_HELLO_Message *hello,
655{ 655{
656 struct GNUNET_HELLO_Message * res; 656 struct GNUNET_HELLO_Message * res;
657 struct GNUNET_HELLO_Message * tmp; 657 struct GNUNET_HELLO_Message * tmp;
658 struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pk; 658 struct GNUNET_CRYPTO_EccPublicKey pk;
659 659
660 if (NULL != friend_hello) 660 if (NULL != friend_hello)
661 { 661 {
diff --git a/src/peerinfo/perf_peerinfo_api.c b/src/peerinfo/perf_peerinfo_api.c
index d55ccce2b..7a1266b62 100755
--- a/src/peerinfo/perf_peerinfo_api.c
+++ b/src/peerinfo/perf_peerinfo_api.c
@@ -82,7 +82,7 @@ address_generator (void *cls, size_t max, void *buf)
82static void 82static void
83add_peer (size_t i) 83add_peer (size_t i)
84{ 84{
85 struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pkey; 85 struct GNUNET_CRYPTO_EccPublicKey pkey;
86 struct GNUNET_HELLO_Message *h2; 86 struct GNUNET_HELLO_Message *h2;
87 87
88 memset (&pkey, i, sizeof (pkey)); 88 memset (&pkey, i, sizeof (pkey));
diff --git a/src/peerinfo/test_peerinfo_api.c b/src/peerinfo/test_peerinfo_api.c
index a68b2bdb7..202ebf13a 100644
--- a/src/peerinfo/test_peerinfo_api.c
+++ b/src/peerinfo/test_peerinfo_api.c
@@ -86,7 +86,7 @@ struct GNUNET_PeerIdentity pid;
86static void 86static void
87add_peer () 87add_peer ()
88{ 88{
89 struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pkey; 89 struct GNUNET_CRYPTO_EccPublicKey pkey;
90 struct GNUNET_HELLO_Message *h2; 90 struct GNUNET_HELLO_Message *h2;
91 size_t agc; 91 size_t agc;
92 92
diff --git a/src/peerinfo/test_peerinfo_api_friend_only.c b/src/peerinfo/test_peerinfo_api_friend_only.c
index 4c3d3b3ef..6b91757e5 100644
--- a/src/peerinfo/test_peerinfo_api_friend_only.c
+++ b/src/peerinfo/test_peerinfo_api_friend_only.c
@@ -68,7 +68,7 @@ struct GNUNET_PeerIdentity pid;
68static void 68static void
69add_peer () 69add_peer ()
70{ 70{
71 struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pkey; 71 struct GNUNET_CRYPTO_EccPublicKey pkey;
72 struct GNUNET_HELLO_Message *h2; 72 struct GNUNET_HELLO_Message *h2;
73 size_t agc; 73 size_t agc;
74 74
diff --git a/src/peerinfo/test_peerinfo_api_notify_friend_only.c b/src/peerinfo/test_peerinfo_api_notify_friend_only.c
index 700bac755..ae2ac5190 100644
--- a/src/peerinfo/test_peerinfo_api_notify_friend_only.c
+++ b/src/peerinfo/test_peerinfo_api_notify_friend_only.c
@@ -227,7 +227,7 @@ add_peer_done (void *cls, const char *emsg)
227static void 227static void
228add_peer () 228add_peer ()
229{ 229{
230 struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pkey; 230 struct GNUNET_CRYPTO_EccPublicKey pkey;
231 struct GNUNET_HELLO_Message *h2; 231 struct GNUNET_HELLO_Message *h2;
232 size_t agc; 232 size_t agc;
233 233