diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-06-29 11:16:10 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-06-29 11:16:10 +0200 |
commit | 78f3d8739573862de8a73e47a147c8cb83d99505 (patch) | |
tree | c8e9a4846ea3010b2b37c027d53eccbdbbf0761c /src/gnsrecord | |
parent | ce6160020ff0d24012ccd288653197e45936a287 (diff) | |
download | gnunet-78f3d8739573862de8a73e47a147c8cb83d99505.tar.gz gnunet-78f3d8739573862de8a73e47a147c8cb83d99505.zip |
GNS: Harmonize test vectos to big-endian
Diffstat (limited to 'src/gnsrecord')
-rw-r--r-- | src/gnsrecord/gnunet-gnsrecord-tvg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gnsrecord/gnunet-gnsrecord-tvg.c b/src/gnsrecord/gnunet-gnsrecord-tvg.c index 16c917b24..549c95e53 100644 --- a/src/gnsrecord/gnunet-gnsrecord-tvg.c +++ b/src/gnsrecord/gnunet-gnsrecord-tvg.c | |||
@@ -162,9 +162,9 @@ run_pkey (struct GNUNET_GNSRECORD_Data *rd, int rd_count, const char *label) | |||
162 | 162 | ||
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, little-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, 1); | 167 | sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey), 8); |
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)); |