diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-09 20:48:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-09 20:48:03 +0000 |
commit | 97578eb9b15c91cd5375876c353e805261d0f8f7 (patch) | |
tree | d116138a350da75e0230c1a69624fdb34972f2f8 /src/gns/gnunet-gns.c | |
parent | 7a2ed01a317327f089d86314eb5aa311c87abf7a (diff) | |
download | gnunet-97578eb9b15c91cd5375876c353e805261d0f8f7.tar.gz gnunet-97578eb9b15c91cd5375876c353e805261d0f8f7.zip |
-extra checks
Diffstat (limited to 'src/gns/gnunet-gns.c')
-rw-r--r-- | src/gns/gnunet-gns.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c index 1c9c8c5a0..33d4b9206 100644 --- a/src/gns/gnunet-gns.c +++ b/src/gns/gnunet-gns.c | |||
@@ -265,6 +265,7 @@ lookup_with_public_key (const struct GNUNET_CRYPTO_EcdsaPublicKey *pkey) | |||
265 | GNUNET_assert (NULL != pkey); | 265 | GNUNET_assert (NULL != pkey); |
266 | pkeym = GNUNET_new (struct GNUNET_CRYPTO_EcdsaPublicKey); | 266 | pkeym = GNUNET_new (struct GNUNET_CRYPTO_EcdsaPublicKey); |
267 | *pkeym = *pkey; | 267 | *pkeym = *pkey; |
268 | GNUNET_break (NULL == id_op); | ||
268 | id_op = GNUNET_IDENTITY_get (identity, | 269 | id_op = GNUNET_IDENTITY_get (identity, |
269 | "gns-short", | 270 | "gns-short", |
270 | &identity_shorten_cb, | 271 | &identity_shorten_cb, |
@@ -402,6 +403,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
402 | } | 403 | } |
403 | else | 404 | else |
404 | { | 405 | { |
406 | GNUNET_break (NULL == id_op); | ||
405 | id_op = GNUNET_IDENTITY_get (identity, | 407 | id_op = GNUNET_IDENTITY_get (identity, |
406 | "gns-master", | 408 | "gns-master", |
407 | &identity_master_cb, | 409 | &identity_master_cb, |