fix sizes, should not affect actual operation
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Mon, 25 May 2020 07:48:12 +0000 (09:48 +0200)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Mon, 25 May 2020 07:48:12 +0000 (09:48 +0200)
src/revocation/gnunet-revocation-tvg.c

index 23a4bf020e315ae9008984955189957c0686f81c..805b7c39c2b5a02141743d80a6604b2b3ba1f149 100644 (file)
@@ -63,7 +63,7 @@ run (void *cls,
   fprintf(stdout, "Zone private key (d):\n%s\n\n", data_enc);
   GNUNET_free (data_enc);
   GNUNET_STRINGS_base64_encode (&id_pub,
-                                sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey),
+                                sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey),
                                 &data_enc);
   fprintf(stdout, "Zone public key (zk):\n%s\n\n", data_enc);
   GNUNET_free (data_enc);