diff options
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | src/transport/gnunet-service-transport.c | 4 |
2 files changed, 2 insertions, 4 deletions
@@ -8,8 +8,6 @@ | |||
8 | - provide block-lib compatible API in gnunet_dht_service.h | 8 | - provide block-lib compatible API in gnunet_dht_service.h |
9 | - eliminate continuations in DHT API (not needed, we have auto-retransmit!) | 9 | - eliminate continuations in DHT API (not needed, we have auto-retransmit!) |
10 | * CORE: | 10 | * CORE: |
11 | - dynamic IVs [Nils] | ||
12 | - use QUALITY_NONCE | ||
13 | - authentication of ciphertexts [Nils] | 11 | - authentication of ciphertexts [Nils] |
14 | - Jun 27 11:51:54 core-7670 ERROR Assertion failed at gnunet-service-core.c:3616. | 12 | - Jun 27 11:51:54 core-7670 ERROR Assertion failed at gnunet-service-core.c:3616. |
15 | (transport notified us that we connected to ourselves!!!) | 13 | (transport notified us that we connected to ourselves!!!) |
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]; |