aboutsummaryrefslogtreecommitdiff
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,
104 GNUNET_IDENTITY_key_get_public (&id_priv, 104 GNUNET_IDENTITY_key_get_public (&id_priv,
105 &id_pub); 105 &id_pub);
106 fprintf (stdout, "Zone private key (d, little-endian scalar):\n"); 106 fprintf (stdout, "Zone private key (d, little-endian scalar):\n");
107 print_bytes (&id_priv, GNUNET_IDENTITY_key_get_length (&id_pub), 0); //FIXME length for privkey? 107 print_bytes (&id_priv, GNUNET_IDENTITY_key_get_length (&id_pub), 8); //FIXME length for privkey?
108 fprintf (stdout, "\n"); 108 fprintf (stdout, "\n");
109 fprintf (stdout, "Zone public key (zk):\n"); 109 fprintf (stdout, "Zone public key (zk):\n");
110 print_bytes (&id_pub, GNUNET_IDENTITY_key_get_length (&id_pub), 0); 110 print_bytes (&id_pub, GNUNET_IDENTITY_key_get_length (&id_pub), 8);
111 fprintf (stdout, "\n"); 111 fprintf (stdout, "\n");
112 112
113 pkey_data_p.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); 113 pkey_data_p.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY);