From 33d3812081f0e96bcd1b14ca85c2d66b4c2c3f3f Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Mon, 3 Jul 2023 01:04:12 +0200 Subject: GNS: Revert TV endianness --- src/gnsrecord/gnunet-gnsrecord-tvg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gnsrecord') 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)); -- cgit v1.2.3