diff options
Diffstat (limited to 'auto_tests/onion_test.c')
-rw-r--r-- | auto_tests/onion_test.c | 2 |
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; | |||
342 | uint8_t first_dht_pk[crypto_box_PUBLICKEYBYTES]; | 342 | uint8_t first_dht_pk[crypto_box_PUBLICKEYBYTES]; |
343 | uint8_t last_dht_pk[crypto_box_PUBLICKEYBYTES]; | 343 | uint8_t last_dht_pk[crypto_box_PUBLICKEYBYTES]; |
344 | 344 | ||
345 | static void dht_pk_callback(void *object, int32_t number, const uint8_t *dht_public_key) | 345 | static 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; |