gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 01/03: GNS: Revert TV endianness


From: gnunet
Subject: [gnunet] 01/03: GNS: Revert TV endianness
Date: Mon, 03 Jul 2023 01:06:59 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 33d3812081f0e96bcd1b14ca85c2d66b4c2c3f3f
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Mon Jul 3 01:04:12 2023 +0200

    GNS: Revert TV endianness
---
 src/gnsrecord/gnunet-gnsrecord-tvg.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]