diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-10-16 17:44:44 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-10-16 17:44:44 +0200 |
commit | 45d490b333ac72b33684c94ac5b48b7925b7ccac (patch) | |
tree | 8516410b61e978c563331ca0bb7061241fdcc9d5 /src/gnsrecord/gnunet-gnsrecord-tvg.c | |
parent | cde9403a6cc6bc03e571c872cdee205bbd838c31 (diff) | |
download | gnunet-45d490b333ac72b33684c94ac5b48b7925b7ccac.tar.gz gnunet-45d490b333ac72b33684c94ac5b48b7925b7ccac.zip |
-formatting tvgs
Diffstat (limited to 'src/gnsrecord/gnunet-gnsrecord-tvg.c')
-rw-r--r-- | src/gnsrecord/gnunet-gnsrecord-tvg.c | 4 |
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); |