aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_kx.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-04-25 07:59:45 +0000
committerChristian Grothoff <christian@grothoff.org>2014-04-25 07:59:45 +0000
commit344f48e48e8d4f1ea631f29d8fb3ae0faf3d7ef0 (patch)
treeef2e4f32eb08a9478a214fa2b2e183e5b60914ee /src/core/gnunet-service-core_kx.c
parent1aa08ac49c4458eb0643d20fff6959eea4dc27cc (diff)
downloadgnunet-344f48e48e8d4f1ea631f29d8fb3ae0faf3d7ef0.tar.gz
gnunet-344f48e48e8d4f1ea631f29d8fb3ae0faf3d7ef0.zip
-indent, doxygen
Diffstat (limited to 'src/core/gnunet-service-core_kx.c')
-rw-r--r--src/core/gnunet-service-core_kx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c
index 8f13dd111..38f37f01f 100644
--- a/src/core/gnunet-service-core_kx.c
+++ b/src/core/gnunet-service-core_kx.c
@@ -431,7 +431,8 @@ monitor_notify_all (struct GSC_KeyExchangeInfo *kx)
431 */ 431 */
432static void 432static void
433derive_auth_key (struct GNUNET_CRYPTO_AuthKey *akey, 433derive_auth_key (struct GNUNET_CRYPTO_AuthKey *akey,
434 const struct GNUNET_CRYPTO_SymmetricSessionKey *skey, uint32_t seed) 434 const struct GNUNET_CRYPTO_SymmetricSessionKey *skey,
435 uint32_t seed)
435{ 436{
436 static const char ctx[] = "authentication key"; 437 static const char ctx[] = "authentication key";
437 438
@@ -1176,7 +1177,8 @@ GSC_KX_handle_pong (struct GSC_KeyExchangeInfo *kx,
1176 "PONG", GNUNET_i2s (&t.target), (unsigned int) t.challenge); 1177 "PONG", GNUNET_i2s (&t.target), (unsigned int) t.challenge);
1177 return; 1178 return;
1178 } 1179 }
1179 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Received PONG from `%s'\n", 1180 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1181 "Received PONG from `%s'\n",
1180 GNUNET_i2s (&kx->peer)); 1182 GNUNET_i2s (&kx->peer));
1181 /* no need to resend key any longer */ 1183 /* no need to resend key any longer */
1182 if (GNUNET_SCHEDULER_NO_TASK != kx->retry_set_key_task) 1184 if (GNUNET_SCHEDULER_NO_TASK != kx->retry_set_key_task)