summaryrefslogtreecommitdiff
path: root/auto_tests/onion_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'auto_tests/onion_test.c')
-rw-r--r--auto_tests/onion_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/onion_test.c b/auto_tests/onion_test.c
index b12c6a3f..58fde2d6 100644
--- a/auto_tests/onion_test.c
+++ b/auto_tests/onion_test.c
@@ -342,7 +342,7 @@ _Bool first, last;
342uint8_t first_dht_pk[crypto_box_PUBLICKEYBYTES]; 342uint8_t first_dht_pk[crypto_box_PUBLICKEYBYTES];
343uint8_t last_dht_pk[crypto_box_PUBLICKEYBYTES]; 343uint8_t last_dht_pk[crypto_box_PUBLICKEYBYTES];
344 344
345static void dht_pk_callback(void *object, int32_t number, const uint8_t *dht_public_key) 345static void dht_pk_callback(void *object, int32_t number, const uint8_t *dht_public_key, void *userdata)
346{ 346{
347 if ((NUM_FIRST == number && !first) || (NUM_LAST == number && !last)) { 347 if ((NUM_FIRST == number && !first) || (NUM_LAST == number && !last)) {
348 Onions *on = object; 348 Onions *on = object;