aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conversation/gnunet-service-conversation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conversation/gnunet-service-conversation.c b/src/conversation/gnunet-service-conversation.c
index 502146255..b1a629217 100644
--- a/src/conversation/gnunet-service-conversation.c
+++ b/src/conversation/gnunet-service-conversation.c
@@ -755,7 +755,7 @@ handle_cadet_ring_message (void *cls, const struct CadetPhoneRingMessage *msg)
755 GNUNET_CRYPTO_ecdsa_verify (GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING, 755 GNUNET_CRYPTO_ecdsa_verify (GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING,
756 &rs, 756 &rs,
757 &msg->signature, 757 &msg->signature,
758 &msg->caller_id)) 758 &msg->caller_id.ecdsa_key))
759 { 759 {
760 GNUNET_break_op (0); 760 GNUNET_break_op (0);
761 destroy_line_cadet_channels (ch); 761 destroy_line_cadet_channels (ch);
@@ -1136,9 +1136,9 @@ handle_client_call_message (void *cls, const struct ClientCallMessage *msg)
1136 cadet_handlers); 1136 cadet_handlers);
1137 ch->mq = GNUNET_CADET_get_mq (ch->channel); 1137 ch->mq = GNUNET_CADET_get_mq (ch->channel);
1138 e = GNUNET_MQ_msg (ring, GNUNET_MESSAGE_TYPE_CONVERSATION_CADET_PHONE_RING); 1138 e = GNUNET_MQ_msg (ring, GNUNET_MESSAGE_TYPE_CONVERSATION_CADET_PHONE_RING);
1139 GNUNET_CRYPTO_ecdsa_key_get_public (&msg->caller_id, &ring->caller_id); 1139 GNUNET_IDENTITY_key_get_public (&msg->caller_id, &ring->caller_id);
1140 ring->expiration_time = rs.expiration_time; 1140 ring->expiration_time = rs.expiration_time;
1141 GNUNET_CRYPTO_ecdsa_sign (&msg->caller_id, 1141 GNUNET_CRYPTO_ecdsa_sign (&msg->caller_id.ecdsa_key,
1142 &rs, 1142 &rs,
1143 &ring->signature); 1143 &ring->signature);
1144 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sending RING message via CADET\n"); 1144 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sending RING message via CADET\n");