aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-13 12:00:01 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-13 12:00:01 +0000
commita35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae (patch)
treeb7768c5cb22e8a4f84d51cbd06dc04861fdb8510 /src/peerinfo
parent95d42fdcb47eedcf2747614a22dacd676bc7faae (diff)
downloadgnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.tar.gz
gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.zip
splitting 'struct GNUNET_CRYPTO_EccPublicKey' into one struct for signing and another for encryption
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 b1197dc7e..f0e298cf5 100644
--- a/src/peerinfo/gnunet-service-peerinfo.c
+++ b/src/peerinfo/gnunet-service-peerinfo.c
@@ -653,7 +653,7 @@ update_friend_hello (const struct GNUNET_HELLO_Message *hello,
653{ 653{
654 struct GNUNET_HELLO_Message * res; 654 struct GNUNET_HELLO_Message * res;
655 struct GNUNET_HELLO_Message * tmp; 655 struct GNUNET_HELLO_Message * tmp;
656 struct GNUNET_CRYPTO_EccPublicKey pk; 656 struct GNUNET_CRYPTO_EccPublicSignKey pk;
657 657
658 if (NULL != friend_hello) 658 if (NULL != friend_hello)
659 { 659 {
diff --git a/src/peerinfo/perf_peerinfo_api.c b/src/peerinfo/perf_peerinfo_api.c
index 7a1266b62..01d87b48b 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_EccPublicKey pkey; 85 struct GNUNET_CRYPTO_EccPublicSignKey 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 202ebf13a..51c4ec13a 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_EccPublicKey pkey; 89 struct GNUNET_CRYPTO_EccPublicSignKey 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 6b91757e5..d4480165d 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_EccPublicKey pkey; 71 struct GNUNET_CRYPTO_EccPublicSignKey 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 ae2ac5190..a2774b8dd 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_EccPublicKey pkey; 230 struct GNUNET_CRYPTO_EccPublicSignKey pkey;
231 struct GNUNET_HELLO_Message *h2; 231 struct GNUNET_HELLO_Message *h2;
232 size_t agc; 232 size_t agc;
233 233