aboutsummaryrefslogtreecommitdiff
path: root/src/multicast/gnunet-service-multicast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/multicast/gnunet-service-multicast.c')
-rw-r--r--src/multicast/gnunet-service-multicast.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/multicast/gnunet-service-multicast.c b/src/multicast/gnunet-service-multicast.c
index a787307..6296974 100644
--- a/src/multicast/gnunet-service-multicast.c
+++ b/src/multicast/gnunet-service-multicast.c
@@ -969,7 +969,7 @@ check_cadet_join_request (void *cls,
969 return GNUNET_SYSERR; 969 return GNUNET_SYSERR;
970 } 970 }
971 if (GNUNET_OK != 971 if (GNUNET_OK !=
972 GNUNET_CRYPTO_ecdsa_verify (GNUNET_SIGNATURE_PURPOSE_MULTICAST_REQUEST, 972 GNUNET_CRYPTO_ecdsa_verify_ (GNUNET_SIGNATURE_PURPOSE_MULTICAST_REQUEST,
973 &req->purpose, &req->signature, 973 &req->purpose, &req->signature,
974 &req->member_pub_key)) 974 &req->member_pub_key))
975 { 975 {
@@ -1098,7 +1098,7 @@ check_cadet_message (void *cls,
1098 return GNUNET_SYSERR; 1098 return GNUNET_SYSERR;
1099 } 1099 }
1100 if (GNUNET_OK != 1100 if (GNUNET_OK !=
1101 GNUNET_CRYPTO_eddsa_verify (GNUNET_SIGNATURE_PURPOSE_MULTICAST_MESSAGE, 1101 GNUNET_CRYPTO_eddsa_verify_ (GNUNET_SIGNATURE_PURPOSE_MULTICAST_MESSAGE,
1102 &msg->purpose, &msg->signature, 1102 &msg->purpose, &msg->signature,
1103 &chn->group_pub_key)) 1103 &chn->group_pub_key))
1104 { 1104 {
@@ -1150,7 +1150,7 @@ check_cadet_request (void *cls,
1150 return GNUNET_SYSERR; 1150 return GNUNET_SYSERR;
1151 } 1151 }
1152 if (GNUNET_OK != 1152 if (GNUNET_OK !=
1153 GNUNET_CRYPTO_ecdsa_verify (GNUNET_SIGNATURE_PURPOSE_MULTICAST_REQUEST, 1153 GNUNET_CRYPTO_ecdsa_verify_ (GNUNET_SIGNATURE_PURPOSE_MULTICAST_REQUEST,
1154 &req->purpose, &req->signature, 1154 &req->purpose, &req->signature,
1155 &req->member_pub_key)) 1155 &req->member_pub_key))
1156 { 1156 {
@@ -1605,7 +1605,7 @@ handle_client_member_join (void *cls,
1605 - sizeof (req->signature)); 1605 - sizeof (req->signature));
1606 req->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_MULTICAST_REQUEST); 1606 req->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_MULTICAST_REQUEST);
1607 1607
1608 if (GNUNET_OK != GNUNET_CRYPTO_ecdsa_sign (&mem->priv_key, &req->purpose, 1608 if (GNUNET_OK != GNUNET_CRYPTO_ecdsa_sign_ (&mem->priv_key, &req->purpose,
1609 &req->signature)) 1609 &req->signature))
1610 { 1610 {
1611 /* FIXME: handle error */ 1611 /* FIXME: handle error */
@@ -1770,7 +1770,7 @@ handle_client_multicast_message (void *cls,
1770 - sizeof (out->signature)); 1770 - sizeof (out->signature));
1771 out->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_MULTICAST_MESSAGE); 1771 out->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_MULTICAST_MESSAGE);
1772 1772
1773 if (GNUNET_OK != GNUNET_CRYPTO_eddsa_sign (&orig->priv_key, &out->purpose, 1773 if (GNUNET_OK != GNUNET_CRYPTO_eddsa_sign_ (&orig->priv_key, &out->purpose,
1774 &out->signature)) 1774 &out->signature))
1775 { 1775 {
1776 GNUNET_assert (0); 1776 GNUNET_assert (0);
@@ -1825,7 +1825,7 @@ handle_client_multicast_request (void *cls,
1825 - sizeof (out->signature)); 1825 - sizeof (out->signature));
1826 out->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_MULTICAST_REQUEST); 1826 out->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_MULTICAST_REQUEST);
1827 1827
1828 if (GNUNET_OK != GNUNET_CRYPTO_ecdsa_sign (&mem->priv_key, &out->purpose, 1828 if (GNUNET_OK != GNUNET_CRYPTO_ecdsa_sign_ (&mem->priv_key, &out->purpose,
1829 &out->signature)) 1829 &out->signature))
1830 { 1830 {
1831 GNUNET_assert (0); 1831 GNUNET_assert (0);