aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_revocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_revocation.c')
-rw-r--r--src/gns/test_gns_revocation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/test_gns_revocation.c b/src/gns/test_gns_revocation.c
index 459a40c97..30fe5eb66 100644
--- a/src/gns/test_gns_revocation.c
+++ b/src/gns/test_gns_revocation.c
@@ -92,7 +92,7 @@ end_badly_now ()
92} 92}
93 93
94 94
95static void 95static void
96shutdown_task (void *cls, 96shutdown_task (void *cls,
97 const struct GNUNET_SCHEDULER_TaskContext *tc) 97 const struct GNUNET_SCHEDULER_TaskContext *tc)
98{ 98{
@@ -109,7 +109,7 @@ on_lookup_result(void *cls, uint32_t rd_count,
109 struct in_addr a; 109 struct in_addr a;
110 int i; 110 int i;
111 char* addr; 111 char* addr;
112 112
113 if (GNUNET_SCHEDULER_NO_TASK != die_task) 113 if (GNUNET_SCHEDULER_NO_TASK != die_task)
114 { 114 {
115 GNUNET_SCHEDULER_cancel (die_task); 115 GNUNET_SCHEDULER_cancel (die_task);
@@ -221,7 +221,7 @@ do_check (void *cls,
221 struct in_addr *web = GNUNET_malloc(sizeof(struct in_addr)); 221 struct in_addr *web = GNUNET_malloc(sizeof(struct in_addr));
222 rd.expiration_time = UINT64_MAX; 222 rd.expiration_time = UINT64_MAX;
223 GNUNET_assert(1 == inet_pton (AF_INET, ip, web)); 223 GNUNET_assert(1 == inet_pton (AF_INET, ip, web));
224 224
225 GNUNET_CRYPTO_short_hash(&bob_pkey, sizeof(bob_pkey), &bob_hash); 225 GNUNET_CRYPTO_short_hash(&bob_pkey, sizeof(bob_pkey), &bob_hash);
226 226
227 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 227 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);