diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-07-18 12:26:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-07-18 12:26:23 +0000 |
commit | 09addded5bf92db20b1f7c5a56b103f31147953b (patch) | |
tree | 219b07b4adff961c1c0b537faebdb3c18ca08911 /src/core/gnunet-service-core_kx.c | |
parent | 0d199a734500191207138e5d42a7067a78fb070e (diff) | |
download | gnunet-09addded5bf92db20b1f7c5a56b103f31147953b.tar.gz gnunet-09addded5bf92db20b1f7c5a56b103f31147953b.zip |
-possible fix for assertion in peerinfo
Diffstat (limited to 'src/core/gnunet-service-core_kx.c')
-rw-r--r-- | src/core/gnunet-service-core_kx.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
1357 | return; /* nothing to do */ | 1357 | return; /* nothing to do */ |
1358 | if (NULL == kx->public_key) | 1358 | if (NULL == kx->public_key) |
1359 | { | 1359 | { |
1360 | if (NULL != kx->pitr) | ||
1361 | return; | ||
1360 | /* lookup public key, then try again */ | 1362 | /* lookup public key, then try again */ |
1361 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1363 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1362 | "Trying to obtain public key for `%s'\n", | 1364 | "Trying to obtain public key for `%s'\n", |