diff options
author | Ola Bini <ola@olabini.se> | 2015-10-05 14:31:10 -0500 |
---|---|---|
committer | Ola Bini <ola@olabini.se> | 2015-10-05 14:31:10 -0500 |
commit | 70de8d4bf86c430969bb314ba8590c00ce4dd374 (patch) | |
tree | 334c3e2bc05c3c7df212f526faf72b482c725d14 /src/test/rend_test_helpers.c | |
parent | ade5005853c17b3ae5923c194680442e0f86db4d (diff) | |
download | tor-70de8d4bf86c430969bb314ba8590c00ce4dd374.tar.gz tor-70de8d4bf86c430969bb314ba8590c00ce4dd374.zip |
Fix spaces and other smaller issues
Diffstat (limited to 'src/test/rend_test_helpers.c')
-rw-r--r-- | src/test/rend_test_helpers.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/test/rend_test_helpers.c b/src/test/rend_test_helpers.c index 06e40a0153..615ef7bd38 100644 --- a/src/test/rend_test_helpers.c +++ b/src/test/rend_test_helpers.c @@ -5,7 +5,8 @@ /** TODO: Description */ void -generate_desc(int time_diff, rend_encoded_v2_service_descriptor_t **desc, char **service_id, int intro_points) +generate_desc(int time_diff, rend_encoded_v2_service_descriptor_t **desc, + char **service_id, int intro_points) { rend_service_descriptor_t *generated = NULL; smartlist_t *descs = smartlist_new(); @@ -15,17 +16,18 @@ generate_desc(int time_diff, rend_encoded_v2_service_descriptor_t **desc, char * create_descriptor(&generated, service_id, intro_points); generated->timestamp = now; - rend_encode_v2_descriptors(descs, generated, now, 0, REND_NO_AUTH, NULL, NULL); + rend_encode_v2_descriptors(descs, generated, now, 0, REND_NO_AUTH, NULL, + NULL); *desc = ((rend_encoded_v2_service_descriptor_t *)smartlist_get(descs, 0)); smartlist_free(descs); rend_service_descriptor_free(generated); } - /** TODO: Description */ void -create_descriptor(rend_service_descriptor_t **generated, char **service_id, int intro_points) +create_descriptor(rend_service_descriptor_t **generated, char **service_id, + int intro_points) { crypto_pk_t *pk1 = NULL; crypto_pk_t *pk2 = NULL; |