ats_ril: - removed some redundantly saved plugin environment attributes
[oweals/gnunet.git] / src / fs / test_fs_uri.c
index ca89a76520d5c3ee83d456b39359d3c33835b139..1e1bd8fb8d3deea64491cb1784ba89666549c7d5 100644 (file)
@@ -134,6 +134,7 @@ testLocation ()
   GNUNET_free (uric);
   if (uri2 == NULL)
   {
+    fprintf (stderr, "URI parsing failed: %s\n", emsg);
     GNUNET_break (0);
     GNUNET_FS_uri_destroy (uri);
     GNUNET_CONFIGURATION_destroy (cfg);
@@ -163,7 +164,7 @@ testNamespace (int i)
   struct GNUNET_FS_Uri *ret;
   char *emsg;
   struct GNUNET_CRYPTO_EccPrivateKey *ph;
-  struct GNUNET_CRYPTO_EccPublicKey id;
+  struct GNUNET_CRYPTO_EccPublicSignKey id;
   char buf[1024];
   char ubuf[1024];
   char *sret;
@@ -193,7 +194,7 @@ testNamespace (int i)
   }
   GNUNET_free (emsg);
   ph = GNUNET_CRYPTO_ecc_key_create ();
-  GNUNET_CRYPTO_ecc_key_get_public (ph, &id);
+  GNUNET_CRYPTO_ecc_key_get_public_for_signature (ph, &id);
   sret = GNUNET_STRINGS_data_to_string (&id, sizeof (id),
                                        ubuf, sizeof (ubuf) - 1);
   GNUNET_assert (NULL != sret);