[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -fix conversation
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -fix conversation |
Date: |
Fri, 16 Oct 2020 18:00:10 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new ad14b22f0 -fix conversation
ad14b22f0 is described below
commit ad14b22f0c9ec77755658ae7139d23745485be4b
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Fri Oct 16 17:53:09 2020 +0200
-fix conversation
---
src/conversation/gnunet-service-conversation.c | 6 +++---
1 file 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)
GNUNET_CRYPTO_ecdsa_verify (GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING,
&rs,
&msg->signature,
- &msg->caller_id))
+ &msg->caller_id.ecdsa_key))
{
GNUNET_break_op (0);
destroy_line_cadet_channels (ch);
@@ -1136,9 +1136,9 @@ handle_client_call_message (void *cls, const struct
ClientCallMessage *msg)
cadet_handlers);
ch->mq = GNUNET_CADET_get_mq (ch->channel);
e = GNUNET_MQ_msg (ring, GNUNET_MESSAGE_TYPE_CONVERSATION_CADET_PHONE_RING);
- GNUNET_CRYPTO_ecdsa_key_get_public (&msg->caller_id, &ring->caller_id);
+ GNUNET_IDENTITY_key_get_public (&msg->caller_id, &ring->caller_id);
ring->expiration_time = rs.expiration_time;
- GNUNET_CRYPTO_ecdsa_sign (&msg->caller_id,
+ GNUNET_CRYPTO_ecdsa_sign (&msg->caller_id.ecdsa_key,
&rs,
&ring->signature);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Sending RING message via CADET\n");
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.