-possible fix for assertion in peerinfo
authorChristian Grothoff <christian@grothoff.org>
Wed, 18 Jul 2012 12:26:23 +0000 (12:26 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 18 Jul 2012 12:26:23 +0000 (12:26 +0000)
src/core/gnunet-service-core_kx.c

index 31f5bb494f36111c3f34636b0ebde2fc234bdaf2..f5bea09e5f3284c25f17e5501db63e553d6538a6 100644 (file)
@@ -1357,6 +1357,8 @@ send_key (struct GSC_KeyExchangeInfo *kx)
     return;                     /* nothing to do */
   if (NULL == kx->public_key)
   {
+    if (NULL != kx->pitr)
+      return;
     /* lookup public key, then try again */
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                 "Trying to obtain public key for `%s'\n",