aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_kx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/gnunet-service-core_kx.c')
-rw-r--r--src/core/gnunet-service-core_kx.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c
index 988c5790a..8250bcc6f 100644
--- a/src/core/gnunet-service-core_kx.c
+++ b/src/core/gnunet-service-core_kx.c
@@ -659,11 +659,9 @@ send_key (struct GSC_KeyExchangeInfo *kx);
659 * Task that will retry #send_key() if our previous attempt failed. 659 * Task that will retry #send_key() if our previous attempt failed.
660 * 660 *
661 * @param cls our `struct GSC_KeyExchangeInfo` 661 * @param cls our `struct GSC_KeyExchangeInfo`
662 * @param tc scheduler context
663 */ 662 */
664static void 663static void
665set_key_retry_task (void *cls, 664set_key_retry_task (void *cls)
666 const struct GNUNET_SCHEDULER_TaskContext *tc)
667{ 665{
668 struct GSC_KeyExchangeInfo *kx = cls; 666 struct GSC_KeyExchangeInfo *kx = cls;
669 667
@@ -1104,11 +1102,9 @@ GSC_KX_handle_ping (struct GSC_KeyExchangeInfo *kx,
1104 * (and we should prevent this by sending a PING). 1102 * (and we should prevent this by sending a PING).
1105 * 1103 *
1106 * @param cls the `struct GSC_KeyExchangeInfo` 1104 * @param cls the `struct GSC_KeyExchangeInfo`
1107 * @param tc scheduler context (not used)
1108 */ 1105 */
1109static void 1106static void
1110send_keep_alive (void *cls, 1107send_keep_alive (void *cls)
1111 const struct GNUNET_SCHEDULER_TaskContext *tc)
1112{ 1108{
1113 struct GSC_KeyExchangeInfo *kx = cls; 1109 struct GSC_KeyExchangeInfo *kx = cls;
1114 struct GNUNET_TIME_Relative retry; 1110 struct GNUNET_TIME_Relative retry;
@@ -1698,11 +1694,9 @@ sign_ephemeral_key ()
1698 * Task run to trigger rekeying. 1694 * Task run to trigger rekeying.
1699 * 1695 *
1700 * @param cls closure, NULL 1696 * @param cls closure, NULL
1701 * @param tc scheduler context
1702 */ 1697 */
1703static void 1698static void
1704do_rekey (void *cls, 1699do_rekey (void *cls)
1705 const struct GNUNET_SCHEDULER_TaskContext *tc)
1706{ 1700{
1707 struct GSC_KeyExchangeInfo *pos; 1701 struct GSC_KeyExchangeInfo *pos;
1708 1702