summaryrefslogtreecommitdiff
path: root/src/test/test_hs_common.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-08-03 16:02:51 +0300
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commit5ca9b830eacf46acde56469e5f19f977e5f02668 (patch)
tree4f87ff9e3aa129bdd3423f78d44aed8a2f9bb1e6 /src/test/test_hs_common.c
parentf106af3c41dffdc8576c52399a61d34116b78f38 (diff)
downloadtor-5ca9b830eacf46acde56469e5f19f977e5f02668.tar.gz
tor-5ca9b830eacf46acde56469e5f19f977e5f02668.zip
Improve documentation all around the codebase.
Diffstat (limited to 'src/test/test_hs_common.c')
-rw-r--r--src/test/test_hs_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test_hs_common.c b/src/test/test_hs_common.c
index a5c499112e..60577a2a50 100644
--- a/src/test/test_hs_common.c
+++ b/src/test/test_hs_common.c
@@ -16,6 +16,7 @@
#include "hs_common.h"
#include "config.h"
+/** Test the validation of HS v3 addresses */
static void
test_validate_address(void *arg)
{
@@ -69,6 +70,7 @@ test_validate_address(void *arg)
;
}
+/** Test building HS v3 onion addresses */
static void
test_build_address(void *arg)
{
@@ -133,6 +135,7 @@ test_time_period(void *arg)
;
}
+/** Test that we can correctly find the start time of the next time period */
static void
test_start_time_of_next_time_period(void *arg)
{