summaryrefslogtreecommitdiff
path: root/src/test/test_hs_descriptor.c
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2016-11-09 20:01:26 -0500
committerDavid Goulet <dgoulet@torproject.org>2016-11-10 11:00:50 -0500
commit9f74f8f732113ff1c63ed971e13229c523ed5a51 (patch)
tree42dfe33898fbf2632174a2a7e1aa33c82b0d9970 /src/test/test_hs_descriptor.c
parent0980787f91cfc420f02dead3fea99882ab8c2ada (diff)
downloadtor-9f74f8f732113ff1c63ed971e13229c523ed5a51.tar.gz
tor-9f74f8f732113ff1c63ed971e13229c523ed5a51.zip
Move encode_cert to torcert.c and rename it to tor_cert_encode_ed22519()
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_hs_descriptor.c')
-rw-r--r--src/test/test_hs_descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_hs_descriptor.c b/src/test/test_hs_descriptor.c
index 8af5cabca3..9749c3b096 100644
--- a/src/test/test_hs_descriptor.c
+++ b/src/test/test_hs_descriptor.c
@@ -254,7 +254,7 @@ test_cert_encoding(void *arg)
tt_assert(cert);
/* Test the certificate encoding function. */
- ret = encode_cert(cert, &encoded);
+ ret = tor_cert_encode_ed22519(cert, &encoded);
tt_int_op(ret, ==, 0);
/* Validated the certificate string. */