[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: fix kx
From: |
gnunet |
Subject: |
[gnunet] branch master updated: fix kx |
Date: |
Wed, 25 Dec 2019 15:23:09 +0100 |
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 7398be32b fix kx
7398be32b is described below
commit 7398be32b31ced600e182a3f63f3eddec0338dd9
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Wed Dec 25 23:19:44 2019 +0900
fix kx
---
src/transport/gnunet-communicator-tcp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/transport/gnunet-communicator-tcp.c
b/src/transport/gnunet-communicator-tcp.c
index 7207eb922..0b7f6ab46 100644
--- a/src/transport/gnunet-communicator-tcp.c
+++ b/src/transport/gnunet-communicator-tcp.c
@@ -1553,7 +1553,7 @@ transmit_kx (struct Queue *queue,
struct TCPConfirmation tc;
memcpy (queue->cwrite_buf, epub, sizeof(*epub));
- queue->cwrite_off = sizeof(epub);
+ queue->cwrite_off = sizeof(*epub);
/* compute 'tc' and append in encrypted format to cwrite_buf */
tc.sender = my_identity;
tc.monotonic_time =
@@ -1621,7 +1621,7 @@ decrypt_and_check_tc (struct Queue *queue,
tc,
sizeof(*tc),
&ibuf[sizeof(struct GNUNET_CRYPTO_EcdhePublicKey)],
- sizeof(tc)));
+ sizeof(*tc)));
ths.purpose.purpose = htonl (GNUNET_SIGNATURE_COMMUNICATOR_TCP_HANDSHAKE);
ths.purpose.size = htonl (sizeof(ths));
ths.sender = tc->sender;
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: fix kx,
gnunet <=