summaryrefslogtreecommitdiff
path: root/testing/DHT_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/DHT_test.c')
-rw-r--r--testing/DHT_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c
index 46e6ff7c..c994f543 100644
--- a/testing/DHT_test.c
+++ b/testing/DHT_test.c
@@ -52,13 +52,13 @@
52 52
53#define PORT 33445 53#define PORT 33445
54 54
55static uint8_t zeroes_cid[crypto_box_PUBLICKEYBYTES]; 55static uint8_t zeroes_cid[CRYPTO_PUBLIC_KEY_SIZE];
56 56
57static void print_client_id(uint8_t *public_key) 57static void print_client_id(uint8_t *public_key)
58{ 58{
59 uint32_t j; 59 uint32_t j;
60 60
61 for (j = 0; j < crypto_box_PUBLICKEYBYTES; j++) { 61 for (j = 0; j < CRYPTO_PUBLIC_KEY_SIZE; j++) {
62 printf("%02hhX", public_key[j]); 62 printf("%02hhX", public_key[j]);
63 } 63 }
64} 64}