aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-07-03 01:04:12 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-07-03 01:04:12 +0200
commit33d3812081f0e96bcd1b14ca85c2d66b4c2c3f3f (patch)
tree08d727953513832b69a928b05f424823ca398c77 /src/gnsrecord
parent8c34d91adf6884b1282d57760b3c22d55e807458 (diff)
downloadgnunet-33d3812081f0e96bcd1b14ca85c2d66b4c2c3f3f.tar.gz
gnunet-33d3812081f0e96bcd1b14ca85c2d66b4c2c3f3f.zip
GNS: Revert TV endianness
Diffstat (limited to 'src/gnsrecord')
-rw-r--r--src/gnsrecord/gnunet-gnsrecord-tvg.c4
1 files 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)
163 GNUNET_IDENTITY_key_get_public (&id_priv, 163 GNUNET_IDENTITY_key_get_public (&id_priv,
164 &id_pub); 164 &id_pub);
165 printf ("Zone private key (d, big-endian):\n"); 165 printf ("Zone private key (d, big-endian):\n");
166 print_bytes (&id_priv.ecdsa_key, 166 print_bytes_ (&id_priv.ecdsa_key,
167 sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey), 8); 167 sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey), 8, 1);
168 printf ("\n"); 168 printf ("\n");
169 printf ("Zone identifier (ztype|zkey):\n"); 169 printf ("Zone identifier (ztype|zkey):\n");
170 GNUNET_assert (0 < GNUNET_IDENTITY_public_key_get_length (&id_pub)); 170 GNUNET_assert (0 < GNUNET_IDENTITY_public_key_get_length (&id_pub));