-fix check for DANE and ftbfs
[oweals/gnunet.git] / src / gns / gnunet-gns.c
index 1c9c8c5a0ebaff8bf94c2407d3991dda6c0c078e..33d4b9206c3d70591122362d76f70b22d3e06648 100644 (file)
@@ -265,6 +265,7 @@ lookup_with_public_key (const struct GNUNET_CRYPTO_EcdsaPublicKey *pkey)
   GNUNET_assert (NULL != pkey);
   pkeym = GNUNET_new (struct GNUNET_CRYPTO_EcdsaPublicKey);
   *pkeym = *pkey;
+  GNUNET_break (NULL == id_op);
   id_op = GNUNET_IDENTITY_get (identity,
                               "gns-short",
                               &identity_shorten_cb,
@@ -402,6 +403,7 @@ run (void *cls, char *const *args, const char *cfgfile,
   }
   else
   {
+    GNUNET_break (NULL == id_op);
     id_op = GNUNET_IDENTITY_get (identity,
                                 "gns-master",
                                 &identity_master_cb,