gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: GNS: Harmonize test vectos to big-endian


From: gnunet
Subject: [gnunet] branch master updated: GNS: Harmonize test vectos to big-endian
Date: Thu, 29 Jun 2023 11:16:28 +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 78f3d8739 GNS: Harmonize test vectos to big-endian
78f3d8739 is described below

commit 78f3d8739573862de8a73e47a147c8cb83d99505
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Thu Jun 29 11:16:10 2023 +0200

    GNS: Harmonize test vectos to big-endian
---
 src/gnsrecord/gnunet-gnsrecord-tvg.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gnsrecord/gnunet-gnsrecord-tvg.c 
b/src/gnsrecord/gnunet-gnsrecord-tvg.c
index 16c917b24..549c95e53 100644
--- a/src/gnsrecord/gnunet-gnsrecord-tvg.c
+++ b/src/gnsrecord/gnunet-gnsrecord-tvg.c
@@ -162,9 +162,9 @@ 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, little-endian):\n");
-  print_bytes_ (&id_priv.ecdsa_key,
-                sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey), 8, 1);
+  printf ("Zone private key (d, big-endian):\n");
+  print_bytes (&id_priv.ecdsa_key,
+               sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey), 8);
   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]