aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-06-28 23:41:44 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-06-28 23:41:44 +0200
commitafee6f6d552c2293d31dc0d6beba15f0c89e0d72 (patch)
treed6e612a83fd2da2213f50c0786be45b58a2d08c8 /src/gnsrecord
parent155205d663289081dad07764ccad3b4f48a423f1 (diff)
downloadgnunet-afee6f6d552c2293d31dc0d6beba15f0c89e0d72.tar.gz
gnunet-afee6f6d552c2293d31dc0d6beba15f0c89e0d72.zip
GNS: Little endian private key in TV.
Diffstat (limited to 'src/gnsrecord')
-rw-r--r--src/gnsrecord/gnunet-gnsrecord-tvg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnsrecord/gnunet-gnsrecord-tvg.c b/src/gnsrecord/gnunet-gnsrecord-tvg.c
index 2bc31471e..4822141f9 100644
--- a/src/gnsrecord/gnunet-gnsrecord-tvg.c
+++ b/src/gnsrecord/gnunet-gnsrecord-tvg.c
@@ -156,7 +156,7 @@ run_pkey (struct GNUNET_GNSRECORD_Data *rd, int rd_count, const char *label)
156 156
157 GNUNET_IDENTITY_key_get_public (&id_priv, 157 GNUNET_IDENTITY_key_get_public (&id_priv,
158 &id_pub); 158 &id_pub);
159 printf ("Zone private key (d, big-endian):\n"); 159 printf ("Zone private key (d, little-endian):\n");
160 print_bytes_ (&id_priv.ecdsa_key, 160 print_bytes_ (&id_priv.ecdsa_key,
161 sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey), 8, 1); 161 sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey), 8, 1);
162 printf ("\n"); 162 printf ("\n");