eliminate unnecessary ec-mul operation from gnunet-namestore
authorChristian Grothoff <christian@grothoff.org>
Mon, 10 Jun 2019 04:34:45 +0000 (06:34 +0200)
committerChristian Grothoff <christian@grothoff.org>
Mon, 10 Jun 2019 04:34:45 +0000 (06:34 +0200)
src/namestore/gnunet-namestore.c

index 5f4daa4a844435aa90ae1111fc9d00c0716b50a6..e161a741da2858db195e9b6764c1e1eafc987612 100644 (file)
@@ -982,7 +982,6 @@ static void
 identity_cb (void *cls, const struct GNUNET_IDENTITY_Ego *ego)
 {
   const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
-  struct GNUNET_CRYPTO_EcdsaPublicKey pub;
   struct GNUNET_GNSRECORD_Data rd;
 
   el = NULL;
@@ -1020,7 +1019,6 @@ identity_cb (void *cls, const struct GNUNET_IDENTITY_Ego *ego)
     GNUNET_SCHEDULER_shutdown ();
     return;
   }
-  GNUNET_CRYPTO_ecdsa_key_get_public (&zone_pkey, &pub);
   ns = GNUNET_NAMESTORE_connect (cfg);
   if (NULL == ns)
   {