From: Christian Grothoff Date: Wed, 18 Jul 2012 12:26:23 +0000 (+0000) Subject: -possible fix for assertion in peerinfo X-Git-Tag: initial-import-from-subversion-38251~12437 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=09addded5bf92db20b1f7c5a56b103f31147953b;p=oweals%2Fgnunet.git -possible fix for assertion in peerinfo --- diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c index 31f5bb494..f5bea09e5 100644 --- a/src/core/gnunet-service-core_kx.c +++ b/src/core/gnunet-service-core_kx.c @@ -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",