summaryrefslogtreecommitdiff
path: root/src/gnsrecord/gnunet-gnsrecord-tvg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnsrecord/gnunet-gnsrecord-tvg.c')
-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 6e6f6414c..c29f377bc 100644
--- a/src/gnsrecord/gnunet-gnsrecord-tvg.c
+++ b/src/gnsrecord/gnunet-gnsrecord-tvg.c
@@ -104,10 +104,10 @@ run (void *cls,
GNUNET_IDENTITY_key_get_public (&id_priv,
&id_pub);
fprintf (stdout, "Zone private key (d, little-endian scalar):\n");
- print_bytes (&id_priv, GNUNET_IDENTITY_key_get_length (&id_pub), 0); //FIXME length for privkey?
+ print_bytes (&id_priv, GNUNET_IDENTITY_key_get_length (&id_pub), 8); //FIXME length for privkey?
fprintf (stdout, "\n");
fprintf (stdout, "Zone public key (zk):\n");
- print_bytes (&id_pub, GNUNET_IDENTITY_key_get_length (&id_pub), 0);
+ print_bytes (&id_pub, GNUNET_IDENTITY_key_get_length (&id_pub), 8);
fprintf (stdout, "\n");
pkey_data_p.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY);