summaryrefslogtreecommitdiff
path: root/src/test/test_tortls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_tortls.c')
-rw-r--r--src/test/test_tortls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c
index add020e9f4..52aba5a379 100644
--- a/src/test/test_tortls.c
+++ b/src/test/test_tortls.c
@@ -555,10 +555,10 @@ test_tortls_x509_cert_get_id_digests(void *ignored)
{
(void)ignored;
tor_x509_cert_t *cert;
- digests_t *d;
- const digests_t *res;
+ common_digests_t *d;
+ const common_digests_t *res;
cert = tor_malloc_zero(sizeof(tor_x509_cert_t));
- d = tor_malloc_zero(sizeof(digests_t));
+ d = tor_malloc_zero(sizeof(common_digests_t));
d->d[0][0] = 42;
res = tor_x509_cert_get_id_digests(cert);