aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r--src/transport/gnunet-service-transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index c117b06da..7ae560d71 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -3244,7 +3244,7 @@ send_periodic_ping (void *cls,
3244 } 3244 }
3245 va = GNUNET_malloc (sizeof (struct ValidationEntry) + peer_address->addrlen); 3245 va = GNUNET_malloc (sizeof (struct ValidationEntry) + peer_address->addrlen);
3246 va->transport_name = GNUNET_strdup (tp->short_name); 3246 va->transport_name = GNUNET_strdup (tp->short_name);
3247 va->challenge = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 3247 va->challenge = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_NONCE,
3248 UINT_MAX); 3248 UINT_MAX);
3249 va->send_time = GNUNET_TIME_absolute_get(); 3249 va->send_time = GNUNET_TIME_absolute_get();
3250 va->session = peer_address->session; 3250 va->session = peer_address->session;
@@ -3974,7 +3974,7 @@ run_validation (void *cls,
3974 va->chvc = chvc; 3974 va->chvc = chvc;
3975 chvc->ve_count++; 3975 chvc->ve_count++;
3976 va->transport_name = GNUNET_strdup (tname); 3976 va->transport_name = GNUNET_strdup (tname);
3977 va->challenge = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 3977 va->challenge = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_NONCE,
3978 UINT_MAX); 3978 UINT_MAX);
3979 va->send_time = GNUNET_TIME_absolute_get(); 3979 va->send_time = GNUNET_TIME_absolute_get();
3980 va->addr = (const void*) &va[1]; 3980 va->addr = (const void*) &va[1];