aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/test_revocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/revocation/test_revocation.c')
-rw-r--r--src/revocation/test_revocation.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/revocation/test_revocation.c b/src/revocation/test_revocation.c
index e9836cc5a..6d6db1b5c 100644
--- a/src/revocation/test_revocation.c
+++ b/src/revocation/test_revocation.c
@@ -57,8 +57,7 @@ static int ok;
57 57
58 58
59static void 59static void
60do_shutdown (void *cls, 60do_shutdown (void *cls)
61 const struct GNUNET_SCHEDULER_TaskContext *tc)
62{ 61{
63 unsigned int c; 62 unsigned int c;
64 63
@@ -94,8 +93,7 @@ do_shutdown (void *cls,
94 93
95 94
96static void 95static void
97check_revocation (void *cls, 96check_revocation (void *cls);
98 const struct GNUNET_SCHEDULER_TaskContext *tc);
99 97
100 98
101static void 99static void
@@ -128,8 +126,7 @@ revocation_remote_cb (void *cls,
128 126
129 127
130static void 128static void
131check_revocation (void *cls, 129check_revocation (void *cls)
132 const struct GNUNET_SCHEDULER_TaskContext *tc)
133{ 130{
134 GNUNET_REVOCATION_query (testpeers[0].cfg, 131 GNUNET_REVOCATION_query (testpeers[0].cfg,
135 &testpeers[1].pubkey, 132 &testpeers[1].pubkey,
@@ -146,7 +143,7 @@ revocation_cb (void *cls,
146 { 143 {
147 fprintf (stderr, 144 fprintf (stderr,
148 "Revocation successful\n"); 145 "Revocation successful\n");
149 check_revocation (NULL, NULL); 146 check_revocation (NULL);
150 } 147 }
151} 148}
152 149