[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated (a78213f13 -> 795186a6c)
From: |
gnunet |
Subject: |
[gnunet] branch master updated (a78213f13 -> 795186a6c) |
Date: |
Mon, 03 Jul 2023 01:06:58 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a change to branch master
in repository gnunet.
from a78213f13 clarify why we hash for ECDSA (#5398)
new 33d381208 GNS: Revert TV endianness
new 191404101 Merge branch 'master' of git+ssh://git.gnunet.org/gnunet
new 795186a6c GNS: Fix query hash for EdDSA
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/gnsrecord/gnsrecord_crypto.c | 2 +-
src/gnsrecord/gnunet-gnsrecord-tvg.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gnsrecord/gnsrecord_crypto.c b/src/gnsrecord/gnsrecord_crypto.c
index eaa36426c..175967b1e 100644
--- a/src/gnsrecord/gnsrecord_crypto.c
+++ b/src/gnsrecord/gnsrecord_crypto.c
@@ -1077,7 +1077,7 @@ GNUNET_GNSRECORD_query_from_public_key (const struct
norm_label,
"gns",
&(pd.eddsa_key));
- GNUNET_CRYPTO_hash (&pd.eddsa_key,
+ GNUNET_CRYPTO_hash (&pd,
GNUNET_IDENTITY_public_key_get_length (&pd),
query);
break;
diff --git a/src/gnsrecord/gnunet-gnsrecord-tvg.c
b/src/gnsrecord/gnunet-gnsrecord-tvg.c
index a4cf3f5cf..d472fdcf6 100644
--- a/src/gnsrecord/gnunet-gnsrecord-tvg.c
+++ b/src/gnsrecord/gnunet-gnsrecord-tvg.c
@@ -163,8 +163,8 @@ run_pkey (struct GNUNET_GNSRECORD_Data *rd, int rd_count,
const char *label)
GNUNET_IDENTITY_key_get_public (&id_priv,
&id_pub);
printf ("Zone private key (d, big-endian):\n");
- print_bytes (&id_priv.ecdsa_key,
- sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey), 8);
+ print_bytes_ (&id_priv.ecdsa_key,
+ sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey), 8, 1);
printf ("\n");
printf ("Zone identifier (ztype|zkey):\n");
GNUNET_assert (0 < GNUNET_IDENTITY_public_key_get_length (&id_pub));
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] branch master updated (a78213f13 -> 795186a6c),
gnunet <=