diff options
author | irungentoo <irungentoo@gmail.com> | 2014-01-20 13:05:34 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-01-20 13:05:34 -0500 |
commit | 522f90fee138087db660dccc08413c53f388f604 (patch) | |
tree | c2059983a8c5a7c3a60e4c2e342aedf6dc2d5d7f /toxcore | |
parent | aff6b112c00a9bed01c1e030ede91ef9bc7753d6 (diff) |
Enabled onion in bootstrap_serverdaemon.
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/onion_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index 32928fd9..cfdd7254 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c | |||
@@ -509,7 +509,7 @@ static int handle_dht_fakeid(void *object, IP_Port source, uint8_t *source_pubke | |||
509 | 509 | ||
510 | if ((uint32_t)len != length - (DATA_IN_RESPONSE_MIN_SIZE + crypto_box_NONCEBYTES)) | 510 | if ((uint32_t)len != length - (DATA_IN_RESPONSE_MIN_SIZE + crypto_box_NONCEBYTES)) |
511 | return 1; | 511 | return 1; |
512 | 512 | ||
513 | if (memcpy(source_pubkey, packet, crypto_box_PUBLICKEYBYTES) != 0) | 513 | if (memcpy(source_pubkey, packet, crypto_box_PUBLICKEYBYTES) != 0) |
514 | return 1; | 514 | return 1; |
515 | 515 | ||